1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[713],{60887:function(e,t,n){"use strict";n.d(t,{LB:function(){return eZ},g4:function(){return m},Lg:function(){return em},we:function(){return ex},pE:function(){return Z},ey:function(){return W},VK:function(){return Y},_8:function(){return B},hI:function(){return J},Cj:function(){return e$},O1:function(){return eq},Zj:function(){return eY},VT:function(){return D},Dy:function(){return T}});var r,i,o,a,s,l,u,c,d,f,h,p,g,m,v,y,w,b,x,C,E=n(67294),k=n(73935),_=n(24285);let A={display:"none"};function R(e){let{id:t,value:n}=e;return E.createElement("div",{id:t,style:A},n)}let S={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 j(e){let{id:t,announcement:n}=e;return E.createElement("div",{id:t,style:S,role:"status","aria-live":"assertive","aria-atomic":!0},n)}let M=(0,E.createContext)(null),P={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},L={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function I(e){let{announcements:t=L,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=P}=e,{announce:o,announcement:a}=function(){let[e,t]=(0,E.useState)(""),n=(0,E.useCallback)(e=>{null!=e&&t(e)},[]);return{announce:n,announcement:e}}(),s=(0,_.Ld)("DndLiveRegion"),[l,u]=(0,E.useState)(!1);if((0,E.useEffect)(()=>{u(!0)},[]),!function(e){let t=(0,E.useContext)(M);(0,E.useEffect)(()=>{if(!t)throw Error("useDndMonitor must be used within a children of <DndContext>");let n=t(e);return n},[e,t])}((0,E.useMemo)(()=>({onDragStart(e){let{active:n}=e;o(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&o(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;o(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;o(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;o(t.onDragCancel({active:n,over:r}))}}),[o,t])),!l)return null;let c=E.createElement(E.Fragment,null,E.createElement(R,{id:r,value:i.draggable}),E.createElement(j,{id:s,announcement:a}));return n?(0,k.createPortal)(c,n):c}function O(){}function D(e,t){return(0,E.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function T(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,E.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}(r=h||(h={})).DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable";let N=Object.freeze({x:0,y:0});function F(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function H(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function V(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function z(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function B(e,t){if(!e||0===e.length)return null;let[n]=e;return t?n[t]:n}function U(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}let Z=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=U(t,t.left,t.top),o=[];for(let a of r){let{id:s}=a,l=n.get(s);if(l){let u=F(U(l),i);o.push({id:s,data:{droppableContainer:a,value:u}})}}return o.sort(H)},W=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=z(t),o=[];for(let a of r){let{id:s}=a,l=n.get(s);
1if(l){let u=z(l),c=i.reduce((e,t,n)=>e+F(u[n],t),0),d=Number((c/4).toFixed(4));o.push({id:s,data:{droppableContainer:a,value:d}})}}return o.sort(H)},G=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let o of r){let{id:a}=o,s=n.get(a);if(s){let l=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height);if(r<i&&n<o){let a=t.width*t.height,s=e.width*e.height,l=(i-r)*(o-n);return Number((l/(a+s-l)).toFixed(4))}return 0}(s,t);l>0&&i.push({id:a,data:{droppableContainer:o,value:l}})}}return i.sort(V)};function q(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:N}let $=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>({...e,top:e.top+1*t.y,bottom:e.bottom+1*t.y,left:e.left+1*t.x,right:e.right+1*t.x}),{...e})},X={ignoreTransform:!1};function Y(e,t){void 0===t&&(t=X);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{getComputedStyle:r}=(0,_.Jj)(e),{transform:i,transformOrigin:o}=r(e);i&&(n=function(e,t,n){let r=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let n=e.slice(7,-1).split(/, /);return{x:+n[4],y:+n[5],scaleX:+n[0],scaleY:+n[3]}}return null}(t);if(!r)return e;let{scaleX:i,scaleY:o,x:a,y:s}=r,l=e.left-a-(1-i)*parseFloat(n),u=e.top-s-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),c=i?e.width/i:e.width,d=o?e.height/o:e.height;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l}}(n,i,o))}let{top:a,left:s,width:l,height:u,bottom:c,right:d}=n;return{top:a,left:s,width:l,height:u,bottom:c,right:d}}function K(e){return Y(e,{ignoreTransform:!0})}function J(e,t){let n=[];return e?function r(i){var o;if(null!=t&&n.length>=t||!i)return n;if((0,_.qk)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,_.Re)(i)||(0,_.vZ)(i)||n.includes(i))return n;let{getComputedStyle:a}=(0,_.Jj)(i),s=a(i);return(i!==e&&function(e,t){void 0===t&&(t=(0,_.Jj)(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let r=t[e];return"string"==typeof r&&n.test(r)})}(i,s)&&n.push(i),void 0===(o=s)&&(o=(0,_.Jj)(i).getComputedStyle(i)),"fixed"===o.position)?n:r(i.parentNode)}(e):n}function Q(e){let[t]=J(e,1);return null!=t?t:null}function ee(e){return _.Nq&&e?(0,_.FJ)(e)?e:(0,_.UG)(e)?(0,_.qk)(e)||e===(0,_.r3)(e).scrollingElement?window:(0,_.Re)(e)?e:null:null:null}function et(e){return(0,_.FJ)(e)?e.scrollX:e.scrollLeft}function en(e){return(0,_.FJ)(e)?e.scrollY:e.scrollTop}function er(e){return{x:et(e),y:en(e)}}function ei(e){return!!_.Nq&&!!e&&e===document.scrollingElement}function eo(e){let t={x:0,y:0},n=ei(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,o=e.scrollLeft<=t.x,a=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:i,isLeft:o,isBottom:a,isRight:s,maxScroll:r,minScroll:t}}(i=p||(p={}))[i.Forward=1]="Forward",i[i.Backward=-1]="Backward";let ea={x:.2,y:.2};function es(e){return e.reduce((e,t)=>(0,_.IH)(e,er(t)),N)}let el=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+et(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+en(t),0)}]];class eu{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=J(t),r=es(n);for(let[i,o,a]of(this.rect={...e},this.width=e.width,this.height=e.height,el))for(let s of o)Object.defineProperty(this,s,{get:()=>{let e=a(n),t=r[i]-e;return this.rect[s]+t},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ec{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function ed(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function ef(e){e.preventDefault()}function eh(e){e.stopPropagation()}(o=g||(g={})).Click="click",o.DragStart="dragstart",o.Keydown="keydown",o.ContextMenu="contextmenu",o.Resize="resize",o.SelectionChange="selectionchange",o.VisibilityChange="visibilitychange",(a=m||(m={})).Space="Space",a.Down="ArrowDown",a.Right="ArrowRight",a.Left="ArrowLeft",a.Up="ArrowUp",a.Esc="Escape",a.Enter="Enter";let ep={start:[m.Space,m.Enter],cancel:[m.Esc],end:[m.Space,m.Enter]},eg=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case m.Right:return{...n,x:n.x+25};case m.Left:return{...n,x:n.x-25};case m.Down:return{...n,y:n.y+25};case m.Up:return{...n,y:n.y-25}}};class em{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new ec((0,_.r3)(t)),this.windowListeners=new ec((0,_.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(g.Resize,this.handleCancel),this.windowListeners.add(g.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(g.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;
1n&&function(e,t){if(void 0===t&&(t=Y),!e)return;let{top:n,left:r,bottom:i,right:o}=t(e),a=Q(e);a&&(i<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(N)}handleKeyDown(e){if((0,_.vd)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=ep,coordinateGetter:o=eg,scrollBehavior:a="smooth"}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:l}=n.current,u=l?{x:l.left,y:l.top}:N;this.referenceCoordinates||(this.referenceCoordinates=u);let c=o(e,{active:t,context:n.current,currentCoordinates:u});if(c){let d=(0,_.$X)(c,u),f={x:0,y:0},{scrollableAncestors:h}=n.current;for(let p of h){let g=e.code,{isTop:v,isRight:y,isLeft:w,isBottom:b,maxScroll:x,minScroll:C}=eo(p),E=function(e){if(e===document.scrollingElement){let{innerWidth:t,innerHeight:n}=window;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}let{top:r,left:i,right:o,bottom:a}=e.getBoundingClientRect();return{top:r,left:i,right:o,bottom:a,width:e.clientWidth,height:e.clientHeight}}(p),k={x:Math.min(g===m.Right?E.right-E.width/2:E.right,Math.max(g===m.Right?E.left:E.left+E.width/2,c.x)),y:Math.min(g===m.Down?E.bottom-E.height/2:E.bottom,Math.max(g===m.Down?E.top:E.top+E.height/2,c.y))},A=g===m.Right&&!y||g===m.Left&&!w,R=g===m.Down&&!b||g===m.Up&&!v;if(A&&k.x!==c.x){let S=p.scrollLeft+d.x,j=g===m.Right&&S<=x.x||g===m.Left&&S>=C.x;if(j&&!d.y){p.scrollTo({left:S,behavior:a});return}j?f.x=p.scrollLeft-S:f.x=g===m.Right?p.scrollLeft-x.x:p.scrollLeft-C.x,f.x&&p.scrollBy({left:-f.x,behavior:a});break}if(R&&k.y!==c.y){let M=p.scrollTop+d.y,P=g===m.Down&&M<=x.y||g===m.Up&&M>=C.y;if(P&&!d.x){p.scrollTo({top:M,behavior:a});return}P?f.y=p.scrollTop-M:f.y=g===m.Down?p.scrollTop-x.y:p.scrollTop-C.y,f.y&&p.scrollBy({top:-f.y,behavior:a});break}}this.handleMove(e,(0,_.IH)((0,_.$X)(c,this.referenceCoordinates),f))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ev(e){return Boolean(e&&"distance"in e)}function ey(e){return Boolean(e&&"delay"in e)}em.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ep,onActivation:i}=t,{active:o}=n,{code:a}=e.nativeEvent;if(r.start.includes(a)){let s=o.activatorNode.current;return(!s||e.target===s)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class ew{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,_.Jj)(e);return e instanceof t?e:(0,_.r3)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:i}=e,{target:o}=i;this.props=e,this.events=t,this.document=(0,_.r3)(o),this.documentListeners=new ec(this.document),this.listeners=new ec(n),this.windowListeners=new ec((0,_.Jj)(o)),this.initialCoordinates=null!=(r=(0,_.DC)(i))?r:N,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(){let{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(g.Resize,this.handleCancel),this.windowListeners.add(g.DragStart,ef),this.windowListeners.add(g.VisibilityChange,this.handleCancel),this.windowListeners.add(g.ContextMenu,ef),this.documentListeners.add(g.Keydown,this.handleKeydown),t){if(ev(t))return;if(ey(t)){this.timeoutId=setTimeout(this.handleStart,t.delay);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(g.Click,eh,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(g.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:i}=this,{onMove:o,options:{activationConstraint:a}}=i;if(!r)return;let s=null!=(t=(0,_.DC)(e))?t:N,l=(0,_.$X)(r,s);if(!n&&a){if(ey(a))return ed(l,a.tolerance)?this.handleCancel():void 0;if(ev(a))return null!=a.tolerance&&ed(l,a.tolerance)?this.handleCancel():ed(l,a.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),o(s)}handleEnd(){let{onEnd:e}=this.props;this.detach(),e()}handleCancel(){let{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===m.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let eb={move:{name:"pointermove"},end:{name:"pointerup"}};class ex extends ew{constructor(e){let{event:t}=e,n=(0,_.r3)(t.target);super(e,eb,n)}}ex.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}],(s=v||(v={}))[s.RightClick=2]="RightClick",(l=y||(y={}))[l.Pointer=0]="Pointer",l[l.DraggableRect=1]="DraggableRect",(u=w||(w={}
1))[u.TreeOrder=0]="TreeOrder",u[u.ReversedTreeOrder=1]="ReversedTreeOrder";let eC={x:{[p.Backward]:!1,[p.Forward]:!1},y:{[p.Backward]:!1,[p.Forward]:!1}};(c=b||(b={}))[c.Always=0]="Always",c[c.BeforeDragging=1]="BeforeDragging",c[c.WhileDragging=2]="WhileDragging",(x||(x={})).Optimized="optimized";let eE=new Map;function ek(e,t){return(0,_.Gj)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function e_(e){let{callback:t,disabled:n}=e,r=(0,_.zX)(t),i=(0,E.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,E.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function eA(e){return new eu(Y(e),e)}function eR(e,t,n){void 0===t&&(t=eA);let[r,i]=(0,E.useReducer)(function(r){if(!e)return null;if(!1===e.isConnected){var i;return null!=(i=null!=r?r:n)?i:null}let o=t(e);return JSON.stringify(r)===JSON.stringify(o)?r:o},null),o=function(e){let{callback:t,disabled:n}=e,r=(0,_.zX)(t),i=(0,E.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,E.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(t){if(e)for(let n of t){let{type:r,target:o}=n;if("childList"===r&&o instanceof HTMLElement&&o.contains(e)){i();break}}}}),a=e_({callback:i});return(0,_.LI)(()=>{i(),e?(null==a||a.observe(e),null==o||o.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==o||o.disconnect())},[e]),r}let eS=[];function ej(e,t){void 0===t&&(t=[]);let n=(0,E.useRef)(null);return(0,E.useEffect)(()=>{n.current=null},t),(0,E.useEffect)(()=>{let t=e!==N;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,_.$X)(e,n.current):N}function eM(e){return(0,E.useMemo)(()=>e?function(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}let eP=[],eL=[{sensor:ex,options:{}},{sensor:em,options:{}}],eI={current:{}},eO={draggable:{measure:K},droppable:{measure:K,strategy:b.WhileDragging,frequency:x.Optimized},dragOverlay:{measure:Y}};class eD extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}let eT={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new eD,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:O},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:eO,measureDroppableContainers:O,windowRect:null,measuringScheduled:!1},eN={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:O,draggableNodes:new Map,over:null,measureDroppableContainers:O},eF=(0,E.createContext)(eN),eH=(0,E.createContext)(eT);function eV(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new eD}}}function ez(e,t){switch(t.type){case h.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case h.DragMove:if(!e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case h.DragEnd:case h.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new eD(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case h.SetDroppableDisabled:{let{id:o,key:a,disabled:s}=t,l=e.droppable.containers.get(o);if(!l||a!==l.key)return e;let u=new eD(e.droppable.containers);return u.set(o,{...l,disabled:s}),{...e,droppable:{...e.droppable,containers:u}}}case h.UnregisterDroppable:{let{id:c,key:d}=t,f=e.droppable.containers.get(c);if(!f||d!==f.key)return e;
1let p=new eD(e.droppable.containers);return p.delete(c),{...e,droppable:{...e.droppable,containers:p}}}default:return e}}function eB(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,E.useContext)(eF),o=(0,_.D9)(r),a=(0,_.D9)(null==n?void 0:n.id);return(0,E.useEffect)(()=>{if(!t&&!r&&o&&null!=a){if(!(0,_.vd)(o)||document.activeElement===o.target)return;let e=i.get(a);if(!e)return;let{activatorNode:n,node:s}=e;(n.current||s.current)&&requestAnimationFrame(()=>{for(let e of[n.current,s.current]){if(!e)continue;let t=(0,_.so)(e);if(t){t.focus();break}}})}},[r,t,i,a,o]),null}let eU=(0,E.createContext)({...N,scaleX:1,scaleY:1});(d=C||(C={}))[d.Uninitialized=0]="Uninitialized",d[d.Initializing=1]="Initializing",d[d.Initialized=2]="Initialized";let eZ=(0,E.memo)(function(e){var t,n,r,i,o;let{id:a,accessibility:s,autoScroll:l=!0,children:u,sensors:c=eL,collisionDetection:d=G,measuring:f,modifiers:g,...m}=e,v=(0,E.useReducer)(ez,void 0,eV),[x,A]=v,[R,S]=function(){let[e]=(0,E.useState)(()=>new Set),t=(0,E.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]),n=(0,E.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]);return[n,t]}(),[j,P]=(0,E.useState)(C.Uninitialized),L=j===C.Initialized,{draggable:{active:O,nodes:D,translate:T},droppable:{containers:F}}=x,H=O?D.get(O):null,V=(0,E.useRef)({initial:null,translated:null}),z=(0,E.useMemo)(()=>{var e;return null!=O?{id:O,data:null!=(e=null==H?void 0:H.data)?e:eI,rect:V}:null},[O,H]),U=(0,E.useRef)(null),[Z,W]=(0,E.useState)(null),[X,K]=(0,E.useState)(null),et=(0,_.Ey)(m,Object.values(m)),en=(0,_.Ld)("DndDescribedBy",a),el=(0,E.useMemo)(()=>F.getEnabled(),[F]),ec=(0,E.useMemo)(()=>({draggable:{...eO.draggable,...null==f?void 0:f.draggable},droppable:{...eO.droppable,...null==f?void 0:f.droppable},dragOverlay:{...eO.dragOverlay,...null==f?void 0:f.dragOverlay}}),[null==f?void 0:f.draggable,null==f?void 0:f.droppable,null==f?void 0:f.dragOverlay]),{droppableRects:ed,measureDroppableContainers:ef,measuringScheduled:eh}=function(e,t){let{dragging:n,dependencies:r,config:i}=t,[o,a]=(0,E.useState)(null),{frequency:s,measure:l,strategy:u}=i,c=(0,E.useRef)(e),d=function(){switch(u){case b.Always:return!1;case b.BeforeDragging:return n;default:return!n}}(),f=(0,_.Ey)(d),h=(0,E.useCallback)(function(e){void 0===e&&(e=[]),f.current||a(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),p=(0,E.useRef)(null),g=(0,_.Gj)(t=>{if(d&&!n)return eE;if(!t||t===eE||c.current!==e||null!=o){let r=new Map;for(let i of e){if(!i)continue;if(o&&o.length>0&&!o.includes(i.id)&&i.rect.current){r.set(i.id,i.rect.current);continue}let a=i.node.current,s=a?new eu(l(a),a):null;i.rect.current=s,s&&r.set(i.id,s)}return r}return t},[e,o,n,d,l]);return(0,E.useEffect)(()=>{c.current=e},[e]),(0,E.useEffect)(()=>{d||h()},[n,d]),(0,E.useEffect)(()=>{o&&o.length>0&&a(null)},[JSON.stringify(o)]),(0,E.useEffect)(()=>{d||"number"!=typeof s||null!==p.current||(p.current=setTimeout(()=>{h(),p.current=null},s))},[s,d,h,...r]),{droppableRects:g,measureDroppableContainers:h,measuringScheduled:null!=o}}(el,{dragging:L,dependencies:[T.x,T.y],config:ec.droppable}),ep=function(e,t){let n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return(0,_.Gj)(e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(D,O),eg=(0,E.useMemo)(()=>X?(0,_.DC)(X):null,[X]),em=function(){let e=(null==Z?void 0:Z.autoScrollEnabled)===!1,t="object"==typeof l?!1===l.enabled:!1===l,n=L&&!e&&!t;return"object"==typeof l?{...l,enabled:n}:{enabled:n}}(),ev=ek(ep,ec.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,o=(0,E.useRef)(!1),{x:a,y:s}="boolean"==typeof i?{x:i,y:i}:i;(0,_.LI)(()=>{if(!a&&!s||!t){o.current=!1;return}if(o.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let i=n(e),l=q(i,r);if(a||(l.x=0),s||(l.y=0),o.current=!0,Math.abs(l.x)>0||Math.abs(l.y)>0){let u=Q(e);u&&u.scrollBy({top:l.y,left:l.x})}},[t,a,s,r,n])}({activeNode:O?D.get(O):null,config:em.layoutShiftCompensation,initialRect:ev,measure:ec.draggable.measure});let ey=eR(ep,ec.draggable.measure,ev),ew=eR(ep?ep.parentElement:null),eb=(0,E.useRef)({activatorEvent:null,active:null,activeNode:ep,collisionRect:null,collisions:null,droppableRects:ed,draggableNodes:D,draggingNode:null,draggingNodeRect:null,droppableContainers:F,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ex=F.getNodeFor(null==(t=eb.current.over)?void 0:t.id),eA=function(e){let{measure:t}=e,[n,r]=(0,E.useState)(null),i=(0,E.useCallback)(e=>{for(let{target:n}of e)if((0,_.Re)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t]),o=e_({callback:i}),a=(0,E.useCallback)(e=>{let n=function(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,_.Re)(t)?t:e}(e);null==o||o.disconnect(),n&&(null==o||o.observe(n)),r(n?t(n):null)}
1,[t,o]),[s,l]=(0,_.wm)(a);return(0,E.useMemo)(()=>({nodeRef:s,rect:n,setRef:l}),[n,s,l])}({measure:ec.dragOverlay.measure}),eD=null!=(n=eA.nodeRef.current)?n:ep,eT=L?null!=(r=eA.rect)?r:ey:null,eN=Boolean(eA.nodeRef.current&&eA.rect),eZ=function(e){let t=ek(e);return q(e,t)}(eN?null:ey),eW=eM(eD?(0,_.Jj)(eD):null),eG=function(e){let t=(0,E.useRef)(e),n=(0,_.Gj)(n=>e?n&&n!==eS&&e&&t.current&&e.parentNode===t.current.parentNode?n:J(e):eS,[e]);return(0,E.useEffect)(()=>{t.current=e},[e]),n}(L?null!=ex?ex:ep:null),eq=function(e,t){void 0===t&&(t=Y);let[n]=e,r=eM(n?(0,_.Jj)(n):null),[i,o]=(0,E.useReducer)(function(){return e.length?e.map(e=>ei(e)?r:new eu(t(e),e)):eP},eP),a=e_({callback:o});return e.length>0&&i===eP&&o(),(0,_.LI)(()=>{e.length?e.forEach(e=>null==a?void 0:a.observe(e)):(null==a||a.disconnect(),o())},[e]),i}(eG),e$=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}(g,{transform:{x:T.x-eZ.x,y:T.y-eZ.y,scaleX:1,scaleY:1},activatorEvent:X,active:z,activeNodeRect:ey,containerNodeRect:ew,draggingNodeRect:eT,over:eb.current.over,overlayNodeRect:eA.rect,scrollableAncestors:eG,scrollableAncestorRects:eq,windowRect:eW}),eX=eg?(0,_.IH)(eg,T):null,eY=function(e){let[t,n]=(0,E.useState)(null),r=(0,E.useRef)(e),i=(0,E.useCallback)(e=>{let t=ee(e.target);t&&n(e=>e?(e.set(t,er(t)),new Map(e)):null)},[]);return(0,E.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=ee(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,er(t)]):null}).filter(e=>null!=e);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{let t=ee(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,E.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,_.IH)(e,t),N):es(e):N,[e,t])}(eG),eK=ej(eY),eJ=ej(eY,[ey]),eQ=(0,_.IH)(e$,eK),e1=eT?$(eT,e$):null,e0=z&&e1?d({active:z,collisionRect:e1,droppableRects:ed,droppableContainers:el,pointerCoordinates:eX}):null,e5=B(e0,"id"),[e2,e8]=(0,E.useState)(null),e3=eN?e$:(0,_.IH)(e$,eJ),e4=(o=null!=(i=null==e2?void 0:e2.rect)?i:null,{...e3,scaleX:o&&ey?o.width/ey.width:1,scaleY:o&&ey?o.height/ey.height:1}),e6=(0,E.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==U.current)return;let i=D.get(U.current);if(!i)return;let o=e.nativeEvent,a=new n({active:U.current,activeNode:i,event:o,options:r,context:eb,onStart(e){let t=U.current;if(null==t)return;let n=D.get(t);if(!n)return;let{onDragStart:r}=et.current,i={active:{id:t,data:n.data,rect:V}};(0,k.unstable_batchedUpdates)(()=>{null==r||r(i),P(C.Initializing),A({type:h.DragStart,initialCoordinates:e,active:t}),R({type:"onDragStart",event:i})})},onMove(e){A({type:h.DragMove,coordinates:e})},onEnd:s(h.DragEnd),onCancel:s(h.DragCancel)});function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=eb.current,a=null;if(t&&i){let{cancelDrop:s}=et.current;if(a={activatorEvent:o,active:t,collisions:n,delta:i,over:r},e===h.DragEnd&&"function"==typeof s){let l=await Promise.resolve(s(a));l&&(e=h.DragCancel)}}U.current=null,(0,k.unstable_batchedUpdates)(()=>{A({type:e}),P(C.Uninitialized),e8(null),W(null),K(null);let t=e===h.DragEnd?"onDragEnd":"onDragCancel";if(a){let n=et.current[t];null==n||n(a),R({type:t,event:a})}})}}(0,k.unstable_batchedUpdates)(()=>{W(a),K(e.nativeEvent)})},[D]),e7=(0,E.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,o=D.get(r);if(null!==U.current||!o||i.dndKit||i.defaultPrevented)return;let a=e(n,t.options,{active:o});!0===a&&(i.dndKit={capturedBy:t.sensor},U.current=r,e6(n,t))},[D,e6]),e9=(0,E.useMemo)(()=>c.reduce((e,t)=>{let{sensor:n}=t,r=n.activators.map(e=>({eventName:e.eventName,handler:e7(e.handler,t)}));return[...e,...r]},[]),[c,e7]);(0,E.useEffect)(()=>{if(!_.Nq)return;let e=c.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},c.map(e=>{let{sensor:t}=e;return t})),(0,_.LI)(()=>{ey&&j===C.Initializing&&P(C.Initialized)},[ey,j]),(0,E.useEffect)(()=>{let{onDragMove:e}=et.current,{active:t,activatorEvent:n,collisions:r,over:i}=eb.current;if(!t||!n)return;let o={active:t,activatorEvent:n,collisions:r,delta:{x:eQ.x,y:eQ.y},over:i};(0,k.unstable_batchedUpdates)(()=>{null==e||e(o),R({type:"onDragMove",event:o})})},[eQ.x,eQ.y]),(0,E.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=eb.current;if(!e||null==U.current||!t||!i)return;let{onDragOver:o}=et.current,a=r.get(e5),s=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,l={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,k.unstable_batchedUpdates)(()=>{e8(s),null==o||o(l),R({type:"onDragOver",event:l})})},[e5]),(0,_.LI)(()=>{eb.current={activatorEvent:X,active:z,activeNode:ep,collisionRect:e1,collisions:e0,droppableRects:ed,draggableNodes:D,draggingNode:eD,draggingNodeRect:eT,droppableContainers:F,over:e2,scrollableAncestors:eG,scrollAdjustedTranslate:eQ},V.current={initial:eT,translated:e1}},[z,ep,e0,e1,D,eD,eT,ed,F,e2,eG,eQ]),function(e){let{acceleration:t,activator:n=y.Pointer,canScroll:r,draggingRect:i,enabled:o,interval:a=5,order:s=w.TreeOrder,pointerCoordinates:l,scrollableAncestors:u,scrollableAncestorRects:c,delta:d,threshold:f}=e,h=function(e){let{delta:t,disabled:n}=e,r=(0,_.D9)(t);return(0,_.Gj)(e=>{if(n||!r||!e)return eC;
1let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[p.Backward]:e.x[p.Backward]||-1===i.x,[p.Forward]:e.x[p.Forward]||1===i.x},y:{[p.Backward]:e.y[p.Backward]||-1===i.y,[p.Forward]:e.y[p.Forward]||1===i.y}}},[n,t,r])}({delta:d,disabled:!o}),[g,m]=(0,_.Yz)(),v=(0,E.useRef)({x:0,y:0}),b=(0,E.useRef)({x:0,y:0}),x=(0,E.useMemo)(()=>{switch(n){case y.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case y.DraggableRect:return i}},[n,i,l]),C=(0,E.useRef)(null),k=(0,E.useCallback)(()=>{let e=C.current;if(!e)return;let t=v.current.x*b.current.x,n=v.current.y*b.current.y;e.scrollBy(t,n)},[]),A=(0,E.useMemo)(()=>s===w.TreeOrder?[...u].reverse():u,[s,u]);(0,E.useEffect)(()=>{if(!o||!u.length||!x){m();return}for(let e of A){if((null==r?void 0:r(e))===!1)continue;let n=u.indexOf(e),i=c[n];if(!i)continue;let{direction:s,speed:l}=function(e,t,n,r,i){let{top:o,left:a,right:s,bottom:l}=n;void 0===r&&(r=10),void 0===i&&(i=ea);let{isTop:u,isBottom:c,isLeft:d,isRight:f}=eo(e),h={x:0,y:0},g={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!u&&o<=t.top+m.height?(h.y=p.Backward,g.y=r*Math.abs((t.top+m.height-o)/m.height)):!c&&l>=t.bottom-m.height&&(h.y=p.Forward,g.y=r*Math.abs((t.bottom-m.height-l)/m.height)),!f&&s>=t.right-m.width?(h.x=p.Forward,g.x=r*Math.abs((t.right-m.width-s)/m.width)):!d&&a<=t.left+m.width&&(h.x=p.Backward,g.x=r*Math.abs((t.left+m.width-a)/m.width)),{direction:h,speed:g}}(e,i,x,t,f);for(let d of["x","y"])h[d][s[d]]||(l[d]=0,s[d]=0);if(l.x>0||l.y>0){m(),C.current=e,g(k,a),v.current=l,b.current=s;return}}v.current={x:0,y:0},b.current={x:0,y:0},m()},[t,k,r,m,o,a,JSON.stringify(x),JSON.stringify(h),g,u,A,c,JSON.stringify(f)])}({...em,delta:T,draggingRect:e1,pointerCoordinates:eX,scrollableAncestors:eG,scrollableAncestorRects:eq});let te=(0,E.useMemo)(()=>({active:z,activeNode:ep,activeNodeRect:ey,activatorEvent:X,collisions:e0,containerNodeRect:ew,dragOverlay:eA,draggableNodes:D,droppableContainers:F,droppableRects:ed,over:e2,measureDroppableContainers:ef,scrollableAncestors:eG,scrollableAncestorRects:eq,measuringConfiguration:ec,measuringScheduled:eh,windowRect:eW}),[z,ep,ey,X,e0,ew,eA,D,F,ed,e2,ef,eG,eq,ec,eh,eW]),tt=(0,E.useMemo)(()=>({activatorEvent:X,activators:e9,active:z,activeNodeRect:ey,ariaDescribedById:{draggable:en},dispatch:A,draggableNodes:D,over:e2,measureDroppableContainers:ef}),[X,e9,z,ey,A,en,D,e2,ef]);return E.createElement(M.Provider,{value:S},E.createElement(eF.Provider,{value:tt},E.createElement(eH.Provider,{value:te},E.createElement(eU.Provider,{value:e4},u)),E.createElement(eB,{disabled:(null==s?void 0:s.restoreFocus)===!1})),E.createElement(I,{...s,hiddenTextDescribedById:en}))}),eW=(0,E.createContext)(null),eG="button";function eq(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,o=(0,_.Ld)("Droppable"),{activators:a,activatorEvent:s,active:l,activeNodeRect:u,ariaDescribedById:c,draggableNodes:d,over:f}=(0,E.useContext)(eF),{role:h=eG,roleDescription:p="draggable",tabIndex:g=0}=null!=i?i:{},m=(null==l?void 0:l.id)===t,v=(0,E.useContext)(m?eU:eW),[y,w]=(0,_.wm)(),[b,x]=(0,_.wm)(),C=(0,E.useMemo)(()=>a.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[a,t]),k=(0,_.Ey)(n);(0,_.LI)(()=>(d.set(t,{id:t,key:o,node:y,activatorNode:b,data:k}),()=>{let e=d.get(t);e&&e.key===o&&d.delete(t)}),[d,t]);let A=(0,E.useMemo)(()=>({role:h,tabIndex:g,"aria-disabled":r,"aria-pressed":!!m&&h===eG||void 0,"aria-roledescription":p,"aria-describedby":c.draggable}),[r,h,g,m,p,c.draggable]);return{active:l,activatorEvent:s,activeNodeRect:u,attributes:A,isDragging:m,listeners:r?void 0:C,node:y,over:f,setNodeRef:w,setActivatorNodeRef:x,transform:v}}function e$(){return(0,E.useContext)(eH)}let eX={timeout:25};function eY(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,o=(0,_.Ld)("Droppable"),{active:a,dispatch:s,over:l,measureDroppableContainers:u}=(0,E.useContext)(eF),c=(0,E.useRef)({disabled:n}),d=(0,E.useRef)(!1),f=(0,E.useRef)(null),p=(0,E.useRef)(null),{disabled:g,updateMeasurementsFor:m,timeout:v}={...eX,...i},y=(0,_.Ey)(null!=m?m:r),w=(0,E.useCallback)(()=>
1{if(!d.current){d.current=!0;return}null!=p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{u(Array.isArray(y.current)?y.current:[y.current]),p.current=null},v)},[v]),b=e_({callback:w,disabled:g||!a}),x=(0,E.useCallback)((e,t)=>{b&&(t&&(b.unobserve(t),d.current=!1),e&&b.observe(e))},[b]),[C,k]=(0,_.wm)(x),A=(0,_.Ey)(t);return(0,E.useEffect)(()=>{b&&C.current&&(b.disconnect(),d.current=!1,b.observe(C.current))},[C,b]),(0,_.LI)(()=>(s({type:h.RegisterDroppable,element:{id:r,key:o,disabled:n,node:C,rect:f,data:A}}),()=>s({type:h.UnregisterDroppable,key:o,id:r})),[r]),(0,E.useEffect)(()=>{n!==c.current.disabled&&(s({type:h.SetDroppableDisabled,id:r,key:o,disabled:n}),c.current.disabled=n)},[r,o,n,s]),{active:a,rect:f,isOver:(null==l?void 0:l.id)===r,node:C,over:l,setNodeRef:k}}f={styles:{active:{opacity:"0"}}},e=>{let{active:t,dragOverlay:n}=e,r={},{styles:i,className:o}=f;if(null!=i&&i.active)for(let[a,s]of Object.entries(i.active))void 0!==s&&(r[a]=t.node.style.getPropertyValue(a),t.node.style.setProperty(a,s));if(null!=i&&i.dragOverlay)for(let[l,u]of Object.entries(i.dragOverlay))void 0!==u&&n.node.style.setProperty(l,u);return null!=o&&o.active&&t.node.classList.add(o.active),null!=o&&o.dragOverlay&&n.node.classList.add(o.dragOverlay),function(){for(let[e,n]of Object.entries(r))t.node.style.setProperty(e,n);null!=o&&o.active&&t.node.classList.remove(o.active)}}},32339:function(e,t,n){"use strict";n.d(t,{DL:function(){return i},K7:function(){return r}}),n(24285);let r=e=>{let{transform:t}=e;return{...t,y:0}},i=e=>{let{transform:t}=e;return{...t,x:0}}},45587:function(e,t,n){"use strict";n.d(t,{Fo:function(){return g},PG:function(){return u},is:function(){return _},nB:function(){return C},qw:function(){return f}});var r=n(67294),i=n(60887),o=n(24285);function a(e,t,n){let r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function s(e){return null!==e&&e>=0}let l={scaleX:1,scaleY:1},u=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:i,overIndex:o,index:a}=e,s=null!=(t=n[i])?t:r;if(!s)return null;let u=function(e,t,n){let r=e[t],i=e[t-1],o=e[t+1];return r&&(i||o)?n<t?i?r.left-(i.left+i.width):o.left-(r.left+r.width):o?o.left-(r.left+r.width):r.left-(i.left+i.width):0}(n,a,i);if(a===i){let c=n[o];return c?{x:i<o?c.left+c.width-(s.left+s.width):c.left-s.left,y:0,...l}:null}return a>i&&a<=o?{x:-s.width-u,y:0,...l}:a<i&&a>=o?{x:s.width+u,y:0,...l}:{x:0,y:0,...l}},c=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e,o=a(t,r,n),s=t[i],l=o[i];return l&&s?{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}:null},d={scaleX:1,scaleY:1},f=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:i,rects:o,overIndex:a}=e,s=null!=(t=o[n])?t:r;if(!s)return null;if(i===n){let l=o[a];return l?{x:0,y:n<a?l.top+l.height-(s.top+s.height):l.top-s.top,...d}:null}let u=function(e,t,n){let r=e[t],i=e[t-1],o=e[t+1];return r?n<t?i?r.top-(i.top+i.height):o?o.top-(r.top+r.height):0:o?o.top-(r.top+r.height):i?r.top-(i.top+i.height):0:0}(o,i,n);return i>n&&i<=a?{x:0,y:-s.height-u,...d}:i<n&&i>=a?{x:0,y:s.height+u,...d}:{x:0,y:0,...d}},h="Sortable",p=r.createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:c,disabled:{draggable:!1,droppable:!1}});function g(e){let{children:t,id:n,items:a,strategy:s=c,disabled:l=!1}=e,{active:u,dragOverlay:d,droppableRects:f,over:g,measureDroppableContainers:m}=(0,i.Cj)(),v=(0,o.Ld)(h,n),y=Boolean(null!==d.rect),w=(0,r.useMemo)(()=>a.map(e=>"object"==typeof e&&"id"in e?e.id:e),[a]),b=null!=u,x=u?w.indexOf(u.id):-1,C=g?w.indexOf(g.id):-1,E=(0,r.useRef)(w),k=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(w,E.current),_=-1!==C&&-1===x||k,A="boolean"==typeof l?{draggable:l,droppable:l}:l;(0,o.LI)(()=>{k&&b&&m(w)},[k,w,b,m]),(0,r.useEffect)(()=>{E.current=w},[w]);let R=(0,r.useMemo)(()=>({activeIndex:x,containerId:v,disabled:A,disableTransforms:_,items:w,overIndex:C,useDragOverlay:y,sortedRects:w.reduce((e,t,n)=>{let r=f.get(t);return r&&(e[n]=r),e},Array(w.length)),strategy:s}),[x,v,A.draggable,A.droppable,_,w,C,f,y,s]);return r.createElement(p.Provider,{value:R},t)}let m=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return a(n,r,i).indexOf(t)},v=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:o,newIndex:a,previousItems:s,previousContainerId:l,transition:u}=e;return!!u&&!!r&&(s===o||i!==a)&&(!!n||a!==i&&t===l)},y={duration:200,easing:"ease"},w="transform",b=o.ux.Transition.toString({property:w,duration:0,easing:"linear"}),x={roleDescription:"sortable"};function C(e){var t,n;let{animateLayoutChanges:a=v,attributes:l,disabled:u,data:c,getNewIndex:d=m,id:f,strategy:h,resizeObserverConfig:g,transition:C=y}=e,{items:E,containerId:k,activeIndex:_,disabled:A,disableTransforms:R,sortedRects:S,overIndex:j,useDragOverlay:M,strategy:P}=(0,r.useContext)(p),L="boolean"==typeof u?{draggable:u,droppable:!1}:{draggable:null!=(t=null==u?void 0:u.draggable)?t:A.draggable,droppable:null!=(n=null==u?void 0:u.droppable)?n:A.droppable},I=E.indexOf(f),O=(0,r.useMemo)(()=>({sortable:{containerId:k,index:I,items:E},...c}),[k,c,I,E]),D=(0,r.useMemo)(()=>E.slice(E.indexOf(f)),[E,f]),{rect:T,node:N,isOver:F,setNodeRef:H}=(0,i.Zj)({id:f,data:O,disabled:L.droppable,resizeObserverConfig:{updateMeasurementsFor:D,...g}}),{active:V,activatorEvent:z,activeNodeRect:B,attributes:U,setNodeRef:Z,listeners:W,isDragging:G,over:q,setActivatorNodeRef:$,transform:X}=(0,i.O1)({id:f,data:O,attributes:{...x,...l},disabled:L.draggable}),Y=(0,o.HB)(H,Z),K=Boolean(V),J=K&&!R&&s(_)&&s(j),Q=!M&&G,ee=Q&&J?X:null,et=J?null!=ee?ee:(null!=h?h:P)({rects:S,activeNodeRect:B,activeIndex:_,overIndex:j,index:I}):null,en=s(_)&&s(j)?d({id:f,items:E,activeIndex:_,overIndex:j}):I,er=null==V?void 0:V.id,ei=(0,r.useRef)({activeId:er,items:E,newIndex:en,containerId:k}),eo=E!==ei.current.items,ea=a({active:V,containerId:k,isDragging:G,
1isSorting:K,id:f,index:I,items:E,newIndex:ei.current.newIndex,previousItems:ei.current.items,previousContainerId:ei.current.containerId,transition:C,wasDragging:null!=ei.current.activeId}),es=function(e){let{disabled:t,index:n,node:a,rect:s}=e,[l,u]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,o.LI)(()=>{if(!t&&n!==c.current&&a.current){let e=s.current;if(e){let r=(0,i.VK)(a.current,{ignoreTransform:!0}),o={x:e.left-r.left,y:e.top-r.top,scaleX:e.width/r.width,scaleY:e.height/r.height};(o.x||o.y)&&u(o)}}n!==c.current&&(c.current=n)},[t,n,a,s]),(0,r.useEffect)(()=>{l&&u(null)},[l]),l}({disabled:!ea,index:I,node:N,rect:T});return(0,r.useEffect)(()=>{K&&ei.current.newIndex!==en&&(ei.current.newIndex=en),k!==ei.current.containerId&&(ei.current.containerId=k),E!==ei.current.items&&(ei.current.items=E)},[K,en,k,E]),(0,r.useEffect)(()=>{if(er===ei.current.activeId)return;if(er&&!ei.current.activeId){ei.current.activeId=er;return}let e=setTimeout(()=>{ei.current.activeId=er},50);return()=>clearTimeout(e)},[er]),{active:V,activeIndex:_,attributes:U,data:O,rect:T,index:I,newIndex:en,items:E,isOver:F,isSorting:K,isDragging:G,listeners:W,node:N,overIndex:j,over:q,setNodeRef:Y,setActivatorNodeRef:$,setDroppableNodeRef:H,setDraggableNodeRef:Z,transform:null!=es?es:et,transition:es||eo&&ei.current.newIndex===I?b:(!Q||(0,o.vd)(z))&&C&&(K||ea)?o.ux.Transition.toString({...C,property:w}):void 0}}function E(e){if(!e)return!1;let t=e.data.current;return!!t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable}let k=[i.g4.Down,i.g4.Right,i.g4.Up,i.g4.Left],_=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:s,over:l,scrollableAncestors:u}}=t;if(k.includes(e.code)){if(e.preventDefault(),!n||!r)return;let c=[];s.getEnabled().forEach(t=>{if(!t||null!=t&&t.disabled)return;let n=a.get(t.id);if(n)switch(e.code){case i.g4.Down:r.top<n.top&&c.push(t);break;case i.g4.Up:r.top>n.top&&c.push(t);break;case i.g4.Left:r.left>n.left&&c.push(t);break;case i.g4.Right:r.left<n.left&&c.push(t)}});let d=(0,i.ey)({active:n,collisionRect:r,droppableRects:a,droppableContainers:c,pointerCoordinates:null}),f=(0,i._8)(d,"id");if(f===(null==l?void 0:l.id)&&d.length>1&&(f=d[1].id),null!=f){let h=s.get(n.id),p=s.get(f),g=p?a.get(p.id):null,m=null==p?void 0:p.node.current;if(m&&g&&h&&p){let v=(0,i.hI)(m),y=v.some((e,t)=>u[t]!==e),w=A(h,p),b=!!(E(h)&&E(p)&&A(h,p))&&h.data.current.sortable.index<p.data.current.sortable.index,x=y||!w?{x:0,y:0}:{x:b?r.width-g.width:0,y:b?r.height-g.height:0},C={x:g.left,y:g.top},_=x.x&&x.y?C:(0,o.$X)(C,x);return _}}}};function A(e,t){return!!(E(e)&&E(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},24285:function(e,t,n){"use strict";n.d(t,{$X:function(){return k},D9:function(){return w},DC:function(){return A},Ey:function(){return m},FJ:function(){return a},Gj:function(){return v},HB:function(){return i},IH:function(){return E},Jj:function(){return l},LI:function(){return h},Ld:function(){return x},Nq:function(){return o},Re:function(){return c},UG:function(){return s},Yz:function(){return g},qk:function(){return u},r3:function(){return f},so:function(){return j},ux:function(){return R},vZ:function(){return d},vd:function(){return _},wm:function(){return y},zX:function(){return p}});var r=n(67294);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}let o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function l(e){var t,n;return e?a(e)?e:s(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function u(e){let{Document:t}=l(e);return e instanceof t}function c(e){return!a(e)&&e instanceof l(e).HTMLElement}function d(e){return e instanceof l(e).SVGElement}function f(e){return e?a(e)?e.document:s(e)?u(e)?e:c(e)?e.ownerDocument:document:document:document}let h=o?r.useLayoutEffect:r.useEffect;function p(e){let t=(0,r.useRef)(e);return h(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function g(){let e=(0,r.useRef)(null),t=(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),n=(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function m(e,t){void 0===t&&(t=[e]);let n=(0,r.useRef)(e);return h(()=>{n.current!==e&&(n.current=e)},t),n}function v(e,t){let n=(0,r.useRef)();return(0,r.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function y(e){let t=p(e),n=(0,r.useRef)(null),i=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,i]}function w(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let b={};function x(e,t){return(0,r.useMemo)(()=>
1{if(t)return t;let n=null==b[e]?0:b[e]+1;return b[e]=n,e+"-"+n},[e,t])}function C(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{let r=Object.entries(n);for(let[i,o]of r){let a=t[i];null!=a&&(t[i]=a+e*o)}return t},{...t})}}let E=C(1),k=C(-1);function _(e){if(!e)return!1;let{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function A(e){if(function(e){if(!e)return!1;let{TouchEvent:t}=l(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){let{clientX:r,clientY:i}=e.changedTouches[0];return{x:r,y:i}}}return"clientX"in e&&"clientY"in e?{x:e.clientX,y:e.clientY}:null}let R=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[R.Translate.toString(e),R.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),S="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function j(e){return e.matches(S)?e:e.querySelector(S)}},58463:function(e,t,n){"use strict";n.d(t,{YF:function(){return c},x7:function(){return s}});var r=n(88301),i=n(55863),o=n(67294),a=n(73935);let s=e=>{let{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){if(Object.prototype.hasOwnProperty.call(t,"current")){if(null!=t.current)return(0,r.x7)({element:t.current,padding:n}).fn(e)}else if(t)return(0,r.x7)({element:t,padding:n}).fn(e);return{}}}};var l="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function u(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!u(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let o=i[r];if(("_owner"!==o||!e.$$typeof)&&!u(e[o],t[o]))return!1}return!0}return e!=e&&t!=t}function c(e){let{middleware:t=[],placement:n="bottom",strategy:r="absolute",whileElementsMounted:s,open:c}=void 0===e?{}:e,[d,f]=o.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[h,p]=o.useState(t);u(h,t)||p(t);let g=o.useRef(null),m=o.useRef(null),v=o.useRef(null),y=o.useRef(d),w=function(e){let t=o.useRef(e);return l(()=>{t.current=e}),t}(s),b=o.useCallback(()=>{g.current&&m.current&&(0,i.oo)(g.current,m.current,{middleware:h,placement:n,strategy:r}).then(e=>{let t={...e,isPositioned:!0};x.current&&!u(y.current,t)&&(y.current=t,a.flushSync(()=>{f(t)}))})},[h,n,r]);l(()=>{!1===c&&y.current.isPositioned&&f(e=>({...e,isPositioned:!1}))},[c]);let x=o.useRef(!1);l(()=>(x.current=!0,()=>{x.current=!1}),[]);let C=o.useCallback(()=>{if("function"==typeof v.current&&(v.current(),v.current=null),g.current&&m.current){if(w.current){let e=w.current(g.current,m.current,b);v.current=e}else b()}},[b,w]),E=o.useCallback(e=>{g.current!==e&&(g.current=e,C())},[C]),k=o.useCallback(e=>{m.current!==e&&(m.current=e,C())},[C]),_=o.useMemo(()=>({reference:g,floating:m}),[]);return o.useMemo(()=>({...d,update:b,refs:_,reference:E,floating:k}),[d,b,_,E,k])}},58354:function(e,t,n){"use strict";n.d(t,{do:function(){return G}});var r,i,o,a=[],s="ResizeObserver loop completed with undelivered notifications.",l=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:s}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=s),window.dispatchEvent(e)};(r=i||(i={})).BORDER_BOX="border-box",r.CONTENT_BOX="content-box",r.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var u=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,u(this)},d=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,u(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},h=function(e){if(f(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},p=function(e){if(e instanceof Element)return!0;var t,n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},g=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;
1case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},m="undefined"!=typeof window?window:{},v=new WeakMap,y=/auto|scroll/,w=/^tb|vertical/,b=/msie|trident/i.test(m.navigator&&m.navigator.userAgent),x=function(e){return parseFloat(e||"0")},C=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},E=u({devicePixelContentBoxSize:C(),borderBoxSize:C(),contentBoxSize:C(),contentRect:new d(0,0,0,0)}),k=function(e,t){if(void 0===t&&(t=!1),v.has(e)&&!t)return v.get(e);if(h(e))return v.set(e,E),E;var n=getComputedStyle(e),r=f(e)&&e.ownerSVGElement&&e.getBBox(),i=!b&&"border-box"===n.boxSizing,o=w.test(n.writingMode||""),a=!r&&y.test(n.overflowY||""),s=!r&&y.test(n.overflowX||""),l=r?0:x(n.paddingTop),c=r?0:x(n.paddingRight),p=r?0:x(n.paddingBottom),g=r?0:x(n.paddingLeft),m=r?0:x(n.borderTopWidth),k=r?0:x(n.borderRightWidth),_=r?0:x(n.borderBottomWidth),A=r?0:x(n.borderLeftWidth),R=g+c,S=l+p,j=A+k,M=m+_,P=s?e.offsetHeight-M-e.clientHeight:0,L=a?e.offsetWidth-j-e.clientWidth:0,I=r?r.width:x(n.width)-(i?R+j:0)-L,O=r?r.height:x(n.height)-(i?S+M:0)-P,D=u({devicePixelContentBoxSize:C(Math.round(I*devicePixelRatio),Math.round(O*devicePixelRatio),o),borderBoxSize:C(I+R+L+j,O+S+P+M,o),contentBoxSize:C(I,O,o),contentRect:new d(g,l,I,O)});return v.set(e,D),D},_=function(e,t,n){var r=k(e,n),o=r.borderBoxSize,a=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case i.DEVICE_PIXEL_CONTENT_BOX:return s;case i.BORDER_BOX:return o;default:return a}},A=function(e){var t=k(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=u([t.borderBoxSize]),this.contentBoxSize=u([t.contentBoxSize]),this.devicePixelContentBoxSize=u([t.devicePixelContentBoxSize])},R=function(e){if(h(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},S=function(){var e=1/0,t=[];a.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(t){var n=new A(t.target),i=R(t.target);r.push(n),t.lastReportedSize=_(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){n.callback.call(n.observer,r,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0;n<t.length;n++)(0,t[n])();return e},j=function(e){a.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(R(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},M=function(){var e=0;for(j(0);a.some(function(e){return e.activeTargets.length>0});)j(e=S());return a.some(function(e){return e.skippedTargets.length>0})&&l(),e>0},P=[],L=function(e){if(!o){var t=0,n=document.createTextNode("");new MutationObserver(function(){return P.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),o=function(){n.textContent="".concat(t?t--:t++)}}P.push(e),o()},I=function(e){L(function(){requestAnimationFrame(e)})},O=0,D={attributes:!0,characterData:!0,childList:!0,subtree:!0},T=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],N=function(e){return void 0===e&&(e=0),Date.now()+e},F=!1,H=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!F){F=!0;var n=N(e);I(function(){var r=!1;try{r=M()}finally{if(F=!1,e=n-N(),!O)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,D)};document.body?t():m.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),T.forEach(function(t){return m.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),T.forEach(function(t){return m.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),V=function(e){!O&&e>0&&H.start(),(O+=e)||H.stop()},z=function(){function e(e,t){this.target=e,this.observedBox=t||i.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=_(this.target,this.observedBox,!0);return f(e=this.target)||g(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),B=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},U=new WeakMap,Z=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return -1},W=function(){function e(){}return e.connect=function(e,t){var n=new B(e,t);U.set(e,n)},e.observe=function(e,t,n){var r=U.get(e),i=0===r.observationTargets.length;0>Z(r.observationTargets,t)&&(i&&a.push(r),r.observationTargets.push(new z(t,n&&n.box)),V(1),H.schedule())},e.unobserve=function(e,t){var n=U.get(e),r=Z(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&a.splice(a.indexOf(n),1),n.observationTargets.splice(r,1),V(-1))},e.disconnect=function(e){var t=this,n=U.get(e);
1n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),G=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},81548:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t,n){return(o=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&i(o,n.prototype),o}:Reflect.construct.bind()).apply(null,arguments)}function a(e){var t="function"==typeof Map?new Map:void 0;return(a=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return o(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,e)})(e)}n.d(t,{JZ:function(){return P},OT:function(){return M},Rq:function(){return c},aM:function(){return u},e5:function(){return j},pz:function(){return _}});var s=Object.freeze({left:0,top:0,bottom:0,right:0}),l=Object.freeze({x:.5,y:.5,height:1,width:1}),u=function(e){var t=e.top,n=e.bottom,r=e.left,i=e.right,o=s.top,a=s.bottom,l=s.left,u=s.right;return t===o&&n===a&&r===l&&i===u},c=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=l.x,a=l.y,s=l.width,u=l.height;return t===o&&n===a&&r===s&&i===u},d=function(e){var t;function n(t,n){var r;return void 0===n&&(n="Failed to resolve asset ID from source"),(r=e.call(this,n)||this).unresolvable=!0,r.input=t,r}return(t=n).prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),n}(a(Error));function f(e){return function(){try{return e.apply(void 0,arguments)}catch(t){if(Boolean(t.unresolvable&&"input"in t))return;throw t}}}var h="https://cdn.sanity.io",p=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,g=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,m=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,v=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/;function y(e){return C(e)&&"string"==typeof e._ref}function w(e){return C(e)&&"string"==typeof e.path}function b(e){return C(e)&&"string"==typeof e.url}function x(e){return C(e)&&e.asset&&"object"==typeof e.asset}function C(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e}function E(e){if(m.test(e))return e;if(!e.startsWith(h+"/"))throw new d('Failed to resolve path from URL "'+e+'"');var t=e.indexOf("?");return e.slice(h.length+1,-1===t?void 0:t)}var k=f(E);function _(e){var t=function(e){var t=e.split("-"),n=t[1],r=t[2],i=t[3],o=(r||"").split("x").map(Number),a=o[0],s=o[1];if(!n||!r||!i||!(a>0)||!(s>0))throw Error("Malformed asset ID '"+e+'\'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".');return{type:"image",assetId:n,width:a,height:s,extension:i}}(A(e)),n=t.width,r=t.height;return{width:n,height:r,aspectRatio:n/r}}function A(e){var t=x(e)?e.asset:e,n="";if("string"==typeof t?n=function(e){if(v.test(e))return e;if(0===e.indexOf(h+"/images")||0===e.indexOf(h+"/files"))return S(e);if(m.test(e))return S(h+"/"+e);
1if(p.test(e))return S(h+"/files/a/b/"+e);if(g.test(e))return S(h+"/images/a/b/"+e);throw new d(e)}(t):y(t)?n=t._ref:C(t)&&"string"==typeof t._id?n=t._id:w(t)?n=S(h+"/"+t.path):b(t)&&(n=S(t.url)),!(n&&v.test(n)))throw new d(e);return n}var R=f(A);function S(e){var t=E(e).split("/"),n=t[0],r=t[3];return n.replace(/s$/,"")+"-"+r.replace(/\./g,"-")}function j(e){var t=function e(t){if(x(t))return e(t.asset);if(!y(t))return"string"==typeof t?m.test(k(t)||"")?E(t):void 0:w(t)?t.path:b(t)?E(t.url):void 0}(e);if(!t)throw new d(e,"Failed to resolve project ID and dataset from source");var n=t.match(m)||[],r=n[2],i=n[3];if(!r||!i)throw new d(e,"Failed to resolve project ID and dataset from source");return{projectId:r,dataset:i}}function M(e){var t=R(e);return!!t&&t.startsWith("file-")}function P(e){var t=R(e);return!!t&&t.startsWith("image-")}},35706:function(e,t,n){"use strict";n.d(t,{W0:function(){return H}});var r,i,o,a=n(34978),s=n(43994),l=n(65583),u=n(53741),c=n(74727),d=n(93833),f=n(68515),h=n(94975),p=n(29127),g=n(83286),m=n(30743),v=n(22401),y=n(1545),w=n(32817),b=n(40317),x=n(23071),C=n(19917),E=n(53416),k=["presence","listen"],_=function(){return(_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},A=(0,E.kP)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-",20);function R(e,t,n){return JSON.stringify({jsonrpc:"2.0",method:e,params:_(_({},t),{apiVersion:"v1"}),id:n})}var S=function(e,t){void 0===t&&(t={});var n=t.token$,r=t.getNextRequestId,i=void 0===r?A:r,o=(0,m.u)(e.pipe((0,a.w)(function(e){return(0,v.R)(e,"message")})),function(e){return"â¥"===e.data}),E=o[0],_=o[1],S=_.pipe((0,s.z)(function(e){var t=function(e){try{return[null,JSON.parse(e)]}catch(t){return t instanceof Error?[t]:[Error("".concat(t))]}}(e.data),n=t[0],r=t[1];return n?(console.warn("Unable to parse message: %s",n.message),y.E):r&&r.jsonrpc?(0,w.of)(r):(console.warn("Received empty or non-jsonrpc message: %s",r),y.E)}),(0,l.B)()),j=n?(0,b.a)([n,e]).pipe((0,u.x)(function(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];return n===i&&r===o}),(0,a.w)(function(e){var t=e[0],n=e[1];return t?M(n,"authorization",{authorization:"Bearer ".concat(t)}).pipe((0,c.q)(1),(0,d.h)(n)):(0,w.of)(n)}),(0,f.d)({refCount:!0,bufferSize:1})):e;function M(e,t,n){void 0===n&&(n={});var r=i();return(0,x.T)(S.pipe((0,h.h)(function(e){return e.id===r}),(0,p.U)(function(e){return e.result})),(0,C.P)(function(){return e.send(R(t,n,r)),y.E}))}return{heartbeats:(0,x.T)(j,E,_).pipe((0,p.U)(function(){return new Date})),request:function(e,t){return k.includes(e)?j.pipe((0,c.q)(1),(0,s.z)(function(n){return M(n,"".concat(e,"_subscribe"),t).pipe((0,c.q)(1),(0,s.z)(function(t){return S.pipe((0,h.h)(function(n){return n.method==="".concat(e,"_subscription")&&n.params.subscription===t}),(0,p.U)(function(e){return e.params.result}),(0,g.x)(function(){n.readyState!==n.CLOSED&&n.readyState!==n.CLOSING&&n.send(R("".concat(e,"_unsubscribe"),{subscriptionId:t},i()))}))}))})):j.pipe((0,c.q)(1),(0,s.z)(function(n){return M(n,e,t).pipe((0,c.q)(1))}))}}},j=n(19293),M=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),P=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.type=n,o.code=r,o.reason=i,o}return M(t,e),t}(Error),L=n(87878),I=Array.isArray,O=n(2566),D=n(6222),T=n(83505),N=n(83610);(i=o||(o={}))[i.BAD_REQUEST=4e3]="BAD_REQUEST",i[i.UNAUTHORIZED=4001]="UNAUTHORIZED",i[i.NOT_FOUND=4004]="NOT_FOUND",i[i.INVALID_REQUEST=-32600]="INVALID_REQUEST",i[i.METHOD_NOT_FOUND=-32601]="METHOD_NOT_FOUND",i[i.INVALID_PARAMS=-32602]="INVALID_PARAMS",i[i.SUBSCRIPTION_NOT_FOUND=-32602]="SUBSCRIPTION_NOT_FOUND",i[i.PARSE_ERROR=-32700]="PARSE_ERROR";var F=function(e){return e};function H(e,t){void 0===t&&(t={});var n,r=t.timeout,i=t.token$;return S(new j.y(function(t){var n=new window.WebSocket(e,void 0),r=!1;return n.onopen=function(){t.next(n)}
1,n.onclose=function(e){r?t.complete():t.error(new P("WebSocket connection error","CONNECTION_CLOSED",e.code,e.reason))},n.onerror=function(){t.error(new P("WebSocket connection error","CONNECTION_ERROR"))},function(){r=!0,n.close(1e3,"WebSockets connection closed by client")}}).pipe(r?(n=(0,N._)(function(){return Error("Timeout after ".concat(r," while establishing WebSockets connection"))}),function(e){return function(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return 1===(n=1===(t=n).length&&I(t[0])?t[0]:t).length?(0,L.Xf)(n[0]):new j.y((e=n,function(t){for(var n=[],r=function(r){n.push((0,L.Xf)(e[r]).subscribe((0,O.x)(t,function(e){if(n){for(var i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(e)})))},i=0;n&&!t.closed&&i<e.length;i++)r(i)}))}(e,(0,D.H)(r).pipe((0,s.z)(function(){return n})))}):F,(0,f.d)({refCount:!0}),(0,T.R)((0,v.R)(window,"beforeunload"))),{token$:i})}},76590:function(e,t,n){"use strict";n.d(t,{nX:function(){return en},zW:function(){return er}});var r=n(85564),i=n.n(r),o=n(4527),a=n(18446),s=n.n(a),l=n(44908),u=n.n(l);function c(e){return!!e&&("object"==typeof e||"function"==typeof e)}function d(e){return c(e)&&"string"==typeof e._type&&Array.isArray(e.children)&&e.children.every(e=>c(e))&&"markDefs"in e&&Array.isArray(e.markDefs)&&e.markDefs.every(e=>c(e))&&(!("style"in e)||"string"==typeof e.style)}function f(e){return c(e)&&"span"===e._type&&"string"==typeof e.text&&(!("marks"in e)||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function h(e){return!!e&&("object"==typeof e||"function"==typeof e)}function p(e){return!!h(e)&&"object"===e.jsonType}function g(e){return!!h(e)&&Array.isArray(e.annotations)&&Array.isArray(e.decorators)}function m(e){return!!h(e)&&"style"===e.name&&h(e.type)&&"string"===e.type.jsonType}function v(e){return!!h(e)&&"list"===e.name&&h(e.type)&&"string"===e.type.jsonType}function y(e){var t;return!!h(e)&&"children"===e.name&&!!h(t=e.type)&&"array"===t.jsonType&&e.type.of.some(g)}function w(e){return e.type?w(e.type):"block"===e.name}function b(e){let t=e?e.list:void 0;return Array.isArray(t)?t.map(e=>"object"==typeof e&&null!==e&&"title"in e&&"value"in e?e:{title:e,value:e}):[]}let x=Object.prototype.toString;function C(e){switch(x.call(e)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}return null===e?"null":void 0===e?"undefined":e&&"object"==typeof e&&"nodeType"in e&&1===e.nodeType?"element":e===Object(e)?"object":typeof e}let E=[];for(let k=0;k<256;++k)E[k]=(k+256).toString(16).substring(1);function _(e){return(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=new Uint8Array(e);return(0,o.Z)(t),t})(e).reduce((e,t)=>e+E[t],"").slice(0,e)}let A="normal",R=Object.freeze({_type:"block",markDefs:[],style:A}),S=Object.freeze({_type:"span",marks:[]}),j={p:R,blockquote:{...R,style:"blockquote"}},M={span:{object:"text"}},P={ol:{object:null},ul:{object:null}},L={h1:{...R,style:"h1"},h2:{...R,style:"h2"},h3:{...R,style:"h3"},h4:{...R,style:"h4"},h5:{...R,style:"h5"},h6:{...R,style:"h6"}},I={br:{...R,style:A}},O={b:"strong",strong:"strong",i:"em",em:"em",u:"underline",s:"strike-through",strike:"strike-through",del:"strike-through",code:"code"},D={li:{...R,style:A,level:1,listItem:"bullet"}},T={...j,...M,...P,...D,...L,...I};u()(Object.values(T).filter(e=>"style"in e).map(e=>e.style)),u()(Object.values(O));let N={ANY_TYPE:0,NUMBER_TYPE:1,STRING_TYPE:2,BOOLEAN_TYPE:3,UNORDERED_NODE_ITERATOR_TYPE:4,ORDERED_NODE_ITERATOR_TYPE:5,UNORDERED_NODE_SNAPSHOT_TYPE:6,ORDERED_NODE_SNAPSHOT_TYPE:7,ANY_UNORDERED_NODE_TYPE:8,FIRST_ORDERED_NODE_TYPE:9},F=["/html/text()","/html/head/text()","/html/body/text()","/html/body/ul/text()","/html/body/ol/text()","//comment()","//style","//xml","//script","//meta","//link"];var H=(e,t)=>{var n,r,i;let o=t.evaluate("/html/body/text()",t,null,N.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let a=o.snapshotLength-1;a>=0;a--){let s=o.snapshotItem(a),l=s.textContent||"";if(l.replace(/[^\S\n]+$/g,"")){let u=t.createElement("span");u.appendChild(t.createTextNode(l)),null==(n=s.parentNode)||n.replaceChild(u,s)}else null==(r=s.parentNode)||r.removeChild(s)}let c=t.evaluate(F.join("|"),t,null,N.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let d=c.snapshotLength-1;d>=0;d--){let f=c.snapshotItem(d);f&&(null==(i=f.parentNode)||i.removeChild(f))}return t};let V=/(class="?Mso|style=(?:"|')[^"]*?\bmso-|w:WordDocument|<o:\w+>|<\/font>)/,z=["//o:p","//span[@style='mso-list:Ignore']","//span[@style='mso-list: Ignore']"],B=["//p[@class='MsoTocHeading']","//p[@class='MsoTitle']","//p[@class='MsoToaHeading']","//p[@class='MsoSubtitle']","//span[@class='MsoSubtleEmphasis']","//span[@class='MsoIntenseEmphasis']"],U={MsoTocHeading:["h3"],MsoTitle:["h1"],MsoToaHeading:["h2"],MsoSubtitle:["h5"],MsoSubtleEmphasis:["span","em"],MsoIntenseEmphasis:["span","em","strong"]};var Z=[(e,t)=>{var n;if(!V.test(e))return t;let r=t.evaluate(z.join("|"),t,e=>"o"===e?"urn:schemas-microsoft-com:office:office":null,N.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let i=r.snapshotLength-1;i>=0;i--){let o=r.snapshotItem(i);(null==o?void 0:o.parentNode)&&o.parentNode.removeChild(o)}let a=t.evaluate(B.join("|"),t,null,N.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let s=a.snapshotLength-1;s>=0;s--){let l=a.snapshotItem(s),u=U[l.className],c=new Text(l.textContent||"");if(!u)continue;let d=document.createElement(u[0]),f=d,h=d;
1u.slice(1).forEach(e=>{h=document.createElement(e),f.appendChild(h),f=h}),h.appendChild(c),null==(n=null==l?void 0:l.parentNode)||n.replaceChild(d,l)}return t},(e,t)=>{if(t.body.firstElementChild&&function(e){if(1!==e.nodeType)return!1;let t=e.getAttribute("id");return t&&t.match(/^docs-internal-guid-/)&&"B"===e.tagName}(t.body.firstElementChild)){let n=t.evaluate("//*",t,null,N.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let r=n.snapshotLength-1;r>=0;r--){let i=n.snapshotItem(r);null==i||i.setAttribute("data-is-google-docs","true")}t.body.firstElementChild.replaceWith(...Array.from(t.body.firstElementChild.childNodes))}return t},H];function W(e){if(e&&"tagName"in e)return e.tagName.toLowerCase()}function G(e){return["\xa0"," "].includes(e)}function q(e){return"span"===e._type}function $(e){return"block"===e._type}function X(e){return"__decorator"===e._type}function Y(e){return"__annotation"===e._type}function K(e){return 1===e.nodeType}let J=Object.keys(P);function Q(e){return K(e)&&Boolean(e.getAttribute("data-is-google-docs"))}let ee={...j,...L};class et{constructor(e){var t,n=this;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._markDefs=[],this.deserialize=e=>{var t;this._markDefs=[];let{parseHtml:n}=this,r=n(e),o=Array.from(r.childNodes),a=((t=function(e){let t=0,n=[],r=e=>{let i=[];e.forEach(e=>{0===t&&n.push(e),d(e)&&(t>0&&(i.push(e),n.push(e)),t++,r(e.children)),"__block"===e._type&&(i.push(e),n.push(e.block))}
1),i.forEach(t=>{e.splice(e.indexOf(t),1)}),t--};return r(e),n}(this.deserializeElements(o).reduce((e,t,n,r)=>{if("block"===t._type)return e.push(t),e;if("__block"===t._type)return e.push(t.block),e;let i=e[e.length-1];if(n>0&&!d(r[n-1])&&d(i))return i.children.push(t),e;let o={...R,children:[t]};return e.push(o),e},[]))).forEach(e=>{d(e)&&e.children.forEach((t,n)=>{if(!q(t))return;let r=function(e,t){let n=e.children[t+1];return n&&"span"===n._type?n:null}(e,n),i=function(e,t){let n=e.children[t-1];return n&&"span"===n._type?n:null}(e,n);0===n&&(t.text=t.text.replace(/^[^\S\n]+/g,"")),n===e.children.length-1&&(t.text=t.text.replace(/[^\S\n]+$/g,"")),/\s/.test(t.text.substring(t.text.length-1))&&r&&q(r)&&/\s/.test(r.text.substring(0,1))&&(t.text=t.text.replace(/[^\S\n]+$/g,"")),/\s/.test(t.text.substring(0,1))&&i&&q(i)&&/\s/.test(i.text.substring(i.text.length-1))&&(t.text=t.text.replace(/^[^\S\n]+/g,"")),t.text||e.children.splice(n,1),i&&s()(i.marks,t.marks)&&G(t.text)?(i.text+=" ",e.children.splice(n,1)):r&&s()(r.marks,t.marks)&&G(t.text)&&(r.text=" ".concat(r.text),e.children.splice(n,1))})}),t);this._markDefs.length>0&&a.filter(e=>"block"===e._type).forEach(e=>{e.markDefs=e.markDefs||[],e.markDefs=e.markDefs.concat(this._markDefs.filter(t=>i()(e.children.map(e=>e.marks||[])).includes(t._key)))});let l=this.blockContentType.of.find(w);return l?a.map(e=>("block"===e._type&&(e._type=l.name),e)):a},this.deserializeElements=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return e.forEach(e=>{t=t.concat(n.deserializeElement(e))}),t},this.deserializeElement=e=>{var t,n;let r;let i=e=>"[object NodeList]"==Object.prototype.toString.call(e)?this.deserializeElements(Array.from(e)):Array.isArray(e)?this.deserializeElements(e):e?this.deserializeElement(e):void 0,o=e=>({_type:"__block",block:e});for(let a=0;a<this.rules.length;a++){let s=this.rules[a];if(!s.deserialize)continue;let l=s.deserialize(e,i,o),u=C(l);if("array"!==u&&"object"!==u&&"null"!==u&&"undefined"!==u)throw Error('A rule returned an invalid deserialized representation: "'.concat(r,'".'));if(void 0!==l){if(null===l)throw Error("Deserializer rule returned `null`");if(r=Array.isArray(l)?l:X(l)?this.deserializeDecorator(l):Y(l)?this.deserializeAnnotation(l):l,l&&!Array.isArray(l)&&$(l)&&"listItem"in l){let c=null==(t=e.parentNode)?void 0:t.parentNode;for(;c&&"li"===W(c);)c=null==(n=c.parentNode)?void 0:n.parentNode,l.level=l.level?l.level+1:1}l&&!Array.isArray(l)&&$(l)&&"blockquote"===l.style&&l.children.forEach((e,t)=>{q(e)&&"\r"===e.text&&(e.text="\n\n",(0===t||t===l.children.length-1)&&l.children.splice(t,1))});break}}return r||i(e.childNodes)||[]},this.deserializeDecorator=e=>{let{name:t}=e,n=e=>{if(X(e))return this.deserializeDecorator(e);if(q(e))e.marks=e.marks||[],e.text.trim()&&e.marks.unshift(t);else if("children"in e&&Array.isArray(e.children)){let r=e;r.children=r.children.map(n)}return e};return e.children.reduce((e,t)=>{let r=n(t);return Array.isArray(r)?e.concat(r):(e.push(r),e)},[])},this.deserializeAnnotation=e=>{let{markDef:t}=e;this._markDefs.push(t);let n=e=>{if(Y(e))return this.deserializeAnnotation(e);if(q(e))e.marks=e.marks||[],e.text.trim()&&e.marks.unshift(t._key);else if("children"in e&&Array.isArray(e.children)){let r=e;r.children=r.children.map(n)}return e};return e.children.reduce((e,t)=>{let r=n(t);return Array.isArray(r)?e.concat(r):(e.push(r),e)},[])};let{rules:o=[]}=r;if(!e)throw Error("Parameter 'blockContentType' is required");let a=(t=function(e){let t=function(e){var t,n;if(!e)throw Error("Parameter 'blockContentType' required");let r=e.of.find(w);if(!function(e){if(!h(e)||!Array.isArray(e.fields))return!1;let[t,n,r]=e.fields;return y(t)&&m(n)&&v(r)}(r))throw Error("'block' type is not defined in this schema (required).");let i=null==(n=null==(t=r.fields.find(y))?void 0:t.type)?void 0:n.of;if(!i)throw Error("No `of` declaration found for blocks `children` field");let o=i.find(e=>"span"===e.name);if(!o)throw Error("No `span` type found in `block` schema type `children` definition");let a=i.filter(e=>"span"!==e.name&&p(e)),s=e.of.filter(e=>e.name!==r.name&&p(e));return{styles:function(e){let t=e.fields.find(m);if(!t)throw Error("A field with name 'style' is not defined in the block type (required).");let n=b(t.type.options);if(0===n.length)throw Error("The style fields need at least one style defined. I.e: {title: 'Normal', value: 'normal'}.");return n}(r),decorators:o.decorators,annotations:o.annotations.map(e=>({title:e.title,type:e,value:e.name,icon:e.icon})),lists:function(e){let t=e.fields.find(v);if(!t)throw Error("A field with name 'list' is not defined in the block type (required).");let n=b(t.type.options);if(!n)throw Error("The list field need at least to be an empty array");return n}(r),types:{block:e,span:o,inlineObjects:a,blockObjects:s}}}(e),n=t.styles.map(e=>e.value||e.title),r=t.decorators.map(e=>e.value||e.title),i=t.annotations.map(e=>e.value||e.title||"");return{enabledBlockStyles:n,enabledSpanDecorators:r,enabledBlockAnnotations:i}}(e),[{deserialize(e,t){var n;if("p"===W(e)&&K(n=e)&&n.className&&("MsoListParagraphCxSpFirst"===n.className||"MsoListParagraphCxSpMiddle"===n.className||"MsoListParagraphCxSpLast"===n.className))return{...R,listItem:function(e){let t=K(e)&&e.getAttribute("style");if(t&&t.match(/lfo\d+/))return t.match("lfo1")?"bullet":"number"}(e),level:function(e){let t=K(e)&&e.getAttribute("style");if(!t)return;let n=t.match(/level\d+/);if(!n)return;let[r]=n[0].match(/\d/)||[],i=r?parseInt(r,10):1;return i||1}(e),style:A,children:t(e.childNodes)}}},{deserialize(e){if(K(e)&&"span"===W(e)&&Q(e)){let t={...S,marks:[],text:e.innerText};return function(e){let t=K(e)&&e.getAttribute("style");
1return/font-weight:700/.test(t||"")}(e)&&t.marks.push("strong"),function(e){let t=K(e)&&e.getAttribute("style");return/font-style:italic/.test(t||"")}(e)&&t.marks.push("em"),t}}},{deserialize(e,n){var r;if("li"===W(e)&&Q(e))return{...R,listItem:function(e){let t=W(e.parentNode);if(!t||J.includes(t))return"ul"===W(e.parentNode)?"bullet":"number"}(e),level:function(e){let t=0;if("li"===W(e)){let n=e.parentNode;for(;n;){let r=W(n);r&&J.includes(r)&&t++,n=n.parentNode}}else t=1;return t}(e),style:function(e,t){let n=W(e.firstChild),r=n&&ee[n];return r&&t.includes(r.style)?r.style:A}(e,t.enabledBlockStyles),children:n((null==(r=e.firstChild)?void 0:r.childNodes)||[])}}},{deserialize(e){let t=3===e.nodeType&&" "===(e.textContent||"").replace(/[\r\n]/g," ").replace(/\s\s+/g," ")&&e.nextSibling&&3!==e.nextSibling.nodeType&&e.previousSibling&&3!==e.previousSibling.nodeType,n=(t||" "!==e.textContent)&&"body"!==W(e.parentNode);if("#text"===e.nodeName&&n)return{...S,marks:[],text:(e.textContent||"").replace(/\s\s+/g," ")}}},{deserialize(e,t){if("blockquote"!==W(e))return;let n={...j,...L};delete n.blockquote;let r=[];return e.childNodes.forEach((t,i)=>{if(1===t.nodeType&&Object.keys(n).includes(t.localName.toLowerCase())){if(!e.ownerDocument)return;let o=e.ownerDocument.createElement("span");o.appendChild(e.ownerDocument.createTextNode("\r")),t.childNodes.forEach(e=>{o.appendChild(e.cloneNode(!0))}),i!==e.childNodes.length&&o.appendChild(e.ownerDocument.createTextNode("\r")),r.push(o)}else r.push(t)}),{_type:"block",style:"blockquote",markDefs:[],children:t(r)}}},{deserialize(e,n){let r={...j,...L},i=W(e),o=i?r[i]:void 0;return o?e.parentNode&&"li"===W(e.parentNode)?n(e.childNodes):(t.enabledBlockStyles.includes(o.style)||(o=R),{...o,children:n(e.childNodes)}):void 0}},{deserialize(e,t){let n=W(e);if(n&&n in M)return t(e.childNodes)}},{deserialize(e,t){let n="div"===W(e);if(n)return t(e.childNodes)}},{deserialize(e,t){let n=W(e);if(n&&n in P)return t(e.childNodes)}},{deserialize(e){if("br"===W(e))return{...S,text:"\n"}}},{deserialize(e,t){let n=W(e),r=n?D[n]:void 0,i=W(e.parentNode)||"";if(r&&e.parentNode&&P[i])return r.listItem=function(e){let t;switch(e){case"ul":default:t="bullet";break;case"ol":t="number"}return t}(i),{...r,children:t(e.childNodes)}}},{deserialize(e,n){let r=O[W(e)||""];if(r&&t.enabledSpanDecorators.includes(r))return{_type:"__decorator",name:r,children:n(e.childNodes)}}},{deserialize(e,n){let r;if("a"!=W(e))return;let i=t.enabledBlockAnnotations.includes("link"),o=K(e)&&e.getAttribute("href");return o?i?(r={_key:_(12),_type:"link",href:o},{_type:"__annotation",markDef:r,children:n(e.childNodes)}):e.appendChild(e.ownerDocument.createTextNode(" (".concat(o,")")))&&n(e.childNodes):n(e.childNodes)}}]);this.rules=[...o,...a];let l=r.parseHtml||function(){if("undefined"===C(DOMParser))throw Error("The native `DOMParser` global which the `Html` deserializer uses by default is not present in this environment. You must supply the `options.parseHtml` function instead.");return e=>new DOMParser().parseFromString(e,"text/html")}();this.blockContentType=e,this.parseHtml=e=>{let t=function(e,t){let n=e.trim().replace(/\s\s+/g," ").replace(/[\r\n]/g," "),r=t(n);return Z.forEach(t=>{t(e,r)}),r}(e,l);return t.body}}}function en(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e._type!==(t.blockTypeName||"block"))return"_key"in e?e:{...e,_key:_(12)};let n={_key:_(12),children:[],markDefs:[],...e},r=n.children[n.children.length-1];if(!r)return n.children=[{_type:"span",_key:"".concat(n._key,0),text:"",marks:[]}],n;let i=[],o=!!(t.allowedDecorators&&Array.isArray(t.allowedDecorators))&&t.allowedDecorators;return n.children=n.children.reduce((e,t)=>{let i=e[e.length-1];return i&&f(t)&&f(i)&&s()(i.marks,t.marks)?(r&&r===t&&""===t.text&&n.children.length>1||(i.text+=t.text),e):(e.push(t),e)},[]).map((e,t)=>{if(!e)throw Error("missing child");return e._key="".concat(n._key).concat(t),f(e)&&(e.marks?o&&(e.marks=e.marks.filter(e=>{var t;let r=o.includes(e),i=null==(t=n.markDefs)?void 0:t.some(t=>t._key===e);return r||i})):e.marks=[],i.push(...e.marks)),e}),n.markDefs=(n.markDefs||[]).filter(e=>i.includes(e._key)),n}function er(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new et(t,n);return r.deserialize(e).map(e=>en(e))}},75175:function(e,t,n){"use strict";n.d(t,{r:function(){return w},t:function(){return f}});var r=n(52027);function i(e,t,n){return delete e[t],e[t]=n,n}function o(e,t,n,r){let i=e.value,o=t.value;return r?{type:"array",action:"changed",isChanged:!0,fromValue:i,toValue:o,items:n,annotation:t.annotation}:{type:"array",action:"unchanged",isChanged:!1,fromValue:i,toValue:o,items:n}}function a(e,t,n){if(e.length!==t.length)return;let r=[];for(let i=0;i<e.length;i++){let o=f(e.at(i),t.at(i),n);if(o.isChanged)return;r.push({fromIndex:i,toIndex:i,hasMoved:!1,diff:o,annotation:t.annotationAt(i)})}return r}function s(e,t){if(void 0!==e.toIndex&&void 0!==t.toIndex)return e.toIndex-t.toIndex;if(void 0!==e.fromIndex&&void 0!==t.fromIndex)return e.fromIndex-t.fromIndex;if(void 0!==e.fromIndex&&void 0!==t.toIndex)return -1;if(void 0!==e.toIndex&&void 0!==t.fromIndex)return 1;throw Error("invalid item diff comparison")}function l(e,t,n){let r=e.get(t);(function(e,t){let n=e.indexOf(t);if(-1===n)throw Error("value not found");e.splice(n,1)})(r,n),0===r.length&&e.delete(t)}function u(e){let t=new Map,n=[],r=e.length;for(let i=0;i<r;i++){let o=e.at(i),a=null;switch(o.type){case"string":a="s".concat(o.value);break;case"number":case"boolean":a=o.value;break;case"null":a="n";break;case"object":{let s=o.get("_key");if(s&&"string"===s.type&&(a="k".concat(s.value),t.has(a)))return}}if(null===a)return;n.push(a);let l=t.get(a);l||(l=[],t.set(a,l)),l.push(i)}return{keys:n,index:t}}let c=new r.diff_match_patch,d=new Set(["_id","_type","_createdAt","_updatedAt","_rev","_weak"]);function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.type!==t.type?"null"===e.type?p(t,null):"null"===t.type?h(e,null):{type:"typeChange",action:"changed",isChanged:!0,fromType:e.type,fromValue:e.value,fromDiff:h(e,void 0),toType:t.type,toValue:t.value,toDiff:p(t,void 0),annotation:t.annotation}:function(e,t,n,g){switch(e){case"null":return{type:"null",action:"unchanged",isChanged:!1,toValue:null,fromValue:null};case"boolean":return function(e,t,n){let r=e.value,i=t.value,o=e.type;return r===i?{type:o,action:"unchanged",fromValue:r,toValue:i,isChanged:!1}:{type:e.type,action:"changed",isChanged:!0,fromValue:r,toValue:i,annotation:t.annotation}}(t,n);case"number":return function(e,t,n){let r=e.value,i=t.value,o=e.type;return r===i?{type:o,action:"unchanged",fromValue:r,toValue:i,isChanged:!1}:{type:e.type,action:"changed",isChanged:!0,fromValue:r,toValue:i,annotation:t.annotation}}(t,n);case"string":return function(e,t,n){let o=e.value,a=t.value;return o===a?{type:"string",action:"unchanged",isChanged:!1,fromValue:o,toValue:a,segments:[{type:"stringSegment",action:"unchanged",text:o}]}:{type:"string",action:"changed",isChanged:!0,fromValue:o,toValue:a,annotation:t.annotation,get segments(){let s=function(e,t){let n=[],i=c.diff_main(e.value,t.value);c.diff_cleanupSemantic(i);let o=0,a=0;for(let[s,l]of i)switch(s){case r.DIFF_EQUAL:n.push({type:"stringSegment",action:"unchanged",text:l}),o+=l.length,a+=l.length;break;
1case r.DIFF_DELETE:for(let u of e.sliceAnnotation(o,o+l.length))n.push({type:"stringSegment",action:"removed",text:u.text,annotation:u.annotation});o+=l.length;break;case r.DIFF_INSERT:for(let d of t.sliceAnnotation(a,a+l.length))n.push({type:"stringSegment",action:"added",text:d.text,annotation:d.annotation});a+=l.length;break;default:throw Error('Unhandled diff-match-patch operation "'.concat(s,'"'))}return n}(e,t);return i(this,"segments",s)}}}(t,n);case"array":return function(e,t,n){if(e===t){let r=e.value,c=t.value;return{type:"array",action:"unchanged",isChanged:!1,fromValue:r,toValue:c,get items(){let d=a(e,t,n);if(!d)throw Error("invariant broken: equivalent input, but diff detected");return i(this,"items",d)}}}let g=u(e),m=u(t);if(g&&m)return function(e,t,n,r,i){let a=[],u=!1;function c(i,o,s,c){l(t.index,i,o),l(r.index,i,s);let d=e.at(o),h=n.at(s),p=f(d,h);a.push({fromIndex:o,toIndex:s,hasMoved:c,diff:p,annotation:n.annotationAt(s)}),(p.isChanged||o!==s)&&(u=!0)}let d=function(e,t){let n=function(e,t){let n=e.length,r=t.length,i=0,o=0,a=Array(n+1);for(i=0;i<n+1;i++)for(o=0,a[i]=[r+1];o<r+1;o++)a[i][o]=0;for(i=1;i<n+1;i++)for(o=1;o<r+1;o++)e[i-1]===t[o-1]?a[i][o]=a[i-1][o-1]+1:a[i][o]=Math.max(a[i-1][o],a[i][o-1]);return a}(e,t),r=function(e,t,n){let r=t.length,i=n.length,o={sequence:[],prevIndices:[],nextIndices:[]};for(;0!==r&&0!==i;){let a=t[r-1]===n[i-1];if(a)o.sequence.unshift(t[r-1]),o.prevIndices.unshift(r-1),o.nextIndices.unshift(i-1),--r,--i;else{let s=e[r][i-1],l=e[r-1][i];s>l?--i:--r}}return o}(n,e,t);return r}(t.keys,r.keys);for(let g=0;g<t.keys.length;g++){let m=t.keys[g],v=d.prevIndices.indexOf(g);if(-1!==v){c(m,g,d.nextIndices[v],!1);continue}let y=r.index.get(m),w=y&&y.find(e=>!d.nextIndices.includes(e));if(void 0!==w){c(m,g,w,!0);continue}let b=e.at(g);a.push({fromIndex:g,toIndex:void 0,hasMoved:!1,diff:h(b,void 0),annotation:e.annotationAt(g)}),u=!0}for(let x of r.index.values()){for(let C of x){let E=n.at(C);a.push({fromIndex:void 0,toIndex:C,hasMoved:!1,diff:p(E,void 0),annotation:n.annotationAt(C)})}u=!0}return a.sort(s),o(e,n,a,u)}(e,g,t,m);let v=a(e,t,n);return v?o(e,t,v,!1):function(e,t,n){let r=[];for(let i=0;i<t.length;i++){let a=t.at(i);r.push({fromIndex:void 0,toIndex:i,hasMoved:!1,diff:p(a,void 0),annotation:a.annotation})}for(let s=0;s<e.length;s++){let l=e.at(s);r.push({fromIndex:s,toIndex:void 0,hasMoved:!1,diff:h(l,void 0),annotation:l.annotation})}return o(e,t,r,!0)}(e,t)}(t,n,g);case"object":return function(e,t,n){let r={},i=!1;for(let o of e.keys){if(d.has(o))continue;let a=e.get(o),s=t.get(o);if(s){let l=f(a,s,n);r[o]=l,l.isChanged&&(i=!0)}else r[o]=h(a,void 0),i=!0}for(let u of t.keys){if(d.has(u)||e.get(u))continue;let c=t.get(u);r[u]=p(c,void 0),i=!0}let g=e.value,m=t.value;return i?{type:"object",action:"changed",isChanged:!0,fromValue:g,toValue:m,fields:r,annotation:t.annotation}:{type:"object",action:"unchanged",isChanged:!1,fromValue:g,toValue:m,fields:r}}(t,n,g);default:throw Error('Unhandled diff type "'.concat(e,'"'))}}(e.type,e,t,n)}function h(e,t,n){switch(e.type){case"null":return{type:"null",action:"removed",isChanged:!0,fromValue:null,toValue:t,annotation:e.annotation};case"boolean":return{type:"boolean",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation};case"number":return{type:"number",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation};case"string":return{type:"string",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get segments(){let r=e.sliceAnnotation(0,e.value.length).map(e=>({type:"stringSegment",action:"removed",...e}));return i(this,"segments",r)}};case"array":return{type:"array",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get items(){let o=[];for(let a=0;a<e.length;a++){let s=e.at(a);o.push({fromIndex:a,toIndex:void 0,hasMoved:!1,diff:h(s,void 0),annotation:e.annotationAt(a)})}return i(this,"items",o)}};case"object":return{type:"object",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get fields(){let l={};for(let u of e.keys){let c=e.get(u);l[u]=h(c,void 0)}return i(this,"fields",l)}};default:throw Error("Unhandled diff type")}}function p(e,t,n){switch(e.type){case"null":return{type:"null",action:"added",isChanged:!0,fromValue:t,toValue:null,annotation:e.annotation};case"boolean":return{type:"boolean",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation};case"number":return{type:"number",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation};case"string":return{type:"string",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get segments(){let r=e.sliceAnnotation(0,e.value.length).map(e=>({type:"stringSegment",action:"added",...e}));return i(this,"segments",r)}};case"array":return{type:"array",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get items(){let o=[];for(let a=0;a<e.length;a++){let s=e.at(a);o.push({fromIndex:void 0,toIndex:a,hasMoved:!1,diff:p(s,void 0),annotation:e.annotationAt(a)})}return i(this,"items",o)}};case"object":return{type:"object",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get fields(){let l={};for(let u of e.keys){let c=e.get(u);l[u]=p(c,void 0)}return i(this,"fields",l)}};default:throw Error("Unhandled diff type")}}class g{constructor(e,t){this.type="array",this.elements=[],this.annotation=t,this.value=e,this.length=e.length}at(e){if(e>=this.length)throw Error("out of bounds");let t=this.elements[e];return t||(this.elements[e]=w(this.value[e],this.annotation))}annotationAt(){return this.annotation}}class m{constructor(e,t){this.type="object",this.fields={},this.value=e,this.annotation=t,this.keys=Object.keys(e)}get(e){let t=this.fields[e];if(t)return t;if(!this.value.hasOwnProperty(e))return;let n=this.value[e];return this.fields[e]=w(n,this.annotation)}}class v{constructor(e,t){this.type="string",this.value=e,this.annotation=t}sliceAnnotation(e,t){return[{text:this.value.slice(e,t),annotation:this.annotation}]}}class y{constructor(e,t,n){this.type=e,this.value=t,this.annotation=n}}function w(e,t){if(Array.isArray(e))return new g(e,t);if(null===e)return new y("null",e,t);let n=typeof e;switch(n){case"number":case"boolean":return new y(n,e,t);case"object":return new m(e,t);case"string":return new v(e,t);default:throw Error("cannot wrap value of type: ".concat(n))}}},38063:function(e,t,n){"use strict";function r(e){return"https://docs.sanity.io/help/"+e}n.d(t,{h:function(){return r}})},99119:function(e,t,n){"use strict";n.d(t,{W6:function(){return en},kC:function(){return D},mm:function(){return K}});var r=n(85564),i=n.n(r),o=n(39693),a=n.n(o),s=n(18446),l=n.n(s),u=n(53632),c=n.n(u),d=n(6162),f=n.n(d),h=n(52
1027),p=n(93406),g=n(48334),m=n.n(g);let v=/[0-9]/,y=/^[a-zA-Z0-9_]$/,w=/^[a-zA-Z_]$/,b={operator:["..",".",",",":","?"],comparator:[">",">=","<","<=","==","!="],keyword:["$","@"],boolean:["true","false"],paren:["[","]"]},x=Object.keys(b);class C{constructor(e){this.source=e,this.length=e.length,this.i=0,this.tokenizers=[this.tokenizeSymbol,this.tokenizeIdentifier,this.tokenizeNumber,this.tokenizeQuoted].map(e=>e.bind(this))}tokenize(){let e=[];for(;!this.EOF();){this.chompWhitespace();let t=null,n=this.tokenizers.some(e=>Boolean(t=e()));if(!n||!t)throw Error("Invalid tokens in jsonpath '".concat(this.source,"' @ ").concat(this.i));e.push(t)}return e}takeWhile(e){let t=this.i,n="";for(;!this.EOF();){let r=e(this.source[this.i]);if(null===r)break;n+=r,this.i++}return this.i===t?null:n}EOF(){return this.i>=this.length}peek(){return this.EOF()?null:this.source[this.i]}consume(e){if(this.i+e.length>this.length)throw Error("Expected ".concat(e," at end of jsonpath"));if(e===this.source.slice(this.i,this.i+e.length))this.i+=e.length;else throw Error('Expected "'.concat(e,'", but source contained "').concat(this.source.slice()))}tryConsume(e){return this.i+e.length>this.length?null:e===this.source.slice(this.i,this.i+e.length)?(this.i+=e.length,e):null}chompWhitespace(){this.takeWhile(e=>" "===e?"":null)}tokenizeQuoted(){let e=this.peek();if("'"===e||'"'===e){this.consume(e);let t=!1,n=this.takeWhile(n=>t?(t=!1,n):"\\"===n?(t=!0,""):n!=e?n:null);return this.consume(e),{type:"quoted",value:n,quote:'"'===e?"double":"single"}}return null}tokenizeIdentifier(){let e=!0,t=this.takeWhile(t=>e?(e=!1,t.match(w)?t:null):t.match(y)?t:null);return null!==t?{type:"identifier",name:t}:null}tokenizeNumber(){let e=this.i,t=!1,n=!1,r=!1;"-"===this.peek()&&(r=!0,this.consume("-"));let i=this.takeWhile(e=>"."===e&&!t&&n?(t=!0,e):(n=!0,e.match(v)?e:null));return null!==i?{type:"number",value:r?-i:+i,raw:r?"-".concat(i):i}:(this.i=e,null)}tokenizeSymbol(){for(let e of x){let t=b[e],n=t.find(e=>this.tryConsume(e));if(n)return{type:e,symbol:n}}return null}}class E{constructor(e){this.tokens=new C(e).tokenize(),this.length=this.tokens.length,this.i=0}parse(){return this.parsePath()}EOF(){return this.i>=this.length}peek(){return this.EOF()?null:this.tokens[this.i]}consume(){let e=this.peek();return this.i+=1,e}probe(e){let t=this.peek();if(!t)return null;let n=Object.keys(e).every(n=>n in t&&e[n]===t[n]);return n?t:null}match(e){return this.probe(e)?this.consume():null}parseAttribute(){let e=this.match({type:"identifier"});if(e&&"identifier"===e.type)return{type:"attribute",name:e.name};let t=this.match({type:"quoted",quote:"single"});return t&&"quoted"===t.type?{type:"attribute",name:t.value||""}:null}parseAlias(){return this.match({type:"keyword",symbol:"@"})||this.match({type:"keyword",symbol:"$"})?{type:"alias",target:"self"}:null}parseNumber(){let e=this.match({type:"number"});return e&&"number"===e.type?{type:"number",value:e.value}:null}parseNumberValue(){let e=this.parseNumber();return e?e.value:null}parseSliceSelector(){let e=this.i,t=this.parseNumberValue(),n=this.match({type:"operator",symbol:":"});if(!n)return null===t?(this.i=e,null):{type:"index",value:t};let r={type:"range",start:t,end:this.parseNumberValue()},i=this.match({type:"operator",symbol:":"});return(i&&(r.step=this.parseNumberValue()),null===r.start&&null===r.end
1)?(this.i=e,null):r}parseValueReference(){return this.parseAttribute()||this.parseSliceSelector()}parseLiteralValue(){let e=this.match({type:"quoted",quote:"double"});if(e&&"quoted"===e.type)return{type:"string",value:e.value||""};let t=this.match({type:"boolean"});return t&&"boolean"===t.type?{type:"boolean",value:"true"===t.symbol}:this.parseNumber()}parseFilterExpression(){let e=this.i,t=this.parseAttribute()||this.parseAlias();if(!t)return null;if(this.match({type:"operator",symbol:"?"}))return{type:"constraint",operator:"?",lhs:t};let n=this.match({type:"comparator"});if(!n||"comparator"!==n.type)return this.i=e,null;let r=this.parseLiteralValue();if(!r)throw Error("Operator ".concat(n.symbol," needs a literal value at the right hand side"));return{type:"constraint",operator:n.symbol,lhs:t,rhs:r}}parseExpression(){return this.parseFilterExpression()||this.parseValueReference()}parseUnion(){if(!this.match({type:"paren",symbol:"["}))return null;let e=[],t=this.parseFilterExpression()||this.parsePath()||this.parseValueReference();for(;t&&(e.push(t),!this.match({type:"paren",symbol:"]"}));){if(!this.match({type:"operator",symbol:","}))throw Error("Expected ]");if(!(t=this.parseFilterExpression()||this.parsePath()||this.parseValueReference()))throw Error("Expected expression following ','")}return{type:"union",nodes:e}}parseRecursive(){if(!this.match({type:"operator",symbol:".."}))return null;let e=this.parsePath();if(!e)throw Error("Expected path following '..' operator");return{type:"recursive",term:e}}parsePath(){let e=[],t=this.parseAttribute()||this.parseUnion()||this.parseRecursive();if(!t)return null;for(e.push(t);!this.EOF();){if(this.match({type:"operator",symbol:"."})){let n=this.parseAttribute();if(!n)throw Error("Expected attribute name following '.");e.push(n);continue}if(this.probe({type:"paren",symbol:"["})){let r=this.parseUnion();if(!r)throw Error("Expected union following '['");e.push(r)}else{let i=this.parseRecursive();i&&e.push(i);break}}return 1===e.length?e[0]:{type:"path",nodes:e}}}function k(e){let t=new E(e).parse();if(!t)throw Error('Failed to parse JSON path "'.concat(e,'"'));return t}function _(e){if("path"!==e.type)return[e,null];let t=e.nodes;return 0===t.length?[null,null]:1===t.length?[t[0],null]:[t[0],{type:"path",nodes:t.slice(1)}]}class A{constructor(e){if(!e)throw Error("Attempted to create Expression from null-value");if("expr"in e?this.expr=e.expr:this.expr=e,!("type"in this.expr))throw Error("Attempt to create Expression for expression with no type")}isPath(){return"path"===this.expr.type}isUnion(){return"union"===this.expr.type}isCollection(){return this.isPath()||this.isUnion()}isConstraint(){return"constraint"===this.expr.type}isRecursive(){return"recursive"===this.expr.type}isExistenceConstraint(){return"constraint"===this.expr.type&&"?"===this.expr.operator}isIndex(){return"index"===this.expr.type}isRange(){return"range"===this.expr.type}expandRange(e){let t="start"in this.expr&&this.expr.start||0;t=S(t,e);let n="end"in this.expr&&this.expr.end||(()=>{if(!e)throw Error("expandRange() required a probe that was not passed");return e.length()})();n=S(n,e);let r="step"in this.expr&&this.expr.step||1;return{start:t,end:n,step:r}}isAttributeReference(){return"attribute"===this.expr.type}isIndexReference(){return this.isIndex()||this.isRange()}name(){return"name"in this.expr?this.expr.name:""}isSelfReference(){return"alias"===this.expr.type&&"self"===this.expr.target}constraintTargetIsSelf(){return"constraint"===this.expr.type&&"alias"===this.expr.lhs.type&&"self"===this.expr.lhs.target}constraintTargetIsAttribute(){return"constraint"===this.expr.type&&"attribute"===this.expr.lhs.type}testConstraint(e){let t=this.expr;if("constraint"===t.type&&"alias"===t.lhs.type&&"self"===t.lhs.target){if("primitive"!==e.containerType())return!1;if("constraint"===t.type&&"?"===t.operator)return!0;let n=e.get(),r=t.rhs&&"value"in t.rhs?t.rhs.value:void 0;return R(n,t.operator,r)}if("constraint"!==t.type)return!1;let i=t.lhs;if(!i)throw Error("No LHS of expression");if("attribute"!==i.type)throw Error("Constraint target ".concat(i.type," not supported"));if("object"!==e.containerType())return!1;let o=e.getAttribute(i.name);if(null==o||"primitive"!==o.containerType())return!1;if(this.isExistenceConstraint())return!0;let a=t.rhs&&"value"in t.rhs?t.rhs.value:void 0;return R(o.get(),t.operator,a)}pathNodes(){return"path"===this.expr.type?this.expr.nodes:[this.expr]}prepend(e){return e?new A({type:"path",nodes:e.pathNodes().concat(this.pathNodes())}):this}concat(e){return e?e.prepend(this):this}descend(){return(function(e){let[t,n]=_(e);if(!t)throw Error("Head cannot be null");return"union"!==t.type?[[t,n]]:t.nodes.map(e=>{if("path"===e.type){let[t,r]=_(e);return[t,function(e,t){if(!e&&!t)return null;let n=e?e.nodes:[],r=t?t.nodes:[];return{type:"path",nodes:n.concat(r)}}(r,n)]}return[e,n]})})(this.expr).map(e=>{let[t,n]=e;
1return{head:t?new A(t):null,tail:n?new A(n):null}})}unwrapRecursive(){if("recursive"!==this.expr.type)throw Error("Attempt to unwrap recursive on type ".concat(this.expr.type));return new A(this.expr.term)}toIndicies(e){if("index"!==this.expr.type&&"range"!==this.expr.type)throw Error("Node cannot be converted to indexes");if("index"===this.expr.type)return[S(this.expr.value,e)];let t=[],n=this.expandRange(e),{start:r,end:i}=n;n.step<0&&([r,i]=[i,r]);for(let o=r;o<i;o++)t.push(o);return t}toFieldReferences(){if(this.isIndexReference())return this.toIndicies();if("attribute"===this.expr.type)return[this.expr.name];throw Error("Can't convert ".concat(this.expr.type," to field references"))}toString(){return function e(t,n){switch(t.type){case"attribute":return t.name;case"alias":return"self"===t.target?"@":"$";case"number":return"".concat(t.value);case"range":{let r=[];return n||r.push("["),t.start&&r.push("".concat(t.start)),r.push(":"),t.end&&r.push("".concat(t.end)),t.step&&r.push(":".concat(t.step)),n||r.push("]"),r.join("")}case"index":if(n)return"".concat(t.value);return"[".concat(t.value,"]");case"constraint":{let i=t.rhs?" ".concat(e(t.rhs,!1)):"",o="".concat(e(t.lhs,!1)," ").concat(t.operator).concat(i);if(n)return o;return"[".concat(o,"]")}case"string":return JSON.stringify(t.value);case"path":{let a=[],s=t.nodes.slice();for(;s.length>0;){let l=s.shift();l&&a.push(e(l,!1));let u=s[0];u&&"["!==e(u,!1)[0]&&a.push(".")}return a.join("")}case"union":return"[".concat(t.nodes.map(t=>e(t,!0)).join(","),"]");default:throw Error("Unknown node type ".concat(t.type));case"recursive":return"..".concat(e(t.term,!1))}}(this.expr,!1)}static fromPath(e){let t=k(e);if(!t)throw Error('Failed to parse path "'.concat(e,'"'));return new A(t)}static attributeReference(e){return new A({type:"attribute",name:e})}static indexReference(e){return new A({type:"index",value:e})}}function R(e,t,n){switch(t){case">":return e>n;case">=":return e>=n;case"<":return e<n;case"<=":return e<=n;case"==":return e===n;case"!=":return e!==n;default:throw Error("Unsupported binary operator ".concat(t))}}function S(e,t){if(e>=0)return e;if(!t)throw Error("interpretNegativeIndex() must have a probe when < 0");return e+t.length()}class j{constructor(e,t){this.head=e,this.tail=t}iterate(e){let t=[this];if(this.head&&this.head.isConstraint()){let n=!0;for(;n;)n=(t=i()(t.map(t=>t.iterateConstraints(e)))).some(e=>e.head&&e.head.isConstraint())}return t}isRecursive(){return Boolean(this.head&&this.head.isRecursive())}hasArrived(){return null===this.head&&null===this.tail}extractRecursives(){if(this.head&&this.head.isRecursive()){let e=this.head.unwrapRecursive();return new j(null,e.concat(this.tail)).descend()}return[]}iterateConstraints(e){let t=this.head;if(null===t||!t.isConstraint())return[this];let n=[];if("primitive"===e.containerType()&&t.constraintTargetIsSelf())return t.testConstraint(e)&&n.push(...this.descend()),n;if("array"===e.containerType()){let r=e.length();for(let i=0;i<r;i++){let o=e.getIndex(i);o&&t.testConstraint(o)&&n.push(new j(new A({type:"index",value:i}),this.tail))}return n}if("object"===e.containerType()){if(t.constraintTargetIsSelf())return[];if(t.testConstraint(e))return this.descend()}return n}descend(){return this.tail?this.tail.descend().map(e=>new j(e.head,e.tail)):[new j(null,null)]}toString(){let e=["<"];return this.head&&e.push(this.head.toString()),e.push("|"),this.tail&&e.push(this.tail.toString()),e.push(">"),e.join("")}}class M{constructor(e,t){this.active=e||[],t?(this.recursives=t.recursives,this.payload=t.payload):this.recursives=[],this.extractRecursives()}setPayload(e){return this.payload=e,this}extractRecursives(){this.active=this.active.filter(e=>!e.isRecursive()||(this.recursives.push(...e.extractRecursives()),!1))}activeRecursives(e){return this.recursives.filter(t=>{let n=t.head;return!!n&&(!!(n.isConstraint()||"array"===e.containerType()&&n.isIndexReference())||"object"===e.containerType()&&n.isAttributeReference()&&e.hasAttribute(n.name()))})}match(e){return this.iterate(e).extractMatches(e)}iterate(e){let t=[];
1return this.active.concat(this.activeRecursives(e)).forEach(n=>{t.push(...n.iterate(e))}),new M(t,this)}isDestination(){return this.active.some(e=>e.hasArrived())}hasRecursives(){return this.recursives.length>0}extractMatches(e){let t=[],n=[];if(this.active.forEach(r=>{if(r.hasArrived()){n.push(new A({type:"alias",target:"self"}));return}let i=r.head;if(i&&("array"!==e.containerType()||i.isIndexReference())&&("object"!==e.containerType()||i.isAttributeReference())){if(r.tail){let o=new M(r.descend(),this);i.toFieldReferences().forEach(()=>{t.push({target:i,matcher:o})})}else n.push(i)}}),this.hasRecursives()){let r=new M([],this);if("array"===e.containerType()){let i=e.length();for(let o=0;o<i;o++)t.push({target:A.indexReference(o),matcher:r})}else"object"===e.containerType()&&e.attributeKeys().forEach(e=>{t.push({target:A.attributeReference(e),matcher:r})})}return n.length>0?{leads:t,delivery:{targets:n,payload:this.payload}}:{leads:t}}static fromPath(e){let t=k(e);if(!t)throw Error('Failed to parse path from "'.concat(e,'"'));let n=new j(null,new A(t));return new M(n.descend())}}function P(e){return null!==e&&"object"==typeof e}class L{constructor(e,t){this._value=e,this.path=t||[]}containerType(){return Array.isArray(this._value)?"array":null!==this._value&&"object"==typeof this._value?"object":"primitive"}length(){if(!Array.isArray(this._value))throw Error("Won't return length of non-indexable _value");return this._value.length}getIndex(e){return!!Array.isArray(this._value)&&(e>=this.length()?null:new L(this._value[e],this.path.concat(e)))}hasAttribute(e){return!!P(this._value)&&this._value.hasOwnProperty(e)}attributeKeys(){return P(this._value)?Object.keys(this._value):[]}getAttribute(e){if(!P(this._value))throw Error("getAttribute only applies to plain objects");return this.hasAttribute(e)?new L(this._value[e],this.path.concat(e)):null}get(){return this._value}}function I(e,t){let n=[];if(e.isIndexReference())e.toIndicies(t).forEach(e=>{n.push(t.getIndex(e))});else if(e.isAttributeReference())n.push(t.getAttribute(e.name()));else if(e.isSelfReference())n.push(t);else throw Error("Unable to derive accessor for target ".concat(e.toString()));return a()(n)}let O=/^[a-z_$]+/;function D(e){let t="";return e.forEach((e,n)=>{t+="number"==typeof e?"[".concat(e,"]"):P(e)?Object.keys(e).map(t=>!function(e){switch(typeof e){case"number":case"string":case"boolean":return!0;default:return!1}}(e[t])?"":"[".concat(t,'=="').concat(e[t],'"]')).join(""):"string"==typeof e&&O.test(e)?0===n?e:".".concat(e):"['".concat(e,"']")}),t}class T{constructor(e,t,n){this.id=e,this.path=t,this.value=n}apply(e,t){let n=t;return e.forEach(e=>{if(e.isSelfReference())n=n.set(this.value);else if(e.isIndexReference())e.toIndicies(t).forEach(e=>{n=n.setIndex(e,this.value)});else if(e.isAttributeReference())n=n.setAttribute(e.name(),this.value);else throw Error("Unable to apply to target ".concat(e.toString()))}),n}}function N(e,t){return"number"==typeof e&&Number.isFinite(e)?e+t:e}class F{constructor(e,t,n){this.path=t,this.value=n,this.id=e}apply(e,t){let n=t;if("primitive"===n.containerType())return n;for(let r of e){if(r.isIndexReference()){for(let i of r.toIndicies(t)){let o=n.getIndex(i);if(!o)continue;let a=o.get();n=n.setIndex(i,N(a,this.value))}continue}if(r.isAttributeReference()){let s=n.getAttribute(r.name());if(!s)continue;let l=s.get();n=n.setAttribute(r.name(),N(l,this.value));continue}throw Error("Unable to apply to target ".concat(r.toString()))}return n}}function H(e,t){let n=[];return e.forEach(e=>{e.isIndexReference()&&n.push(...e.toIndicies(t))}),n.sort()}class V{constructor(e,t,n,r){this.id=e,this.location=t,this.path=n,this.items=r}apply(e,t){let n=t;if("array"!==t.containerType())throw Error("Attempt to apply insert patch to non-array value");switch(this.location){case"before":{let r;let i=(r=c()(H(e,t))||0,e.forEach(e=>{if(e.isRange()){let{start:t}=e.expandRange();t<r&&(r=t)}}),r);n=n.insertItemsAt(i,this.items);break}case"after":{let o;let a=(o=f()(H(e,t))||0,e.forEach(e=>{if(e.isRange()){let{end:t}=e.expandRange();t>o&&(o=t)}}),o);n=n.insertItemsAt(a+1,this.items);break}case"replace":{let s=H(e,t);n=(n=n.unsetIndices(s)).insertItemsAt(s[0],this.items);break}default:throw Error("Unsupported location atm: ".concat(this.location))}return n}}class z{constructor(e,t,n){this.id=e,this.path=t,this.value=n}apply(e,t){let n=t;
1return e.forEach(e=>{if(e.isIndexReference());else if(e.isAttributeReference())n.hasAttribute(e.name())||(n=t.setAttribute(e.name(),this.value));else throw Error("Unable to apply to target ".concat(e.toString()))}),n}}class B{constructor(e,t){this.id=e,this.path=t}apply(e,t){let n=t;switch(t.containerType()){case"array":n=n.unsetIndices(H(e,t));break;case"object":e.forEach(e=>{n=n.unsetAttribute(e.name())});break;default:throw Error("Target value is neither indexable or an object. This error should potentially just be silently ignored?")}return n}}let U=new h.diff_match_patch;function Z(e,t){return"string"!=typeof t?t:U.patch_apply(e,t)[0]}class W{constructor(e,t,n){this.id=e,this.path=t,this.dmpPatch=U.patch_fromText(n)}apply(e,t){let n=t;if("primitive"===n.containerType())return n;for(let r of e){if(r.isIndexReference()){for(let i of r.toIndicies(t)){let o=n.getIndex(i);if(!o)continue;let a=o.get(),s=Z(this.dmpPatch,a);n=n.setIndex(i,s)}continue}if(r.isAttributeReference()&&n.hasAttribute(r.name())){let l=n.getAttribute(r.name());if(!l)continue;let u=l.get(),c=Z(this.dmpPatch,u);n=n.setAttribute(r.name(),c);continue}throw Error("Unable to apply diffMatchPatch to target ".concat(r.toString()))}return n}}class G{constructor(e,t){this._value=e,this.path=t||[]}containerType(){return Array.isArray(this._value)?"array":null!==this._value&&"object"==typeof this._value?"object":"primitive"}get(){return this._value}length(){if(!Array.isArray(this._value))throw Error("Won't return length of non-indexable _value");return this._value.length}getIndex(e){return!!Array.isArray(this._value)&&(e>=this.length()?null:new G(this._value[e],this.path.concat(e)))}hasAttribute(e){return!!q(this._value)&&this._value.hasOwnProperty(e)}attributeKeys(){return q(this._value)?Object.keys(this._value):[]}getAttribute(e){if(!q(this._value))throw Error("getAttribute only applies to plain objects");return this.hasAttribute(e)?new G(this._value[e],this.path.concat(e)):null}set(e){return e===this._value?this:new G(e,this.path)}setIndex(e,t){if(!Array.isArray(this._value))throw Error("setIndex only applies to arrays");if(Object.is(t,this._value[e]))return this;let n=this._value.slice();return n[e]=t,new G(n,this.path)}setIndexAccessor(e,t){return this.setIndex(e,t.get())}unsetIndices(e){if(!Array.isArray(this._value))throw Error("unsetIndices only applies to arrays");let t=this._value.length,n=[];for(let r=0;r<t;r++)-1===e.indexOf(r)&&n.push(this._value[r]);return new G(n,this.path)}insertItemsAt(e,t){let n;if(!Array.isArray(this._value))throw Error("insertItemsAt only applies to arrays");return n=0===this._value.length&&0===e?t:this._value.slice(0,e).concat(t).concat(this._value.slice(e)),new G(n,this.path)}setAttribute(e,t){if(!q(this._value))throw Error("Unable to set attribute of non-object container");if(Object.is(t,this._value[e]))return this;let n=Object.assign({},this._value,{[e]:t});return new G(n,this.path)}setAttributeAccessor(e,t){return this.setAttribute(e,t.get())}unsetAttribute(e){if(!q(this._value))throw Error("Unable to unset attribute of non-object container");let t=Object.assign({},this._value);return delete t[e],new G(t,this.path)}}function q(e){return null!==e&&"object"==typeof e}class ${constructor(e){this.patches=function e(t){let n=[];if(Array.isArray(t))return t.reduce((t,n)=>t.concat(e(n)),n);
1let{set:r,setIfMissing:i,unset:o,diffMatchPatch:a,inc:s,dec:l,insert:u}=t;if(r&&Object.keys(r).forEach(e=>{n.push(new T(t.id,e,r[e]))}),i&&Object.keys(i).forEach(e=>{n.push(new z(t.id,e,i[e]))}),o&&o.forEach(e=>{n.push(new B(t.id,e))}),a&&Object.keys(a).forEach(e=>{n.push(new W(t.id,e,a[e]))}),s&&Object.keys(s).forEach(e=>{n.push(new F(t.id,e,s[e]))}),l&&Object.keys(l).forEach(e=>{n.push(new F(t.id,e,-l[e]))}),u){let c,d;if("before"in u)c="before",d=u.before;else if("after"in u)c="after",d=u.after;else if("replace"in u)c="replace",d=u.replace;else throw Error("Invalid insert patch");n.push(new V(t.id,c,d,u.items))}return n}(e)}apply(e){let t=new G(e);return this.applyViaAccessor(t).get()}applyViaAccessor(e){let t=e,n=e.getAttribute("_id");if(!n)throw Error("Cannot apply patch to document with no _id");let r=n.get();for(let i of this.patches){if(i.id!==r)continue;let o=M.fromPath(i.path).setPayload(i);t=function e(t,n){var r;let i=n,{leads:o,delivery:a}=t.match(n);if(o.forEach(t=>{if(t.target.isIndexReference())t.target.toIndicies().forEach(n=>{let r=i.getIndex(n);if(!r)throw Error("Index out of bounds");i=i.setIndexAccessor(n,e(t.matcher,r))});else if(t.target.isAttributeReference()){let n=i.getAttribute(t.target.name());if(!n)return;let r=e(t.matcher,n);n!==r&&(i=i.setAttributeAccessor(t.target.name(),r))}else throw Error("Unable to handle target ".concat(t.target.toString()))}),a&&Boolean((r=a.payload)&&"object"==typeof r&&null!==r&&"apply"in r&&"function"==typeof r.apply)){let s=a.payload;i=s.apply(a.targets,i)}return i}(o,t)}return t}}let X=p.Z,Y=m()("mutator-document");class K{constructor(e){this.params=e}get transactionId(){return this.params.transactionId}get transition(){return this.params.transition}get identity(){return this.params.identity}get previousRev(){return this.params.previousRev}get resultRev(){return this.params.resultRev}get mutations(){return this.params.mutations}get timestamp(){if("string"==typeof this.params.timestamp)return new Date(this.params.timestamp)}get effects(){return this.params.effects}assignRandomTransactionId(){this.params.transactionId=X(),this.params.resultRev=this.params.transactionId}appliesToMissingDocument(){if(void 0!==this._appliesToMissingDocument)return this._appliesToMissingDocument;let e=this.mutations[0];return e?this._appliesToMissingDocument=Boolean(e.create||e.createIfNotExists||e.createOrReplace):this._appliesToMissingDocument=!0,this._appliesToMissingDocument}compile(){let e=[];this.mutations.forEach(t=>{if(t.create){let n=t.create||{};e.push(e=>e||Object.assign(n,{_createdAt:n._createdAt||this.params.timestamp}));return}if(t.createIfNotExists){let r=t.createIfNotExists||{};e.push(e=>null===e?Object.assign(r,{_createdAt:r._createdAt||this.params.timestamp}):e);return}if(t.createOrReplace){let i=t.createOrReplace||{};e.push(()=>Object.assign(i,{_createdAt:i._createdAt||this.params.timestamp}));return}if(t.delete){e.push(()=>null);return}if(t.patch){if("query"in t.patch)return;let o=new $(t.patch);e.push(e=>o.apply(e));return}throw Error("Unsupported mutation ".concat(JSON.stringify(t,null,2)))}),"string"==typeof this.params.timestamp&&e.push(e=>e?Object.assign(e,{_updatedAt:this.params.timestamp}):null);let t=this.previousRev,n=this.resultRev||this.transactionId;this.compiled=r=>{if(t&&r&&t!==r._rev)throw Error("Previous revision for this mutation was ".concat(t,", but the document revision is ").concat(r._rev));let i=r;for(let o of e)i=o(i);return i&&n&&(i===r&&(i=Object.assign({},r)),i._rev=n),i}}apply(e){Y("Applying mutation %O to document %O",this.mutations,e),this.compiled||this.compile();let t=this.compiled(e);return Y(" => %O",t),t}static applyAll(e,t){return t.reduce((e,t)=>t.apply(e),e)}static squash(e,t){let n=t.reduce((e,t)=>e.concat(...t.mutations),[]);return new K({mutations:n})}}class J{constructor(e){this.incoming=[],this.submitted=[],this.pending=[],this.inconsistentAt=null,this.lastStagedAt=null,this.reset(e),this.HEAD=e,this.EDGE=e}reset(e){this.incoming=[],this.submitted=[],this.pending=[],this.inconsistentAt=null,this.HEAD=e,this.EDGE=e,this.considerIncoming(),this.updateConsistencyFlag()}arrive(e){this.incoming.push(e),this.considerIncoming(),this.updateConsistencyFlag()}stage(e,t){if(!e.transactionId)throw Error("Mutations _must_ have transactionId when submitted");this.lastStagedAt=new Date,Y("Staging mutation %s (pushed to pending)",e.transactionId),this.pending.push(e),this.EDGE=e.apply(this.EDGE),this.onMutation&&!t&&this.onMutation({mutation:e,document:this.EDGE,remote:!1});let n=e.transactionId;return this.updateConsistencyFlag(),{success:()=>{this.pendingSuccessfullySubmitted(n),this.updateConsistencyFlag()},failure:()=>{this.pendingFailed(n),this.updateConsistencyFlag()}}}isConsistent(){return!this.inconsistentAt}considerIncoming(){let e,t=!1,n=[];if(this.HEAD&&this.HEAD._updatedAt){let r=new Date(this.HEAD._updatedAt);this.incoming.find(e=>e.timestamp&&e.timestamp<r)&&(this.incoming=this.incoming.filter(e=>e.timestamp&&e.timestamp<r))}let i=0;do{if(this.HEAD){let o=this.HEAD;e=o._rev?this.incoming.find(e=>e.previousRev===o._rev):void 0}else e=this.incoming.find(e=>e.appliesToMissingDocument());if(e){let a=this.applyIncoming(e);if((t=t||a)&&n.push(e),i++>10)throw Error("Mutator stuck flushing incoming mutations. Probably stuck here: ".concat(JSON.stringify(e)))}}while(e);this.incoming.length>0&&Y.enabled&&Y("Unable to apply mutations %s",this.incoming.map(e=>e.transactionId).join(", ")),t&&this.rebase(n)}updateConsistencyFlag(){let e=this.isConsistent(),t=0===this.pending.length&&0===this.submitted.length&&0===this.incoming.length;t?this.inconsistentAt=null:this.inconsistentAt||(this.inconsistentAt=new Date),e!=t&&this.onConsistencyChanged&&(t?Y("Buffered document is inconsistent"):Y("Buffered document is consistent"),this.onConsistencyChanged(t))}applyIncoming(e){if(!e)return!1;if(!e.transactionId)throw Error("Received incoming mutation without a transaction ID");if(Y("Applying mutation %s -> %s to rev %s",e.previousRev,e.resultRev,this.HEAD&&this.HEAD._rev),this.HEAD=e.apply(this.HEAD),this.onRemoteMutation&&this.onRemoteMutation(e),this.incoming=this.incoming.filter(t=>t.transactionId!==e.transactionId),this.hasUnresolvedMutations()){let t=this.consumeUnresolved(e.transactionId);return Y.enabled&&(Y("Incoming mutation ".concat(e.transactionId," appeared while there were pending or submitted local mutations")),Y("Submitted txnIds: ".concat(this.submitted.map(e=>
1e.transactionId).join(", "))),Y("Pending txnIds: ".concat(this.pending.map(e=>e.transactionId).join(", "))),Y("needRebase === %s",t)),t}return Y("Remote mutation %s arrived w/o any pending or submitted local mutations",e.transactionId),this.EDGE=this.HEAD,this.onMutation&&this.onMutation({mutation:e,document:this.EDGE,remote:!0}),!1}hasUnresolvedMutations(){return this.submitted.length>0||this.pending.length>0}consumeUnresolved(e){if(0===this.submitted.length&&0===this.pending.length)return!1;if(0!==this.submitted.length){if(this.submitted[0].transactionId===e)return Y("Remote mutation %s matches upcoming submitted mutation, consumed from 'submitted' buffer",e),this.submitted.shift(),!1}else if(this.pending.length>0&&this.pending[0].transactionId===e)return Y("Remote mutation %s matches upcoming pending mutation, consumed from 'pending' buffer",e),this.pending.shift(),!1;return Y("The mutation was not the upcoming mutation, scrubbing. Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),this.submitted=this.submitted.filter(t=>t.transactionId!==e),this.pending=this.pending.filter(t=>t.transactionId!==e),Y("After scrubbing: Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),!0}pendingSuccessfullySubmitted(e){let t;if(0===this.pending.length)return;let n=this.pending[0];if(n.transactionId===e){this.pending.shift(),this.submitted.push(n);return}let r=[];this.pending.forEach(n=>{if(n.transactionId===e){t=n;return}r.push(n)}),t&&this.submitted.push(t),this.pending=r,this.rebase([])}pendingFailed(e){this.pending=this.pending.filter(t=>t.transactionId!==e),this.rebase([])}rebase(e){let t=this.EDGE;this.EDGE=K.applyAll(this.HEAD,this.submitted.concat(this.pending)),null!==t&&null!==this.EDGE&&(t._rev=this.EDGE._rev);let n=!l()(this.EDGE,t);n&&this.onRebase&&this.onRebase(this.EDGE,e,this.pending)}}class Q{constructor(e){this.out=[],e?Y("Reset mutation buffer to rev %s",e._rev):Y("Reset mutation buffer state to document being deleted"),this.staged=[],this.setOperations={},this.documentPresent=!1,this.BASIS=e,this.PRESTAGE=e,this.dmp=new h.diff_match_patch}add(e){e.mutations.forEach(e=>this.addOperation(e))}hasChanges(){return this.out.length>0||Object.keys(this.setOperations).length>0}purge(e){this.stashStagedOperations();let t=null;return this.out.length>0&&(Y("Purged mutation buffer"),t=new K({mutations:this.out,resultRev:e,transactionId:e})),this.out=[],this.documentPresent=!1,t}addOperation(e){var t;if(e.patch&&e.patch.set&&"id"in e.patch&&e.patch.id===(null==(t=this.PRESTAGE)?void 0:t._id)&&2===Object.keys(e.patch).length){let n=e.patch.set,r={};for(let i of Object.keys(n))n.hasOwnProperty(i)&&!this.optimiseSetOperation(i,n[i])&&(r[i]=n[i]);Object.keys(r).length>0&&(Y("Unoptimizable set-operation detected, purging optimization buffer"),this.staged.push({patch:{id:this.PRESTAGE._id,set:r}}),this.stashStagedOperations());return}if(e.createIfNotExists&&this.PRESTAGE&&e.createIfNotExists._id===this.PRESTAGE._id){this.documentPresent||(this.staged.push(e),this.documentPresent=!0,this.stashStagedOperations());return}Y("Unoptimizable mutation detected, purging optimization buffer"),this.staged.push(e),this.stashStagedOperations()}optimiseSetOperation(e,t){if("object"==typeof t)return!1;let n=function(e,t){let n=function(e,t){let n=[],r=M.fromPath(e).setPayload(function(e){n.push(...e)}),i=new L(t);return function e(t,n){let{leads:r,delivery:i}=t.match(n);r.forEach(t=>{I(t.target,n).forEach(n=>{e(t.matcher,n)})}),i&&i.targets.forEach(e=>{"function"==typeof i.payload&&i.payload(I(e,n))})}(r,i),n}(e,t);return n.map(e=>({path:e.path,value:e.get()}))}(e,this.PRESTAGE);if(1!==n.length)return!1;let r=n[0];if("object"==typeof r.value||!this.PRESTAGE)return!1;let i=null;if(r.value===t)i=null;else if("string"==typeof r.value&&"string"==typeof t)try{let o=this.dmp.patch_make(r.value,t).map(e=>e.toString()).join("");i={patch:{id:this.PRESTAGE._id,diffMatchPatch:{[e]:o}}}}catch{return!1}else i={patch:{id:this.PRESTAGE._id,set:{[e]:t}}};let a=D(r.path);return i?this.setOperations[a]=i:delete this.setOperations[a],!0}stashStagedOperations(){let e=[];
1Object.keys(this.setOperations).forEach(t=>{let n=this.setOperations[t];n&&e.push(n)}),e.push(...this.staged),e.length>0&&(this.PRESTAGE=new K({mutations:e}).apply(this.PRESTAGE),this.staged=[],this.setOperations={}),this.out.push(...e)}rebase(e){return this.stashStagedOperations(),null===e?(this.out=[],this.BASIS=e,this.PRESTAGE=e,this.documentPresent=!1):(this.BASIS=e,this.out?this.PRESTAGE=new K({mutations:this.out}).apply(this.BASIS):this.PRESTAGE=this.BASIS),this.PRESTAGE}}class ee{constructor(e,t){let{resolve:n,reject:r}=t;this.mutations=e,this.tries=0,this.resolve=n,this.reject=r}apply(e){return K.applyAll(e,this.mutations)}squash(e){let t=K.squash(e,this.mutations);return t.assignRandomTransactionId(),t}}let et=(e,t)=>e.concat(t.mutations);class en{constructor(e){this.committerRunning=!1,this.buffer=new Q(e),this.document=new J(e),this.document.onMutation=e=>this.handleDocMutation(e),this.document.onRemoteMutation=e=>this.onRemoteMutation&&this.onRemoteMutation(e),this.document.onRebase=(e,t,n)=>this.handleDocRebase(e,t,n),this.document.onConsistencyChanged=e=>this.handleDocConsistencyChanged(e),this.LOCAL=e,this.mutations=[],this.commits=[]}reset(e){e?Y("Document state reset to revision %s",e._rev):Y("Document state reset to being deleted"),this.document.reset(e),this.rebase([],[]),this.handleDocConsistencyChanged(this.document.isConsistent())}add(e){this.onConsistencyChanged&&this.onConsistencyChanged(!1),Y("Staged local mutation"),this.buffer.add(e);let t=this.LOCAL;this.LOCAL=e.apply(this.LOCAL),this.onMutation&&t!==this.LOCAL&&(Y("onMutation fired"),this.onMutation({mutation:e,document:this.LOCAL,remote:!1}),null===this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL))}arrive(e){if(Y("Remote mutation arrived %s -> %s",e.previousRev,e.resultRev),e.previousRev===e.resultRev)throw Error("Mutation ".concat(e.transactionId," has previousRev === resultRev (").concat(e.previousRev,")"));return this.document.arrive(e)}commit(){return new Promise((e,t)=>{if(!this.buffer.hasChanges()){e();return}Y("Committing local changes");let n=this.buffer.purge();this.commits.push(new ee(n?[n]:[],{resolve:e,reject:t})),this.buffer=new Q(this.LOCAL),this.performCommits()})}performCommits(){if(!this.commitHandler)throw Error("No commitHandler configured for this BufferedDocument");this.committerRunning||this._cycleCommitter()}_cycleCommitter(){let e=this.commits.shift();if(!e){this.committerRunning=!1;return}this.committerRunning=!0;let t=e.squash(this.LOCAL),n=this.document.stage(t,!0),r={success:()=>{Y("Commit succeeded"),n.success(),e.resolve(),this._cycleCommitter()},failure:()=>{Y("Commit failed"),e.tries+=1,null!==this.LOCAL&&this.commits.unshift(e),n.failure(),e.tries<200&&setTimeout(()=>this._cycleCommitter(),Math.min(1e3*e.tries,6e4))},cancel:e=>{this.commits.forEach(t=>t.reject(e)),this.commits=[],this.reset(this.document.HEAD),this.buffer=new Q(this.LOCAL),this.committerRunning=!1}};Y("Posting commit"),this.commitHandler&&this.commitHandler({mutation:t,success:r.success,failure:r.failure,cancel:r.cancel})}handleDocRebase(e,t,n){this.rebase(t,n)}handleDocumentDeleted(){Y("Document deleted"),null!==this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL),this.commits=[],this.mutations=[]}handleDocMutation(e){if(0===this.commits.length&&!this.buffer.hasChanges()){Y("Document mutated from remote with no local changes"),this.LOCAL=this.document.EDGE,this.buffer=new Q(this.LOCAL),this.onMutation&&this.onMutation(e);return}Y("Document mutated from remote with local changes"),null===this.document.EDGE&&this.handleDocumentDeleted(),this.rebase([e.mutation],[])}rebase(e,t){Y("Rebasing document"),null===this.document.EDGE&&this.handleDocumentDeleted();let n=this.LOCAL;this.LOCAL=this.commits.reduce((e,t)=>t.apply(e),this.document.EDGE),this.LOCAL=this.buffer.rebase(this.LOCAL),null!==n&&null!==this.LOCAL&&(n._rev=this.LOCAL._rev);let r=!l()(this.LOCAL,n);r&&this.onRebase&&this.onRebase(this.LOCAL,e.reduce(et,[]),t.reduce(et,[]))}handleDocConsistencyChanged(e){if(!this.onConsistencyChanged)return;let t=this.commits.length>0||this.buffer.hasChanges();e&&!t&&this.onConsistencyChanged(!0),e||this.onConsistencyChanged(!1)}}},48334:function(e,t,n){"use strict";var r=n(34155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return("undefined"==typeof console?"undefined":i(console))==="object"&&console.log&&(e=console).log.a
1pply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(97724)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},97724:function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];var o=a,s=Number(new Date),l=s-(n||s);o.diff=l,o.prev=n,o.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;u++;var i=r.formatters[n];if("function"==typeof i){var a=t[u];e=i.call(o,a),t.splice(u,1),u--}return e}),r.formatArgs.call(o,t),(o.log||r.log).apply(o,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=i,a.extend=o,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function i(){var e=r.instances.indexOf(this);return -1!==e&&(r.instances.splice(e,1),!0)}function o(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){r.enable("")},r.enable=function(e){r.save(e),r.names=[],r.skips=[];var t,n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(RegExp("^"+e.substr(1)+"$")):r.names.push(RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var o=r.instances[t];o.enabled=r.enabled(o.namespace)}},r.enabled=function(e){var t,n;if("*"===e[e.length-1])return!0;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(57824),Object.keys(e).forEach(function(t){r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},62997:function(e,t,n){"use strict";var r=n(34155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return("undefined"==typeof console?"undefined":i(console))==="object"&&console.log&&(e=console).log.a
1pply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(98653)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},98653:function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];var o=a,s=Number(new Date),l=s-(n||s);o.diff=l,o.prev=n,o.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;u++;var i=r.formatters[n];if("function"==typeof i){var a=t[u];e=i.call(o,a),t.splice(u,1),u--}return e}),r.formatArgs.call(o,t),(o.log||r.log).apply(o,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=i,a.extend=o,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function i(){var e=r.instances.indexOf(this);return -1!==e&&(r.instances.splice(e,1),!0)}function o(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){r.enable("")},r.enable=function(e){r.save(e),r.names=[],r.skips=[];var t,n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(RegExp("^"+e.substr(1)+"$")):r.names.push(RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var o=r.instances[t];o.enabled=r.enabled(o.namespace)}},r.enabled=function(e){var t,n;if("*"===e[e.length-1])return!0;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(57824),Object.keys(e).forEach(function(t){r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},30222:function(e,t,n){"use strict";n.d(t,{Fv:function(){return e_},_T:function(){return R},jA:function(){return eP}});var r=n(85564),i=n.n(r),o=n(27361),a=n.n(o),s=n(44908),l=n.n(s),u=n(68630),c=n.n(u),d=n(70631),f=n.n(d),h=n(43174),p=n.n(h),g=n(60308),m=n.n(g),v=n(57557),y=n.n(v),w=n(12937),b=n.n(w),x=n(91966),C=n.n(x);let E={TYPE_INVALID:"schema-type-invalid",TYPE_IS_ESM_MODULE:"schema-type-is-esm-module",TYPE_NAME_RESERVED:"schema-type-name-reserved",TYPE_MISSING_NAME:"schema-type-missing-name-or-type",TYPE_MISSING_TYPE:"schema-type-missing-name-or-type",TYPE_TITLE_RECOMMENDED:"schema-type-title-is-recommended",TYPE_TITLE_INVALID:"schema-type-title-is-recommended",OBJECT_FIELDS_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_NOT_UNIQUE:"schema-object-fields-invalid",OBJECT_FIELD_NAME_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_DEFINITION_INVA
1LID_TYPE:"schema-object-fields-invalid",ARRAY_PREDEFINED_CHOICES_INVALID:"schema-predefined-choices-invalid",ARRAY_OF_ARRAY:"schema-array-of-array",ARRAY_OF_INVALID:"schema-array-of-invalid",ARRAY_OF_NOT_UNIQUE:"schema-array-of-invalid",ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT:"schema-array-of-type-global-type-conflict",ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT:"schema-array-of-type-builtin-type-conflict",REFERENCE_TO_INVALID:"schema-reference-to-invalid",REFERENCE_TO_NOT_UNIQUE:"schema-reference-to-invalid",REFERENCE_INVALID_OPTIONS:"schema-reference-invalid-options",REFERENCE_INVALID_OPTIONS_LOCATION:"schema-reference-options-nesting",REFERENCE_INVALID_FILTER_PARAMS_COMBINATION:"schema-reference-filter-params-combination",SLUG_SLUGIFY_FN_RENAMED:"slug-slugifyfn-renamed",ASSET_METADATA_FIELD_INVALID:"asset-metadata-field-invalid",CROSS_DATASET_REFERENCE_INVALID:"cross-dataset-reference-invalid",DEPRECATED_BLOCKEDITOR_KEY:"schema-deprecated-blockeditor-key"};function k(e,t,n){if(n&&!Object.keys(E).some(e=>E[e]===n))throw Error('Used the unknown helpId "'.concat(n,'", please add it to the array in createValidationResult.js'));return{severity:e,message:t,helpId:n}}let _=(e,t)=>k("error",e,t),A=(e,t)=>
1k("warning",e,t);function R(e){return i()(e.map(e=>F(e))).filter(e=>e.problems.length>0)}function S(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>a()(t,e);return function(n,r){let o=[...r,{kind:"type",type:n.type,name:n.name}],a=t(n)||[],s=Array.isArray(a)?a.map(t=>{let n=[...o,{kind:"property",name:e}];return F(t,n)}):[[{path:o,problems:[_("Member declaration (".concat(e,") is not an array"))]}]];return[{path:o,problems:n._problems||[]},...i()(s)]}}let j=e=>Array.isArray(e)?e:void 0===e&&[]||[e],M=S("fields"),P=S("fields"),L=S("fields"),I=S("of"),O=S("to",e=>"to"in e?j(e.to):[]),D=S("marks.annotations"),T=S("of"),N=(e,t)=>[...D(e,t),...T(e,t)];function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];switch(e.type){case"object":case"document":return M(e,t);case"array":return I(e,t);case"reference":return O(e,t);case"block":return N(e,t);case"image":return P(e,t);case"file":return L(e,t);default:return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[{path:[...t,{kind:"type",type:e.type,name:e.name}],problems:e._problems||[]}]}(e,t)}}function H(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=e.reduce((e,n)=>{let r=t(n);return e[r]||(e[r]=[]),e[r].push(n),e},{});return Object.keys(n).map(e=>n[e].length>1?n[e]:null).filter(Boolean)}let V=e=>e,z={name:"type",type:null},B=["any","time","date"],U=[{name:"array",jsonType:"array",type:"type"},{name:"block",jsonType:"object",type:"type"},{name:"boolean",jsonType:"boolean",type:"type"},{name:"datetime",jsonType:"string",type:"type"},{name:"date",jsonType:"string",type:"type"},{name:"document",jsonType:"object",type:"type"},{name:"email",jsonType:"string",type:"type"},{name:"file",jsonType:"object",type:"type"},{name:"geopoint",jsonType:"object",type:"type"},{name:"image",jsonType:"object",type:"type"},{name:"number",jsonType:"number",type:"type"},{name:"object",jsonType:"object",type:"type"},{name:"reference",jsonType:"object",type:"type"},{name:"crossDatasetReference",jsonType:"object",type:"type"},{name:"slug",jsonType:"object",type:"type"},{name:"string",jsonType:"string",type:"type"},{name:"telephone",jsonType:"string",type:"type"},{name:"text",jsonType:"string",type:"type"},{name:"url",jsonType:"string",type:"type"}],Z=U.map(e=>e.name),W=/^Symbol\(react\..+\)$/;function G(e){return"function"==typeof e||"symbol"==typeof(null==e?void 0:e.$$typeof)&&W.test(String(null==e?void 0:e.$$typeof))}function q(e){let t="components"in e&&e.components;if(!t)return[];let n=[];return t.input&&!G(t.input)&&n.push(A("The `components.input` property is set but does not appear to be a valid React component (expected a function, but saw ".concat(f()(t.input),"). If you have imported a custom input component, please verify that you have imported the correct named/default export."))),t.field&&!G(t.field)&&n.push(A("The `components.field` property is set but does not appear to be a valid React component (expected a function, but saw ".concat(f()(t.field),"). If you have imported a custom field component, please verify that you have imported the correct named/default export."))),t.item&&!G(t.item)&&n.push(A("The `components.item` property is set but does not appear to be a valid React component (expected a function, but saw ".concat(f()(t.item),"). If you have imported a custom item component, please verify that you have imported the correct named/default export."))),t.preview&&!G(t.preview)&&n.push(A("The `components.preview` property is set but does not appear to be a valid React component (expected a function, but saw ".concat(f()(t.preview),"). If you have imported a custom preview component, please verify that you have imported the correct named/default export."))),n}let $=/^[A-Za-z]+[0-9A-Za-z_]*$/,X=/^[A-Za-z_]+[0-9A-Za-z_]*$/;function Y(e,t){var n;if(!c()(e))return[_("Incorrect type for field definition - should be an object, saw ".concat(f()(e)),E.OBJECT_FIELD_DEFINITION_INVALID_TYPE)];let r=[];return r.push(..."name"in e?"string"!=typeof(n=e.name)?[_('Field names must be strings. Saw "'.concat(f()(n),'"'),E.OBJECT_FIELD_NAME_INVALID)]:n.startsWith("_")?[_('Invalid field name "'.concat(n,'". Field names cannot start with underscores "_" as it\'s reserved for system fields.'),E.OBJECT_FIELD_NAME_INVALID)]:$.test(n)?X.test(n)?[]:[A("Thats an interesting field name for sure! But it is... how to put it... a bit... unconventional? It may be wise to keep special characters out of field names for easier access later on."),E.OBJECT_FIELD_NAME_INVALID]:[_('Invalid field name: "'.concat(n,'". Fields can only contain characters from A-Z, numbers and underscores and should not start with a number (must pass the regular expression ').concat(String($),")."),E.OBJECT_FIELD_NAME_INVALID)]:[_("Missing field name",E.OBJECT_FIELD_NAME_INVALID)]),r.push(...q(e)),r}function K(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{allowEmpty:!1},n=[],r=Array.isArray(e);if(!r)return[_('The "fields" property must be an array of fields. Instead saw "'.concat(typeof e,'"'),E.OBJECT_FIELDS_INVALID)];let i=e.filter(e=>"string"==typeof e.name);return(function(e){let t={};
1return e.forEach(e=>{t[e.name]||(t[e.name]=[]),t[e.name].push(e)}),Object.keys(t).map(e=>t[e].length>1?t[e]:null).filter(Boolean)})(i).forEach(e=>{n.push(_("Found ".concat(e.length,' fields with name "').concat(e[0].name,'" in object'),E.OBJECT_FIELD_NOT_UNIQUE))}),0!==e.length||t.allowEmpty||n.push(_("Object should have at least one field",E.OBJECT_FIELDS_INVALID)),n}var J=(e,t)=>{let n=K(e.fields),r=e.preview;if(r){var i;let o=(i=e.preview,c()(i)?void 0!==i.prepare&&"function"!=typeof i.prepare?[_('The "preview.prepare" property must be a function, instead saw "'.concat(typeof i.prepare,'"'))]:i.select?c()(i.select)?Object.keys(i.select).reduce((e,t)=>"string"==typeof i.select[t]?e:e.concat(_('The key "'.concat(t,'" of "preview.select" must be a string, instead saw "').concat(typeof i.select[t],'"'))),[]):[_('The "preview.select" property must be an object, instead saw "'.concat(typeof i.prepare,'"'))]:[]:[_('The "preview" property must be an object, instead saw "'.concat(typeof i,'"'))]);n=n.concat(o),r=o.some(e=>"error"===e.severity)?{}:r}return"document"!==e.type&&"object"!==e.type&&void 0!==e.initialValue&&n.push(_('The "initialValue" property is currently only supported for document & object types.')),{...e,preview:r,fields:(Array.isArray(e.fields)?e.fields:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...a}=t.visit(i,n);return{name:r,...a,_problems:Y(e).concat(o||[])}}),_problems:n}},Q=(e,t)=>{let n=J(e,t),{initialValue:r,initialValues:i}=n;return void 0===r||c()(r)||"function"==typeof r||n._problems.push(_('The "initialValue" property must be either a plain object or a function')),void 0!==i&&n._problems.push(_('Found property "initialValues" - did you mean "initialValue"?')),n},ee=(e,t)=>{let n=Array.isArray(e.to)||c()(e.to),r=Array.isArray(e.to)?e.to:e.to?[e.to]:e.to,o=i()([n?H(r,e=>"".concat(e.name,";").concat(e.type)).map(e=>_("Found ".concat(e.length,' members with same type, but not unique names "').concat(e[0].type,'" in reference. This makes it impossible to tell their values apart and you should consider naming them'),E.REFERENCE_TO_INVALID)):_('The reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',E.REFERENCE_TO_INVALID)]);return n&&0===r.length&&o.push(_('The reference type should define at least one accepted type. Please check the "to" property.',E.REFERENCE_TO_INVALID)),o.push(...function(e){let{options:t}=e,n=[];return(n.push(...["filter","filterParams"].filter(t=>t in e).map(e=>_("`".concat(e,"` is not allowed on a reference type definition - did you mean `options.").concat(e,"`?"),E.REFERENCE_INVALID_OPTIONS_LOCATION))),t)?c()(t)?"function"==typeof t.filter&&void 0!==t.filterParams?n.concat(_("`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",E.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof t.filter&&(t.filter||t.filterParams)?"string"!=typeof t.filter?n.concat(_("If set, `filter` must be a string. Got ".concat(typeof t.filter))):void 0===t.filterParams||c()(t.filterParams)?t.filterParams?n.concat(Object.keys(t.filterParams).filter(e=>e.startsWith("__")||e.startsWith("$")).map(e=>_('Filter parameter cannot be prefixed with "$" or "__". Got '.concat(e,'".')))):n:n.concat(_("If set, `filterParams` must be an object.")):n:n.concat(_("The reference type expects `options` to be an object",E.REFERENCE_INVALID_OPTIONS)):n}(e)),{...e,to:(n?r:[]).map(t.visit),_problems:o}};function et(e){return"string"===e||"number"===e||"boolean"===e}function en(e){return'"'.concat(e,'"')}function er(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"s";return 1===e.length?"":t}function ei(e){return Array.isArray(e)?"array with ".concat(e.length," entries"):"object"==typeof e&&null!==e?"object with keys ".concat(m()(Object.keys(e).map(en))):en(e)}var eo=(e,t)=>{var n,r,o;let a=Array.isArray(e.of);if(a){let s=e.of.reduce((e,n,r)=>"string"==typeof n.name&&n.name!==n.type&&Z.includes(n.name)?e.concat(_('Found array member declaration with the same type name as a built-in type ("'.concat(n.name,'"). Array members can not be given the same name as a built-in type.'),E.ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT)):"object"===n.type&&n.name&&t.getType(n.name)?e.concat(A('Found array member declaration with the same name as the global schema type "'.concat(n.name,"\". It's recommended to use a unique name to avoid possibly incompatible data types that shares the same name."),E.ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT)):"array"===n.type?e.concat(_('Found array member declaration of type "array" - multidimensional arrays are not currently supported by Sanity',E.ARRAY_OF_ARRAY)):n?e:e.concat(_("Found invalid type member declaration in array at index ".concat(r,": ").concat("Found ".concat(null===n?"null":typeof n,", expected member declaration")),E.ARRAY_OF_INVALID)),[]);if(s.length>0)return{...e,of:[],_problems:s}}let l=i()([a?H(e.of,e=>"".concat(e.name,";").concat(e.type)).map(e=>_("Found ".concat(e.length,' members with same type, but not unique names "').concat(e[0].type,'" in array. This makes it impossible to tell their values apart and you should consider naming them'),E.ARRAY_OF_NOT_UNIQUE)):_('The array type is missing or having an invali
1d value for the required "of" property',E.ARRAY_OF_INVALID)]),u=a?e.of:[],c=u.some(e=>"object"===e.type&&void 0===e.name),d=u.some(e=>"block"===e.type);d&&c&&l.push(_("The array type's 'of' property can't have an object type without a 'name' property as member, when the 'block' type is also a member of that array.",E.ARRAY_OF_INVALID));let[f,h]=p()(u,e=>{var n;return et(e.type)||et(null==(n=t.getType(e.type))?void 0:n.jsonType)}),g=f.length>0&&h.length>0;if(g){let v=f.map(e=>e.type),y=h.map(e=>e.type);l.push(_("The array type's 'of' property can't have both object types and primitive types (found primitive type ".concat(er(v)," ").concat(m()(v.map(en))," and object type").concat(er(y)," ").concat(m()(y.map(en)),")"),E.ARRAY_OF_INVALID))}let w=null==(n=null==e?void 0:e.options)?void 0:n.list;if(!g&&Array.isArray(w)){let b=f.length>0;b?w.forEach(e=>{var n;let r=null!=(n=null==e?void 0:e.value)?n:e,i=f.some(e=>typeof r===t.getType(e.type).jsonType);if(!i){let o=m()(f.map(e=>e.name||e.type),{conjunction:"or"});l.push(_("An invalid entry found in options.list: ".concat(ei(r),". Must be either a value of type ").concat(o,", or an object with {title: string, value: ").concat(o,"}"),E.ARRAY_PREDEFINED_CHOICES_INVALID))}}):w.forEach(e=>{let t=e._type||"object",n=h.some(e=>("string"==typeof e.name?e.name:e.type)===t);n||l.push(_("An invalid entry found in options.list: ".concat(ei(e),'. Must be an object with "_type" set to ').concat(m()(h.map(e=>e.name||e.type).map(e=>"object"===e?"undefined":en(e)),{conjunction:"or"})),E.ARRAY_PREDEFINED_CHOICES_INVALID))})}return(null==(r=null==e?void 0:e.options)?void 0:r.list)&&(null==(o=null==e?void 0:e.options)?void 0:o.layout)==="tags"&&l.push(A("Found array member declaration with both tags layout and a list of predefined values. If you want to display a list of predefined values, remove the tags layout from `options`.")),{...e,of:u.map(t.visit),_problems:l}},ea=(e,t)=>{let n=[];return e.options&&e.options.slugifyFn&&(n.push(A('Heads up! The "slugifyFn" option has been renamed to "slugify".',E.SLUG_SLUGIFY_FN_RENAMED)),e.options.slugify=e.options.slugifyFn),{...e,_problems:n}},es=(e,t)=>{let n=[],r=e.fields;r&&n.push(...K(r,{allowEmpty:!0}));let i=Array.isArray(r)?null==r?void 0:r.filter(e=>"asset"===e.name):[];return e.options&&void 0!==e.options.metadata&&!Array.isArray(e.options.metadata)?n.push(_("Invalid type for file `metadata` field - must be an array of strings",E.ASSET_METADATA_FIELD_INVALID)):i.length>0&&n.push(_("The name `asset` is not a valid field name for type `file`.")),{...e,fields:(Array.isArray(r)?r:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...a}=t.visit(i,n);return{name:r,...a,_problems:Y(e).concat(o||[])}}),_problems:n}};let el=["dimensions","hasAlpha","isOpaque"];var eu=(e,t)=>{let n=[],r=e.fields;r&&n.push(...K(r,{allowEmpty:!0}));let i=e.options,o=null==i?void 0:i.metadata,a=Array.isArray(o)?o.filter(e=>el.includes(e)):[],s=["asset","hotspot","crop"],l=Array.isArray(r)?null==r?void 0:r.filter(e=>s.includes(e.name)):[];return void 0===o||Array.isArray(o)?a.length>0?(n.push(A("Image `metadata` field contains superfluous properties (they are always included): ".concat(a.join(", ")))),i={...i,metadata:o.filter(e=>!el.includes(e))}):l.length>0&&n.push(_("The names `".concat(s.join("`, `"),"` are invalid field names for type `image`."))):n.push(_("Invalid type for image `metadata` field - must be an array of strings",E.ASSET_METADATA_FIELD_INVALID)),{...e,options:i,fields:(Array.isArray(r)?r:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...a}=t.visit(i,n);return{name:r,...a,_problems:Y(e).concat(o||[])}}),_problems:n}};let ec=e=>Array.isArray(e)?"array":typeof e,ed=e=>'"'.concat(e,'"'),ef=["components","lists","marks","name","of","options","styles","title","type","validation"],eh=["decorators","annotations"],ep=["blockEditor","title","value","component"],eg=["blockEditor","title","value","icon","component"],em=["title","value","icon","component"],ev=e=>'"'.concat(e,'"');var ey=(e,t)=>({...e,_problems:[...function(e,t){let n=t.getTypeNames();if(!e)return[_("Type is missing a type. Valid types are: ".concat(m()(n)),E.TYPE_MISSING_TYPE)];
1if("string"!=typeof e)return[_('Type has an invalid "type"-property - should be a string. Valid types are: '.concat(m()(n)),E.TYPE_MISSING_TYPE)];let r=n.includes(e);if(!r){let i=n.map(t=>[b()(e,t),t]).filter(e=>{let[t]=e;return t<3}).map(e=>{let[t,n]=e;return n}),o=i.length>0?" Did you mean ".concat(m()(i.map(ev),{conjunction:"or"}),"?"):"";return[_("Unknown type: ".concat(e,".").concat(o,"\n\nValid types are: ").concat(m()(n)))]}return[]}(e.type,t),...function(e,t){if(!("fields"in e))return[];let n=e;for(;n&&!n.jsonType;)n=t.getType(n.type);return n&&"object"!==n.jsonType?[_('Type has propery "fields", but is not an object/document type.')]:[]}(e,t),...function(e){var t,n,r;let i=[];return(null==e?void 0:e.inputComponent)&&i.push(A('The "inputComponent" property is deprecated. Use "components.input" instead.')),(null==(t=null==e?void 0:e.preview)?void 0:t.component)&&i.push(A('The "preview.component" property is deprecated. Use "components.preview" instead.')),(null==e?void 0:e.diffComponent)&&i.push(A('The "diffComponent" property is deprecated. Use "components.diff" instead.')),(null==(n=null==e?void 0:e.options)?void 0:n.editModal)&&i.push(A('The "options.editModal" property is deprecated. Use "options.modal" instead.')),(null==(r=null==e?void 0:e.options)?void 0:r.isHighlighted)&&i.push(A('The "options.isHighlighted" property is deprecated. You can put fields behind a collapsed fieldset if you want to hide them from plain sight.')),i}(e)].filter(Boolean)}),ew=(e,t)=>{let n=Boolean(e.name);if(!n&&1===Object.keys(e).length)return{...e,_problems:[_("Invalid/undefined type declaration, check declaration or the import/export of the schema type.",E.TYPE_INVALID)]};let r=[];return!e.name&&e.default&&(e.default.name||e.default.title)?r.push(_("Type appears to be an ES6 module imported through CommonJS require - use an import statement or access the `.default` property",E.TYPE_IS_ESM_MODULE)):n?t.isReserved(e.name)&&r.push(_('Invalid type name: "'.concat(e.name,'" is a reserved name.'),E.TYPE_NAME_RESERVED)):r.push(_("Missing type name",E.TYPE_MISSING_NAME)),t.isDuplicate(e.name)&&r.push(_('Invalid type name: A type with name "'.concat(e.name,'" is already defined in the schema.'))),r.push(...q(e)),"title"in e?"string"!=typeof e.title&&r.push(A("Type title is not a string.",E.TYPE_TITLE_INVALID)):r.push(A("Type is missing title. It's recommended to always set a descriptive title.",E.TYPE_TITLE_RECOMMENDED)),{...e,_problems:r}};let eb=/^[a-z0-9~][-_a-z0-9]+$/;var ex=(e,t)=>{let n=Array.isArray(e.to)||c()(e.to),r=Array.isArray(e.to)?e.to:e.to?[e.to]:e.to,o=i()([n?H(r,e=>"".concat(e.name,";").concat(e.type)).map(e=>_("Found ".concat(e.length,' members with same type, but not unique names "').concat(e[0].type,'" in reference. This makes it impossible to tell their values apart and you should consider naming them'),E.CROSS_DATASET_REFERENCE_INVALID)):_('The cross dataset reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',E.CROSS_DATASET_REFERENCE_INVALID)]);if(n&&0===r.length&&o.push(_('The cross dataset reference type should define at least one referenced type. Please check the "to" property.',E.CROSS_DATASET_REFERENCE_INVALID)),r.forEach((e,t)=>{e.type||o.push(_("The referenced type at index ".concat(t," must be named. Specify the name of the type you want to create references to."),E.CROSS_DATASET_REFERENCE_INVALID)),c()(e.preview)||o.push(_('Missing required preview config for the referenced type "'.concat(e.type||"<unknown type>",'"'),E.CROSS_DATASET_REFERENCE_INVALID))}),"string"==typeof e.dataset){let a=function(e){let t=e.length>=2&&e.toLowerCase()===e&&eb.test(e);return t||'The provided dataset "'.concat(e,"\" doesn't look like a valid dataset. Dataset names must be more than 2 characters, can only contain lowercase characters, numbers, underscores and dashes and can not start with a dash or an underscore")}(e.dataset);!0!==a&&o.push(_(a,E.CROSS_DATASET_REFERENCE_INVALID))}else o.push(_("A cross dataset reference must specify a `dataset`",E.CROSS_DATASET_REFERENCE_INVALID));return e.studioUrl&&"function"!=typeof e.studioUrl&&o.push(_('The "studioUrl" property on a cross dataset reference must be a function taking "{id, type}" as argument and returning a studio url.',E.CROSS_DATASET_REFERENCE_INVALID)),o.push(...function(e){let{options:t}=e,n=[];return(n.push(...["filter","filterParams"].filter(t=>t in e).map(e=>_("`".concat(e,"` is not allowed on a reference type definition - did you mean `options.").concat(e,"`?"),E.REFERENCE_INVALID_OPTIONS_LOCATION))),t)?c()(t)?"function"==typeof t.filter&&void 0!==t.filterParams?n.concat(_("`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",E.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof t.filter&&(t.filter||t.filterParams)?"string"!=typeof t.filter?n.concat(_("If set, `filter` must be a string. Got ".concat(typeof t.filter))):void 0===t.filterParams||c()(t.filterParams)?t.filterParams?n.concat(Object.keys(t.filterParams).filter(e=>e.startsWith("__")||e.startsWith("$")).map(e=>_('Filter parameter cannot be prefixed with "$" or "__". Got '.concat(e,'".')))):n:n.concat(_("If set, `filterParams` must be an object.")):n:n.concat(_("The reference type expects `options` to be an object",E.REFERENCE_INVALID_OPTIONS)):n}(e)),{...e,_problems:o}};let eC={array:eo,object:J,slug:ea,file:es,image:eu,block:function(e,t){var n,r;let i=[],o=e.styles,a=e.lists,s=e.marks,l=e.of,u=Object.keys(e).filter(e=>!ef.includes(e)&&!e.startsWith("_"));return u.length>0&&i.push(_("Found unknown properties for block declaration: ".concat(m()(u.map(ed))))),s&&(s=function(e,t,n){var r;let i=e.decorators,o=e.annotations;if(!c()(e))return n.push(_('"marks" declaration should be an object, got '.concat(ec(e)))),n;let a=Object.keys(e).filter(e=>!eh.includes(e)&&!e.startsWith("_"));return a.length>0&&n.push(_("Found unknown properties for block declaration: ".concat(m()(a.map(ed))))),i&&!Array.isArray(i)?n.push(_('"marks.decorators" declaration should be an array, got '.concat(ec(i)))):i&&(i.filter(e=>
1!!e.blockEditor).forEach(e=>{e.icon=e.blockEditor.icon,e.component=e.blockEditor.render}),(r=i).forEach((e,t)=>{if(!c()(e)){n.push(_("Annotation must be an object, got ".concat(ec(e))));return}let r=e.value||"#".concat(t),i=Object.keys(e).filter(e=>!eg.includes(e)&&!e.startsWith("_"));i.length>0&&n.push(_("Found unknown properties for decorator ".concat(r,": ").concat(m()(i.map(ed))))),e.value?"string"!=typeof e.value?n.push(_("Decorator #".concat(t,' has an invalid "value" property, expected string, got ').concat(ec(e.value)))):e.title||n.push(A("Decorator ".concat(r,' is missing recommended "title" property'))):n.push(_("Decorator #".concat(t,' is missing required "value" property'))),void 0!==e.blockEditor&&(n.push(A('Decorator "'.concat(r,'" has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.'),E.DEPRECATED_BLOCKEDITOR_KEY)),e.icon=e.icon||e.blockEditor.icon,e.component=e.component||e.blockEditor.render)}),i=r),o&&!Array.isArray(o)?n.push(_('"marks.annotations" declaration should be an array, got '.concat(ec(o)))):o&&(o=o.map(e=>{var r,i;if(!c()(e))return{...e,_problems:[_("Annotation must be an object, got ".concat(ec(e)))]};let{_problems:o}=t.visit(e,t),a=e.type&&t.getType(e.type);return a&&!function e(t,n,r){if("jsonType"in t)return t.jsonType===n;let i=r.getType(t.type);if(!i)throw Error("Could not resolve jsonType of ".concat(t.name,". No parent type found"));return e(i,n,r)}(a,"object",t)&&o.push(_('Annotation cannot have type "'.concat(e.type,'" - annotation types must inherit from object'))),void 0!==e.blockEditor&&(n.push(A('Annotation has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',E.DEPRECATED_BLOCKEDITOR_KEY)),e.icon=e.icon||e.blockEditor.icon,(null==(r=e.blockEditor)?void 0:r.render)&&!(null==(i=e.components)?void 0:i.annotation)&&(e.components=e.components||{},e.components.annotation=e.components.annotation||e.blockEditor.render)),{...e,_problems:o}})),{...e,decorators:i,annotations:o}}(e.marks,t,i)),o&&(o=Array.isArray(n=o)?(n.forEach((e,t)=>{if(!c()(e)){i.push(_("Style must be an object, got ".concat(ec(e))));return}let n=e.value||"#".concat(t),r=Object.keys(e).filter(e=>!ep.includes(e)&&!e.startsWith("_"));r.length>0&&i.push(_("Found unknown properties for style ".concat(n,": ").concat(m()(r.map(ed))))),e.value?"string"!=typeof e.value?i.push(_("Style #".concat(t,' has an invalid "value" property, expected string, got ').concat(ec(e.value)))):e.title||i.push(A("Style ".concat(n,' is missing recommended "title" property'))):i.push(_("Style #".concat(t,' is missing required "value" property'))),void 0!==e.blockEditor&&(i.push(A('Style has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',E.DEPRECATED_BLOCKEDITOR_KEY)),e.component=e.component||e.blockEditor.render)}),n):(i.push(_('"styles" declaration should be an array, got '.concat(ec(n)))),i)),a&&(a=Array.isArray(r=a)?(r.forEach((e,t)=>{if(!c()(e)){i.push(_("List must be an object, got ".concat(ec(e))));return}let n=e.value||"#".concat(t),r=Object.keys(e).filter(e=>!em.includes(e)&&!e.startsWith("_"));r.length>0&&i.push(_("Found unknown properties for list ".concat(n,": ").concat(m()(r.map(ed))))),e.value?"string"!=typeof e.value?i.push(_("List type #".concat(t,' has an invalid "value" property, expected string, got ').concat(ec(e.value)))):e.title||i.push(A("List type ".concat(n,' is missing recommended "title" property'))):i.push(_("List #".concat(t,' is missing required "value" property')))}),r):(i.push(_('"lists" declaration should be an array, got '.concat(ec(r)))),i)),l&&(l=function(e,t,n){if(!Array.isArray(e)){n.push(_('"of" declaration should be an array, got '.concat(ec(e))));return}return e.map(e=>{let{_problems:n}=t.visit(e,t);return{...e,_problems:n}})}(l,t,i)),{...y()(e,u),marks:s,styles:o,name:e.name||e.type,of:l,_problems:i}},document:Q,reference:ee,crossDatasetReference:ex},eE=e=>t=>({name:"<unnamed_type_@_index_".concat(e.index,">"),...t,_problems:[]});function ek(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(e,n)=>t.reduce((e,t)=>
1{let r=t(e,n);return{...r,_problems:e._problems.concat(r._problems)}},{_problems:[],...e})}function e_(e){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V,r=Object.create(null),o=Object.create(null),a=t.map(e=>e.name),s=B.concat(a),u=e.map(e=>e&&e.name).filter(Boolean);function c(e){return"type"===e?z:r[e]||o[e]||null}t.forEach(e=>{r[e.name]=e}),e.forEach((e,t)=>{o[e&&e.name||"__unnamed_".concat(t)]={}});let d=l()(i()(H(u)));function f(e){return d.includes(e)}function h(){return u.concat(a)}function p(e){return"type"===e||s.includes(e)}let g=e=>(t,r)=>n(t,{visit:g(!1),isRoot:e,getType:c,getTypeNames:h,isReserved:p,isDuplicate:f,index:r});return t.forEach(e=>{Object.assign(r[e.name],g(e))}),e.forEach((e,t)=>{Object.assign(o[e&&e.name||"__unnamed_".concat(t)],g(!0)(e,t))}),{get(e){let t=o[e]||r[e];if(t)return t;throw Error("No such type: ".concat(e))},has:e=>e in o||e in r,getTypeNames:()=>Object.keys(o),getTypes(){return this.getTypeNames().map(this.get)},toJSON(){return this.getTypes()}}}(e,U,(e,t)=>{let n=e&&e.type&&eC[e.type]||eE(t);return t.isRoot?ek(ew,ey,n)(e,t):ek(ey,n)(e,t)})}let eA="__experimental_actions",eR=["create","update","delete","publish"],eS=e=>eA in e?e[eA]:eR,ej=(e,t)=>{if(!Array.isArray(t))throw Error("The value of <type>.".concat(eA," should be an array with any of the actions ").concat(eR.join(", ")));let n=C()(t,eR);if(n.length>0)throw Error("Invalid action".concat(n.length>1?"s":"",' configured for schema type "').concat(e,'": ').concat(n.join(", "),". Valid actions are: ").concat(eR.join(", ")));return t},eM=e=>ej(e.name,eS(e)),eP=(e,t)=>eM(e).includes(t)},42076:function(e,t,n){"use strict";n.d(t,{Z:function(){return e8}});var r=n(78718),i=n.n(r),o=n(57557),a=n.n(o),s=n(61021),l=n.n(s),u=n(84596),c=n.n(u),d=n(94654),f=n.n(d),h=n(24350),p=n.n(h),g=n(18029),m=n.n(g),v=n(14176),y=n.n(v),w=n(52353),b=n.n(w),x=n(48403),C=n.n(x),E=n(68630),k=n.n(E),_=n(30084),A=n.n(_),R=n(45578),S=n.n(R);let j=["jsonType","type","name","title","description","options","fieldsets","validation","readOnly","hidden","components","diffComponent","initialValue"],M=[...j],P={name:"any",type:null,jsonType:"any"};var L={prepare:e=>({title:String(e)})};let I=[...j],O={name:"string",title:"String",type:null,jsonType:"string"},D=[...j,"rows"],T={name:"text",title:"Text",type:null,jsonType:"string"},N=[...j],F={name:"datetime",title:"Datetime",type:null,jsonType:"string"},H=[...j],V={name:"date",title:"Datetime",type:null,jsonType:"string"},z=[...j],B={name:"boolean",title:"Boolean",type:null,jsonType:"boolean"},U=[...j],Z={name:"url",title:"Url",type:null,jsonType:"string"},W=[...j],G={name:"email",title:"Email",type:null,jsonType:"string"},q=[...j],$={name:"number",title:"Number",type:null,jsonType:"number"};function X(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Object.defineProperty(e,t,{configurable:!0,enumerable:!1!==r.enumerable,get(){let i=n();return Object.defineProperty(e,t,{value:i,writable:Boolean(r.writable),configurable:!1}),i}}),e}let Y={maxEntries:2,maxDepth:2,maxBreadth:2,ignoreKeys:["_id","_type","_key","_ref"]};function K(e){return"array"===e.type&&e.of&&e.of.some(e=>"block"===e.type)}let J=["title","name","label","heading","header","caption"],Q=["description",...J];function ee(e,t){return l()(e.to||[]).some(e=>e.type===t)}function et(e){return ee(e,"sanity.imageAsset")}function en(e){return ee(e,"sanity.fileAsset")}function er(e){return function(){e.options&&e.options.preview&&console.warn('Heads up! The preview config is no longer defined on "options", but instead on the type/field itself.\nPlease move {options: {preview: ...}} to {..., preview: ...} on the type/field definition of "'.concat(e.name,'".\n')),function(e){let t=e.preview||(e.options||{}).preview;t&&"fields"in t&&console.warn('Heads up! "preview.fields" should be renamed to "preview.select". Please update the preview config for "'.concat(e.name,'".\n'))}(e);let t=function(e){if(!e)return e;let t=e.select||e.fields||{};return Array.isArray(t)?{...i()(e,["prepare","component"]),select:t.reduce((e,t)=>
1(e[t]=t,e),{})}:{...i()(e,["prepare","component"]),select:t}}(e.preview||(e.options||{}).preview);return t||function(e){let t={fields:[],...e},n=t.fields.filter(e=>"string"===e.type).map(e=>e.name),r=t.fields.filter(K).map(e=>e.name),o=J.find(e=>n.includes(e)||r.includes(e)),a=Q.find(e=>e!==o&&(n.includes(e)||r.includes(e)));o||(o=n[0]||r[0],a=n[1]||r[1]);let s=t.fields.find(e=>"image"===e.type),l=function(e){let t=e.fields||[],n=t.find(et);if(n)return n.name;let r=t.find(e=>(e.fields||[]).some(et));return r?"".concat(r.name,".asset"):void 0}(t);if(!o){let u=function(e){let t=e.fields||[],n=t.find(en);if(n)return n.name;let r=t.find(e=>(e.fields||[]).some(en));return r?"".concat(r.name,".asset"):void 0}(t);u&&(o="".concat(u,".originalFilename")),l&&(o="".concat(l,".originalFilename"))}if(!o&&!l){let c=t.fields.map(e=>e.name),d=c.reduce((e,t)=>(e[t]=t,e),{});return{select:d,prepare:e=>({title:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={maxDepth:"maxDepth"in t?t.maxDepth:2,maxBreadth:"maxBreadth"in t?t.max
1Breadth:2,ignoreKeys:"ignoreKeys"in t?t.ignoreKeys:[]};return function e(t,n,r){if(r>n.maxDepth)return"...";if(Array.isArray(t)){if(0===t.length)return"[empty]";let o=Math.max(t.length-n.maxBreadth),a=t.slice(0,n.maxBreadth).map((t,i)=>e(t,n,r+1)).concat(o>0?"â¦+".concat(o):[]).join(", ");return 0===r?a:"[".concat(a,"]")}if("object"==typeof t&&null!==t){let s=Object.keys(t).filter(e=>!n.ignoreKeys.includes(e)&&void 0!==t[e]);if(function(e){for(let t in e)if(e.hasOwnProperty(t))return!1;return!0}(i()(t,s)))return"{empty}";let l=s.slice(0,n.maxBreadth).map(i=>"".concat(i,": ").concat(e(t[i],n,r+1))).join(", ");return 0===r?l:"{".concat(l,"}")}let u=String(t);return""===u?'""':u}(e,n,0)}(i()(e,c),Y)})}}let f=y()({title:o,description:a,media:s?s.name:l},b());return{select:f}}(e)}}let ei=["title","name","label","heading","header","caption","description"],eo=["string","boolean","number"],ea=e=>eo.includes(e.type);function es(e){if(!Array.isArray(e))throw Error("The search config of a document type must be an array of search config objects");return e.map(e=>{if("defaults"===e)return e;if(!k()(e))throw Error("Search config must be an object of {path: string, weight: number}");return{weight:"weight"in e?e.weight:1,path:A()(e.path),mapWith:"string"==typeof e.mapWith?e.mapWith:void 0}})}let el=Symbol("__cachedStringFields"),eu=e=>e.type&&"reference"===e.type.name,ec=["style","list"],ed=e=>"block"===e.name||e.type&&ed(e.type),ef=e=>"array"===e.jsonType&&Array.isArray(e.of)&&e.of.some(ed);function eh(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0;if(i<0)return n;let o=t(n,e,r);return"array"===e.jsonType&&Array.isArray(e.of)?e.of.reduce((e,n)=>eh(n,t,e,r,i-1),o):"object"===e.jsonType&&Array.isArray(e.fields)&&!eu(e)?function(e,t,n,r,i){let o=ed(e);return e.fields.reduce((e,n)=>{if(o&&ec.includes(n.name))return e;let a=[n.name].concat("array"===n.type.jsonType?[[]]:[]);return eh(n.type,t,e,r.concat(a),i-1)},n)}(e,t,o,r,i):o}let ep=[{weight:1,path:["_id"]},{weight:1,path:["_type"]}],eg={title:10,subtitle:5,description:1.5};function em(e){var t;let n=null==(t=null==e?void 0:e.preview)?void 0:t.select;return n?Object.keys(n).filter(e=>e in eg).map(e=>({weight:eg[e],path:n[e].split(".")})):[]}let ev=[...j,"orderings","__experimental_search","blockEditor","icon"],ey={get:()=>({name:"object",title:"Object",type:null,jsonType:"object"}),extend(e,t){let n;let r={fields:[],...e},o={...r.options||{}},a=Object.assign(i()(this.get(),ev),r,{type:this.get(),title:r.title||(r.name?m()(r.name):""),options:o,orderings:r.orderings||(0===(n=ei.filter(e=>r.fields.some(t=>ea(t)&&t.name===e))).length&&(n=r.fields.filter(ea).map(e=>e.name)),n.map(e=>({name:e,title:C()(m()(e)),by:[{field:e,direction:"asc"}]}))),fields:r.fields.map(e=>{let{name:n,fieldset:r,group:i,...o}=e;return X({name:n,group:i,fieldset:r},"type",()=>t({...o,title:e.title||m()(n)}))})});return X(a,"fieldsets",()=>ew(r,a.fields)),X(a,"groups",()=>(function(e,t){var n;let r=e.groups||[],i=r.map(e=>{let{name:t,title:n,description:r,icon:i,readOnly:o,hidden:a}=e;return{name:t,title:n,description:r,icon:i,readOnly:o,default:e.default,hidden:a,fields:[]}}),o=i.filter(e=>e.default);if(o.length>1)throw Error("You currently have ".concat(o.length," default field groups defined for type '").concat(e.name?m()(e.name):null!=(n=e.title)?n:"","', but only 1 is supported"));let a=p()(i,"name");return t.forEach(t=>{if(t.group){let n=c()(t.group);n.length>0&&n.forEach(n=>{var r,i;let o=a[n];if(!o)throw Error("Field group '".concat(n,"' is not defined in schema for type '").concat(null!=(i=null!=(r=e.name)?r:e.title)?i:"","'"));o.fields.push(t)})}}),f()(a).filter(e=>e.fields.length>0)})(r,a.fields)),X(a,"preview",er(r)),X(a,"__experimental_search",()=>{var e;let t=r.__experimental_search?es(r.__experimental_search):null;return t?t.map(e=>"defaults"===e?es(r):e):((e=a)[el]||(e[el]=S()([...ep,...em(e),...(function(e,t){let n=(e,t,n)=>"string"===t.jsonType?[...e,n]:e;return eh(e,n,[],[],4)})(e,0).map(e=>({weight:1,path:e})),...(function(e,t){let n=(e,t,n)=>ef(t)?[...e,n]:e;return eh(e,n,[],[],4)})(e,0).map(e=>({weight:1,path:e,mapWith:"pt::text"}))],e=>e.path.join("."))),e[el])},{enumerable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "object"');let o=Object.assign({},t,i()(n,ev),{title:n.title||r.title||(r.name?m()(r.name):""),type:t});return X(o,"__experimental_search",()=>t.__experimental_search),e(o)}}}(a)}};function ew(e,t){let n=e.fieldsets||[],r=n.map(e=>{let{name:t,title:n,description:r,options:i,group:o,hidden:a,readOnly:s}=e;return{name:t,title:n,description:r,options:i,group:o,fields:[],hidden:a,readOnly:s}}),i=p()(r,"name");return t.map(t=>{if(t.fieldset){let n=i[t.fieldset];if(!n)throw Error("Fieldset '".concat(t.fieldset,"' is not defined in schema for type '").concat(e.name,"'"));return n.fields.push(t),1===n.fields.length?n:null}return{single:!0,field:t}}
1).filter(Boolean)}let eb=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],ex=[...j],eC={name:"reference",title:"Reference",type:null,jsonType:"object"},eE=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference marker",type:"boolean"}],ek=[...j],e_={name:"crossDatasetReference",type:null,jsonType:"object"},eA={name:"asset",type:"reference",to:[{type:"sanity.imageAsset"}]},eR={name:"hotspot",type:"sanity.imageHotspot"},eS={name:"crop",type:"sanity.imageCrop"},ej=[...j],eM={name:"image",title:"Image",type:null,jsonType:"object"},eP={},eL={name:"asset",type:"reference",to:{type:"sanity.fileAsset"}},eI=[...j],eO={name:"file",title:"File",type:null,jsonType:"object"},eD={accept:""},eT={name:"document",title:"Document",type:null,jsonType:"object"},eN={get:()=>eT,extend:ey.extend},eF=[...j],eH={name:"array",type:null,jsonType:"array",of:[]},eV={type:"text",name:"text",title:"Text"},ez={name:"marks",type:"array",of:[{type:"string"}],title:"Marks"},eB={bullet:{title:"Bullet",value:"bullet"},numbered:{title:"Numbered",value:"number"}},eU=[eB.bullet,eB.numbered],eZ={normal:{title:"Normal",value:"normal"},h1:{title:"Heading 1",value:"h1"},h2:{title:"Heading 2",value:"h2"},h3:{title:"Heading 3",value:"h3"},h4:{title:"Heading 4",value:"h4"},h5:{title:"Heading 5",value:"h5"},h6:{title:"Heading 6",value:"h6"},blockquote:{title:"Quote",value:"blockquote"}},eW=[eZ.normal,eZ.h1,eZ.h2,eZ.h3,eZ.h4,eZ.h5,eZ.h6,eZ.blockquote],eG={strong:{title:"Strong",value:"strong"},em:{title:"Emphasis",value:"em"},code:{title:"Code",value:"code"},underline:{title:"Underline",value:"underline"},strikeThrough:{title:"Strike",value:"strike-through"}},eq=[eG.strong,eG.em,eG.code,eG.underline,eG.strikeThrough],e$=["type","name","title","jsonType","description","options","fieldsets","icon"],eX={name:"block",title:"Block",type:null,jsonType:"object"},eY={},eK=[{type:"object",name:"link",options:{modal:{type:"popover"}},fields:[{name:"href",type:"url",title:"Url",validation:e=>e.uri({scheme:["http","https","tel","mailto"],allowRelative:!0})}]}],eJ=["type","name","title","jsonType","description","options","fieldsets","icon"],eQ={name:"span",title:"Span",type:null,jsonType:"object"},e1={name:"marks",title:"Marks",type:"array",of:[{type:"string"}]},e0={name:"text",title:"Text",type:"string"},e5={};var e2=Object.freeze({__proto__:null,any:{get:()=>P,extend(e,t){let n=Object.assign(i()(P,M),e,{type:P,of:e.of.map(e=>({name:e.name,type:t(a()(e,"name"))}))});return function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=Object.assign({},t,i()(n,M),{type:t});return e(r)}}}(n)}},array:{get:()=>eH,extend(e,t){let n=Object.assign(i()(eH,eF),e,{type:eH});return X(n,"of",()=>e.of.map(e=>t(e))),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=Object.assign({},t,i()(n,eF),{type:t});return e(r)}}}(n)}},block:{get:()=>eX,extend(e,t){var n;let r={...e.options||eY},{marks:o,styles:a,lists:s,of:l,...u}=e,c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{name:"children",title:"Content",type:"array",of:[{type:"span",fields:[eV,ez],annotations:e&&e.annotations?e.annotations:eK,decorators:e&&e.decorators?e.decorators:eq},...t.filter(e=>"span"!==e.type)]}}(o,l),d={name:"style",title:"Style",type:"string",options:{list:(n=a||eW).some(e=>"normal"===e.value)?n:[eZ.normal,...n]}},f={name:"markDefs",title:"Mark definitions",type:"array",of:(null==o?void 0:o.annotations)||eK},h=[c,d,{name:"list",title:"List type",type:"string",options:{list:s||eU}},f].concat(e.fields||[]),p=Object.assign(i()(eX,e$),u,{type:eX,options:r});return X(p,"fields",()=>h.map(e=>{let{name:n,...r}=e;return{name:n,type:t(r)}})),X(p,"preview",er(e)),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "block"');let r=Object.assign({},t,i()(n,e$),{type:t});return e(r)}}}(p)}},boolean:{get:()=>B,extend(e){let t=Object.assign(i()(B,z),e,{type:B,preview:L});return function e(t){return{get:()=>t,extend:n=>{let r=Object.assign({},t,i()(n,z),{type:t});return e(r)}}}(t)}},crossDatasetReference:{get:()=>e_,extend(e,t){if(!e.to)throw Error('Missing "to" field in cross dataset reference definition. Check the type '.concat(e.name));let n=Object.assign(i()(e_,ek),e,{type:e_});return X(n,"fields",()=>eE.map(e=>{let{name:n,...r}=e;return{name:n,type:t(r)}})),X(n,"to",()=>l()(e.to).map(e=>{var t;return{...e,__experimental_search:((t=e)[el]||(t[el]=S()([...ep,...em(t)],e=>e.path.join("."))),t[el])}})),X(n,"title",()=>e.title||(n.to&&0!==n.to.length?"Cross dataset reference to ".concat((function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return"".concat(r.join(", ")," ").concat("or"," ").concat(i)})(l()(n.to).map(e=>e.title||C()(e.type)),0).toLowerCase()):"Cross dataset Reference")),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=Object.assign({},t,i()(n,ek),{type:t});return e(r)}}}(n)}},date:{get:()=>V,extend(e){let t=Object.assign(i()(V,H),e,{type:V,preview:L});return function e(t){return{get:()=>t,extend:n=>{let r=Object.assign({},t,i()(n,H),{type:t});return e(r)}}}(t)}},datetime:{get:()=>F,extend(e){let t=Object.assign(i()(F,N),e,{type:F,preview:L});return function e(t){return{get:()=>t,extend:n=>{let r=Object.assign({},t,i()(n,N),{type:t});return e(r)}}}(t)}},document:eN,email:{get:()=>G,extend(e){let t=Object.assign(i()(G,W),e,{type:G,preview:L});return function e(t){return{get:()=>t,extend:n=>{let r=Object.assign({},t,i()(n,W),{type:t});return e(r)}}}(t)}},file:{get:()=>eO,extend(e,t){let n={...e.options||eD},r=[eL,...e.fields||[]],o=Object.assign(i()(eO,eI),e,{type:eO,options:n,isCustomized:Bo
1olean(e.fields)});return X(o,"fields",()=>r.map(e=>{let{name:n,fieldset:r,...i}=e;return{name:n,fieldset:r,type:t(i)}})),X(o,"fieldsets",()=>ew(e,o.fields)),X(o,"preview",er(Object.assign({},e,{fields:r}))),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "file"');let r=Object.assign({},t,i()(n,eI),{type:t});return e(r)}}}(o)}},image:{get:()=>eM,extend(e,t){let n={...e.options||eP},r=[eR,eS];n.hotspot||(r=r.map(e=>({...e,hidden:!0})));let o=[eA,...r,...e.fields||[]],a=Object.assign(i()(eM,ej),e,{type:eM,title:e.title||m()(e.name||e.type||""),options:n,isCustomized:Boolean(e.fields)});return X(a,"fields",()=>o.map(e=>{let{name:n,fieldset:r,...i}=e;return{name:n,fieldset:r,type:t(i)}})),X(a,"fieldsets",()=>ew(e,a.fields)),X(a,"preview",er(Object.assign({},e,{fields:o}))),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "image"');let r=Object.assign({},t,i()(n,ej),{type:t});return e(r)}}}(a)}},number:{get:()=>$,extend(e){let t=Object.assign(i()($,q),e,{type:$,preview:L});return function e(t){return{get:()=>t,extend:n=>{let r=Object.assign({},t,i()(n,q),{type:t});return e(r)}}}(t)}},object:ey,reference:{get:()=>eC,extend(e,t){if(!e.to)throw Error('Missing "to" field in reference definition. Check the type '.concat(e.name));let n=Object.assign(i()(eC,ex),e,{type:eC});return X(n,"fields",()=>eb.map(e=>{let{name:n,...r}=e;return{name:n,type:t(r)}})),X(n,"fieldsets",()=>ew(e,n.fields)),X(n,"to",()=>l()(e.to).map(e=>t(e))),X(n,"title",()=>e.title||(n.to&&0!==n.to.length?"Reference to ".concat((function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return"".concat(r.join(", ")," ").concat("or"," ").concat(i)})(l()(n.to).map(e=>e.title),0).toLowerCase()):"Reference")),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=Object.assign({},t,i()(n,ex),{type:t});return e(r)}}}(n)}},span:{get:()=>eQ,extend(e,t){let n={...e.options||e5},{annotations:r=[],marks:o=[]}=e,a=[e1,e0],s=Object.assign(i()(eQ,eJ),e,{type:eQ,options:n});return X(s,"fields",()=>a.map(e=>{let{name:n,...r}=e;return{name:n,type:t(r)}})),X(s,"annotations",()=>r.map(t)),X(s,"marks",()=>o.map(t)),X(s,"preview",er(e)),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "span"');let r=Object.assign({},t,i()(n,eJ),{type:t});return e(r)}}}(s)}},string:{get:()=>O,extend(e){let t=Object.assign(i()(O,I),e,{type:O,preview:L});return function e(t){return{get:()=>t,extend:n=>{let r=Object.assign({},t,i()(n,I),{type:t});return e(r)}}}(t)}},text:{get:()=>T,extend(e){let t=Object.assign(i()(T,D),e,{type:T,preview:L});return function e(t){return{get:()=>t,extend:n=>{let r=Object.assign({},t,i()(n,D),{type:t});return e(r)}}}(t)}},url:{get:()=>Z,extend(e){let t=Object.assign(i()(Z,U),e,{type:Z,preview:L});return function e(t){return{get:()=>t,extend:n=>{let r=Object.assign({},t,i()(n,U),{type:t});return e(r)}}}(t)}}});class e8{static compile(e){return new e8(e)}constructor(e){this._original=e,this._registry=function(e){let t=Object.assign(Object.create(null),e2),n=e.types.reduce((e,t)=>{if(e[t.name])throw Error("Duplicate type name added to schema: ".concat(t.name));return e[t.name]=t,e},{});return e.types.forEach(o),t;function r(e){if(!t[e]){if(!n[e])throw Error("Unknown type: ".concat(e));o(n[e])}}function i(e){return r(e.type),t[e.type].extend(e,i).get()}function o(e){r(e.type),t[e.name]||(t[e.name]=t[e.type].extend(e,i))}}(e)}get name(){return this._original.name}get(e){return this._registry[e]&&this._registry[e].get()}has(e){return e in this._registry}getTypeNames(){return Object.keys(this._registry)}}},74362:function(e,t,n){"use strict";n.d(t,{CX:function(){return tE},F3:function(){return tt},mH:function(){return tv},vt:function(){return eC},_7:function(){return ey},BU:function(){return tx}});var r=n(67294),i=n(77493),o=n(6907),a=n.n(o),s=n(23279),l=n.n(s),u=n(23493),c=n.n(u);function d(e){return"object"==typeof e&&null!=e&&1===e.nodeType}
1function f(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function h(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n,r=getComputedStyle(e,null);return f(r.overflowY,t)||f(r.overflowX,t)||!!(n=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}}(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1}function p(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}var g=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!d(e))throw TypeError("Invalid target");for(var u,c,f=document.scrollingElement||document.documentElement,g=[],m=e;d(m)&&l(m);){if((m=null==(c=(u=m).parentElement)?u.getRootNode().host||null:c)===f){g.push(m);break}null!=m&&m===document.body&&h(m)&&!h(document.documentElement)||null!=m&&h(m,s)&&g.push(m)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,y=n.visualViewport?n.visualViewport.height:innerHeight,w=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),C=x.height,E=x.width,k=x.top,_=x.right,A=x.bottom,R=x.left,S="start"===i||"nearest"===i?k:"end"===i?A:k+C/2,j="center"===o?R+E/2:"end"===o?_:R,M=[],P=0;P<g.length;P++){var L=g[P],I=L.getBoundingClientRect(),O=I.height,D=I.width,T=I.top,N=I.right,F=I.bottom,H=I.left;if("if-needed"===r&&k>=0&&R>=0&&A<=y&&_<=v&&k>=T&&A<=F&&R>=H&&_<=N)break;var V=getComputedStyle(L),z=parseInt(V.borderLeftWidth,10),B=parseInt(V.borderTopWidth,10),U=parseInt(V.borderRightWidth,10),Z=parseInt(V.borderBottomWidth,10),W=0,G=0,q="offsetWidth"in L?L.offsetWidth-L.clientWidth-z-U:0,$="offsetHeight"in L?L.offsetHeight-L.clientHeight-B-Z:0,X="offsetWidth"in L?0===L.offsetWidth?0:D/L.offsetWidth:0,Y="offsetHeight"in L?0===L.offsetHeight?0:O/L.offsetHeight:0;if(f===L)W="start"===i?S:"end"===i?S-y:"nearest"===i?p(b,b+y,y,B,Z,b+S,b+S+C,C):S-y/2,G="start"===o?j:"center"===o?j-v/2:"end"===o?j-v:p(w,w+v,v,z,U,w+j,w+j+E,E),W=Math.max(0,W+b),G=Math.max(0,G+w);else{W="start"===i?S-T-B:"end"===i?S-F+Z+$:"nearest"===i?p(T,F,O,B,Z+$,S,S+C,C):S-(T+O/2)+$/2,G="start"===o?j-H-z:"center"===o?j-(H+D/2)+q/2:"end"===o?j-N+U+q:p(H,N,D,z,U+q,j,j+E,E);var K=L.scrollLeft,J=L.scrollTop;S+=J-(W=Math.max(0,Math.min(J+W/Y,L.scrollHeight-O/Y+$))),j+=K-(G=Math.max(0,Math.min(K+G/X,L.scrollWidth-D/X+q)))}M.push({el:L,top:W,left:G})}return M};function m(e){return e===Object(e)&&0!==Object.keys(e).length}var v=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(m(t)&&"function"==typeof t.behavior)return t.behavior(n?g(e,t):[]);if(n){var r=!1===t?{block:"end",inline:"nearest"}:m(t)?t:{block:"start",inline:"nearest"};return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(e){var r=e.el,i=e.top,o=e.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:t}):(r.scrollTop=i,r.scrollLeft=o)})}(g(e,r),r.behavior)}},y=n(18156),w=n(73935);function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var C=parseInt(r.version.split(".")[0],10)>=17,E="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,k="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),_="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),A="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),R="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),S="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),j="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),M="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),P="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),L="undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),I="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),O="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent),D=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),T=!M&&!S&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,N=D?r.useLayoutEffect:r.useEffect,F=e=>{var{isLast:t,leaf:n,parent:o,text:a}=e,s=ey(),l=tt.findPath(s,a),u=i.y$.parent(l);
1return s.isVoid(o)?r.createElement(V,{length:i.NB.string(o).length}):""!==n.text||o.children[o.children.length-1]!==a||s.isInline(o)||""!==i.ML.string(s,u)?""===n.text?r.createElement(V,null):t&&"\n"===n.text.slice(-1)?r.createElement(H,{isTrailing:!0,text:n.text}):r.createElement(H,{text:n.text}):r.createElement(V,{isLineBreak:!0})},H=e=>{var{text:t,isTrailing:n=!1}=e,i=(0,r.useRef)(null),o=()=>"".concat(null!=t?t:"").concat(n?"\n":"");return(N(()=>{var e=o();i.current&&i.current.textContent!==e&&(i.current.textContent=e)}),i.current)?r.createElement("span",{"data-slate-string":!0,ref:i}):r.createElement("span",{"data-slate-string":!0,ref:i},o())},V=e=>{var{length:t=0,isLineBreak:n=!1}=e;return r.createElement("span",{"data-slate-zero-width":n?"n":"z","data-slate-length":t},"\uFEFF",n?r.createElement("br",null):null)},z=new WeakMap,B=new WeakMap,U=new WeakMap,Z=new WeakMap,W=new WeakMap,G=new WeakMap,q=new WeakMap,$=new WeakMap,X=new WeakMap,Y=new WeakMap,K=new WeakMap,J=new WeakMap,Q=new WeakMap,ee=new WeakMap,et=new WeakMap,en=new WeakMap,er=Symbol("placeholder"),ei=e=>{var{leaf:t,isLast:n,text:i,parent:o,renderPlaceholder:a,renderLeaf:s=e=>r.createElement(ea,Object.assign({},e))}=e,l=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e=null==l?void 0:l.current,t=document.querySelector('[data-slate-editor="true"]');if(e&&t)return t.style.minHeight="".concat(e.clientHeight,"px"),()=>{t.style.minHeight="auto"}},[l,t]);var u=r.createElement(F,{isLast:n,leaf:t,parent:o,text:i});if(t[er]){var c={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none"},contentEditable:!1,ref:l}};u=r.createElement(r.Fragment,null,a(c),u)}return s({attributes:{"data-slate-leaf":!0},children:u,leaf:t,text:i})},eo=r.memo(ei,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&i.xv.equals(t.leaf,e.leaf)&&t.leaf[er]===e.leaf[er]),ea=e=>{var{attributes:t,children:n}=e;return r.createElement("span",Object.assign({},t),n)},es=["anchor","focus"],el=["anchor","focus"],eu=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>t.hasOwnProperty(n)&&e[n]===t[n]),ec=(e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n],a=x(r,es),s=x(o,el);if(!i.e6.equals(r,o)||r[er]!==o[er]||!eu(a,s))return!1}return!0};function ed(e){var t=(0,r.useRef)(0),n=(0,r.useRef)(null),[,i]=(0,r.useState)(0);return(0,r.useEffect)(()=>(en.set(e,()=>{!n.current&&(n.current=requestAnimationFrame(()=>{i(e=>e+1),n.current=null}),t.current++)}),()=>{en.delete(e)}),[e]),n.current&&(cancelAnimationFrame(n.current),n.current=null),t.current}var ef=e=>{for(var{decorations:t,isLast:n,parent:o,renderPlaceholder:a,renderLeaf:s,text:l}=e,u=ey(),c=(0,r.useRef)(null),d=i.xv.decorations(l,t),f=tt.findKey(u,l),h=[],p=0;p<d.length;p++){var g=d[p];h.push(r.createElement(eo,{isLast:n&&p===d.length-1,key:"".concat(f.id,"-").concat(p),renderPlaceholder:a,leaf:g,text:l,parent:o,renderLeaf:s}))}N(()=>{var e=$.get(u);c.current?(null==e||e.set(f,c.current),G.set(l,c.current),W.set(c.current,l)):(null==e||e.delete(f),G.delete(l))});var m=_?ed(l):void 0;return r.createElement("span",{"data-slate-node":"text",ref:c,key:m},h)},eh=r.memo(ef,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&ec(t.decorations,e.decorations)),ep=e=>{var{decorations:t,element:n,renderElement:o=e=>r.createElement(em,Object.assign({},e)),renderPlaceholder:s,renderLeaf:l,selection:u}=e,c=(0,r.useRef)(null),d=ey(),f=eM(),h=d.isInline(n),p=tt.findKey(d,n),g=eE({decorations:t,node:n,renderElement:o,renderPlaceholder:s,renderLeaf:l,selection:u}),m={"data-slate-node":"element",ref:c};if(h&&(m["data-slate-inline"]=!0),!h&&i.ML.hasInlines(d,n)){var v=i.NB.string(n),y=a()(v);"rtl"===y&&(m.dir=y)}if(i.ML.isVoid(d,n)){m["data-slate-void"]=!0,!f&&h&&(m.contentEditable=!1);var[[w]]=i.NB.texts(n);g=r.createElement(h?"span":"div",{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},r.createElement(eh,{renderPlaceholder:s,decorations:[],isLast:!1,parent:n,text:w})),z.set(w,0),B.set(w,n)}N(()=>{var e=$.get(d);c.current?(null==e||e.set(p,c.current),G.set(n,c.current),W.set(c.current,n)):(null==e||e.delete(p),G.delete(n))});var b=o({attributes:m,children:g,element:n});if(_){var x=ed(n);return r.createElement(r.Fragment,{key:x},b)}return b},eg=r.memo(ep,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&ec(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&i.e6.equals(e.selection,t.selection))),em=e=>{var{attributes:t,children:n,element:i}=e,o=ey().isInline(i)?"span":"div";return r.createElement(o,Object.assign({},t,{style:{position:"relative"}}
1),n)},ev=(0,r.createContext)(null),ey=()=>{var e=(0,r.useContext)(ev);if(!e)throw Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},ew=(0,r.createContext)(()=>[]),eb=()=>(0,r.useContext)(ew),ex=(0,r.createContext)(!1),eC=()=>(0,r.useContext)(ex),eE=e=>{for(var{decorations:t,node:n,renderElement:o,renderPlaceholder:a,renderLeaf:s,selection:l}=e,u=eb(),c=ey(),d=tt.findPath(c,n),f=[],h=i.W_.isElement(n)&&!c.isInline(n)&&i.ML.hasInlines(c,n),p=0;p<n.children.length;p++){var g=d.concat(p),m=n.children[p],v=tt.findKey(c,m),y=i.ML.range(c,g),w=l&&i.e6.intersection(y,l),b=u([m,g]);for(var x of t){var C=i.e6.intersection(x,y);C&&b.push(C)}i.W_.isElement(m)?f.push(r.createElement(ex.Provider,{key:"provider-".concat(v.id),value:!!w},r.createElement(eg,{decorations:b,element:m,key:v.id,renderElement:o,renderPlaceholder:a,renderLeaf:s,selection:w}))):f.push(r.createElement(eh,{decorations:b,key:v.id,isLast:h&&p===n.children.length-1,parent:n,renderPlaceholder:a,renderLeaf:s,text:m})),z.set(m,p),B.set(m,n)}return f},ek={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveUp:"up",moveDown:"down",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",extendUp:"shift+up",extendDown:"shift+down",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},e_={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},eA={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},eR=e=>{var t=ek[e],n=e_[e],r=eA[e],i=t&&(0,y.TB)(t),o=n&&(0,y.TB)(n),a=r&&(0,y.TB)(r);return e=>!!(i&&i(e)||k&&o&&o(e)||!k&&a&&a(e))},eS={isBold:eR("bold"),isCompose:eR("compose"),isMoveBackward:eR("moveBackward"),isMoveForward:eR("moveForward"),isDeleteBackward:eR("deleteBackward"),isDeleteForward:eR("deleteForward"),isDeleteLineBackward:eR("deleteLineBackward"),isDeleteLineForward:eR("deleteLineForward"),isDeleteWordBackward:eR("deleteWordBackward"),isDeleteWordForward:eR("deleteWordForward"),isExtendBackward:eR("extendBackward"),isExtendForward:eR("extendForward"),isExtendDown:eR("extendDown"),isExtendUp:eR("extendUp"),isExtendLineBackward:eR("extendLineBackward"),isExtendLineForward:eR("extendLineForward"),isItalic:eR("italic"),isMoveUp:eR("moveDown"),isMoveDown:eR("moveUp"),isMoveLineBackward:eR("moveLineBackward"),isMoveLineForward:eR("moveLineForward"),isMoveWordBackward:eR("moveWordBackward"),isMoveWordForward:eR("moveWordForward"),isRedo:eR("redo"),isSoftBreak:eR("insertSoftBreak"),isSplitBlock:eR("splitBlock"),isTransposeCharacter:eR("transposeCharacter"),isUndo:eR("und
1o")},ej=(0,r.createContext)(!1),eM=()=>(0,r.useContext)(ej),eP=(0,r.createContext)(null),eL=()=>{var e=(0,r.useContext)(eP);if(!e)throw Error("The `useSlate` hook must be used inside the <Slate> component's context.");var[t]=e;return t},eI=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,eO=e=>eT(e)&&8===e.nodeType,eD=e=>eT(e)&&1===e.nodeType,eT=e=>{var t=eI(e);return!!t&&e instanceof t.Node},eN=e=>{var t=e&&e.anchorNode&&eI(e.anchorNode);return!!t&&e instanceof t.Selection},eF=e=>eT(e)&&3===e.nodeType,eH=e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length,eV=e=>{var[t,n]=e;if(eD(t)&&t.childNodes.length){var r=n===t.childNodes.length,i=r?n-1:n;for([t,i]=eB(t,i,r?"backward":"forward"),r=i<n;eD(t)&&t.childNodes.length;){var o=r?t.childNodes.length-1:0;t=eU(t,o,r?"backward":"forward")}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]},ez=()=>!!(window.document.activeElement&&window.document.activeElement.shadowRoot),eB=(e,t,n)=>{for(var{childNodes:r}=e,i=r[t],o=t,a=!1,s=!1;(eO(i)||eD(i)&&0===i.childNodes.length||eD(i)&&"false"===i.getAttribute("contenteditable"))&&(!a||!s);){if(o>=r.length){a=!0,o=t-1,n="backward";continue}if(o<0){s=!0,o=t+1,n="forward";continue}i=r[o],t=o,o+="forward"===n?1:-1}return[i,t]},eU=(e,t,n)=>{var[r]=eB(e,t,n);return r},eZ=e=>{var t="";if(eF(e)&&e.nodeValue)return e.nodeValue;if(eD(e)){for(var n of Array.from(e.childNodes))t+=eZ(n);var r=getComputedStyle(e).getPropertyValue("display");("block"===r||"list"===r||"BR"===e.tagName)&&(t+="\n")}return t},eW=/data-slate-fragment="(.+?)"/m,eG=e=>{var[,t]=e.getData("text/html").match(eW)||[];return t},eq=e=>{if(!e.getData("application/x-slate-fragment")){var t=eG(e);if(t){var n=new DataTransfer;return e.types.forEach(t=>{n.setData(t,e.getData(t))}),n.setData("application/x-slate-fragment",t),n}}return e},e$=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as"];function eX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eX(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eX(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eK=e=>r.createElement(r.Fragment,null,eE(e)),eJ=e=>{var{autoFocus:t,decorate:n=e1,onDOMBeforeInput:o,placeholder:s,readOnly:u=!1,renderElement:d,renderLeaf:f,renderPlaceholder:h=e=>r.createElement(eQ,Object.assign({},e)),scrollSelectionIntoView:p=e0,style:g={},as:m="div"}=e,v=x(e,e$),y=eL(),[w,b]=(0,r.useState)(!1),C=(0,r.useRef)(null),k=(0,r.useRef)([]);X.set(y,u);var _=(0,r.useMemo)(()=>({hasInsertPrefixInCompositon:!1,isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null}),[]);N(()=>{C.current&&(e=eI(C.current))?(U.set(y,e),Z.set(y,C.current),G.set(y,C.current),W.set(C.current,y)):G.delete(y);var e,t,{selection:n}=y,r=tt.findDocumentOrShadowRoot(y).getSelection();if(!tt.isComposing(y)&&r&&tt.isFocused(y)){var o="None"!==r.type;if(n||o){var a=Z.get(y),s=!1;if(a.contains(r.anchorNode)&&a.contains(r.focusNode)&&(s=!0),o&&s&&n){var l=tt.toSlateRange(y,r,{exactMatch:!0,suppressThrow:!0});if(l&&i.e6.equals(l,n))return}if(n&&!tt.hasRange(y,n)){try{y.selection=tt.toSlateRange(y,r,{exactMatch:!1,suppressThrow:!1})}catch(u){}return}_.isUpdatingSelection=!0;try{t=n&&s?tt.toDOMRange(y,n):void 0}catch(c){}if(t){var d=t.startOffset;if(A&&n&&1===d&&1===t.endOffset&&"\uFEFF"===t[i.e6.isBackward(n)?"endContainer":"startContainer"].textContent){var f=i.NB.parent(y,n.focus.path);i.ML.isVoid(y,f)&&(d=0)}i.e6.isBackward(n)?r.setBaseAndExtent(t.endContainer,t.endOffset,t.startContainer,d):r.setBaseAndExtent(t.startContainer,d,t.endContainer,t.endOffset),p(y,t)}else r.removeAllRanges();setTimeout(()=>{t&&A&&tt.toDOMNode(y,y).focus(),_.isUpdatingSelection=!1})}}}),(0,r.useEffect)(()=>{C.current&&t&&C.current.focus()},[t]);var S=(0,r.useCallback)(c()(()=>
1{if(!tt.isComposing(y)&&!_.isUpdatingSelection&&!_.isDraggingInternally){var e=tt.findDocumentOrShadowRoot(y),{activeElement:t}=e,n=tt.toDOMNode(y,y),r=e.getSelection();if(t===n?(_.latestElement=t,Y.set(y,!0)):Y.delete(y),!r)return i.YR.deselect(y);var{anchorNode:o,focusNode:a}=r,s=e2(y,o)||e8(y,o),l=e2(y,a)||e8(y,a);if(s&&l){var u=tt.toSlateRange(y,r,{exactMatch:!1,suppressThrow:!1});i.YR.select(y,u)}}},100),[u]),M=(0,r.useMemo)(()=>l()(S,0),[S]),F=(0,r.useCallback)(e=>{if(!u&&e2(y,e.target)&&!e4(e,o)){M.flush(),S.flush();var{selection:t}=y,{inputType:n}=e,r=e.dataTransfer||e.data||void 0;if("insertCompositionText"!==n&&"deleteCompositionText"!==n){var a=!1;if("insertText"===n&&t&&i.e6.isCollapsed(t)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==t.anchor.offset){a=!0,y.marks&&(a=!1);var{anchor:s}=t,[l,c]=tt.toDOMPoint(y,s),d=null===(h=l.parentElement)||void 0===h?void 0:h.closest("a");if(d&&tt.hasDOMNode(y,d)){var f,h,p,{document:g}=tt.getWindow(y),m=g.createTreeWalker(d,NodeFilter.SHOW_TEXT).lastChild();m===l&&(null===(p=m.textContent)||void 0===p?void 0:p.length)===c&&(a=!1)}}if(!n.startsWith("delete")||n.startsWith("deleteBy")){var[v]=e.getTargetRanges();if(v){var w=tt.toSlateRange(y,v,{exactMatch:!1,suppressThrow:!1});if(!t||!i.e6.equals(t,w)){a=!1;var x=y.selection&&i.ML.rangeRef(y,y.selection);i.YR.select(y,w),x&&Q.set(y,x)}}}if(a||e.preventDefault(),t&&i.e6.isExpanded(t)&&n.startsWith("delete")){var C=n.endsWith("Backward")?"backward":"forward";i.ML.deleteFragment(y,{direction:C});return}switch(n){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":i.ML.deleteFragment(y);break;case"deleteContent":case"deleteContentForward":i.ML.deleteForward(y);break;case"deleteContentBackward":i.ML.deleteBackward(y);break;case"deleteEntireSoftLine":i.ML.deleteBackward(y,{unit:"line"}),i.ML.deleteForward(y,{unit:"line"});break;case"deleteHardLineBackward":i.ML.deleteBackward(y,{unit:"block"});break;case"deleteSoftLineBackward":i.ML.deleteBackward(y,{unit:"line"});break;case"deleteHardLineForward":i.ML.deleteForward(y,{unit:"block"});break;case"deleteSoftLineForward":i.ML.deleteForward(y,{unit:"line"});break;case"deleteWordBackward":i.ML.deleteBackward(y,{unit:"word"});break;
1case"deleteWordForward":i.ML.deleteForward(y,{unit:"word"});break;case"insertLineBreak":i.ML.insertSoftBreak(y);break;case"insertParagraph":i.ML.insertBreak(y);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":var{selection:E}=y;E&&i.e6.isExpanded(E)&&i.ML.deleteFragment(y),"insertFromComposition"===n&&tt.isComposing(y)&&(b(!1),K.set(y,!1)),(null==r?void 0:r.constructor.name)==="DataTransfer"?tt.insertData(y,r):"string"==typeof r&&(a?k.current.push(()=>i.ML.insertText(y,r)):i.ML.insertText(y,r))}var _=null===(f=Q.get(y))||void 0===f?void 0:f.unref();Q.delete(y),!_||y.selection&&i.e6.equals(y.selection,_)||i.YR.select(y,_)}}},[u,o]);N(()=>(C.current&&T&&C.current.addEventListener("beforeinput",F),()=>{C.current&&T&&C.current.removeEventListener("beforeinput",F)}),[F]),N(()=>{var e=tt.getWindow(y);return e.document.addEventListener("selectionchange",M),()=>{e.document.removeEventListener("selectionchange",M)}},[M]);var H=n([y,[]]);
1if(s&&1===y.children.length&&1===Array.from(i.NB.texts(y)).length&&""===i.NB.string(y)&&!w){var V=i.ML.start(y,[]);H.push({[er]:!0,placeholder:s,anchor:V,focus:V})}return r.createElement(ej.Provider,{value:u},r.createElement(ew.Provider,{value:n},r.createElement(m,Object.assign({role:u?void 0:"textbox"},v,{spellCheck:(!!T||!D)&&v.spellCheck,autoCorrect:T||!D?v.autoCorrect:"false",autoCapitalize:T||!D?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!u,zindex:-1,suppressContentEditableWarning:!0,ref:C,style:eY({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},g),onBeforeInput:(0,r.useCallback)(e=>{if(!T&&!u&&!e3(e,v.onBeforeInput)&&e2(y,e.target)&&(e.preventDefault(),!tt.isComposing(y))){var t=e.data;i.ML.insertText(y,t)}},[u]),onInput:(0,r.useCallback)(e=>{for(var t of k.current)t();k.current=[]},[]),onBlur:(0,r.useCallback)(e=>{if(!(u||_.isUpdatingSelection||!e2(y,e.target)||e3(e,v.onBlur))){var t=tt.findDocumentOrShadowRoot(y);if(_.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(!(n===tt.toDOMNode(y,y)||eD(n)&&n.hasAttribute("data-slate-spacer"))){if(null!=n&&eT(n)&&tt.hasDOMNode(y,n)){var r=tt.toSlateNode(y,n);if(i.W_.isElement(r)&&!y.isVoid(r))return}if(R){var o=t.getSelection();null==o||o.removeAllRanges()}Y.delete(y)}}}},[u,v.onBlur]),onClick:(0,r.useCallback)(e=>{if(e5(y,e.target)&&!e3(e,v.onClick)&&eT(e.target)){var t=tt.toSlateNode(y,e.target),n=tt.findPath(y,t);if(i.ML.hasPath(y,n)&&i.NB.get(y,n)===t){if(3===e.detail&&n.length>=1){var r=n;if(!i.ML.isBlock(y,t)){var o,a=i.ML.above(y,{match:e=>i.ML.isBlock(y,e),at:n});r=null!==(o=null==a?void 0:a[1])&&void 0!==o?o:n.slice(0,1)}var s=i.ML.range(y,r);i.YR.select(y,s);return}if(!u){var l=i.ML.start(y,n),c=i.ML.end(y,n),d=i.ML.void(y,{at:l}),f=i.ML.void(y,{at:c});if(d&&f&&i.y$.equals(d[1],f[1])){var h=i.ML.range(y,l);i.YR.select(y,h)}}}}},[u,v.onClick]),onCompositionEnd:(0,r.useCallback)(e=>{if(e2(y,e.target)&&!e3(e,v.onCompositionEnd)&&(tt.isComposing(y)&&(b(!1),K.set(y,!1)),R||P||E||L||O||I||!e.data||i.ML.insertText(y,e.data),y.selection&&i.e6.isCollapsed(y.selection))){var t=y.selection.anchor.path,n=i.NB.leaf(y,t);_.hasInsertPrefixInCompositon&&(_.hasInsertPrefixInCompositon=!1,i.ML.withoutNormalizing(y,()=>{var e=n.text.replace(/^\uFEFF/,"");i.YR.delete(y,{distance:n.text.length,reverse:!0}),i.ML.insertText(y,e)}))}},[v.onCompositionEnd]),onCompositionUpdate:(0,r.useCallback)(e=>{!e2(y,e.target)||e3(e,v.onCompositionUpdate)||tt.isComposing(y)||(b(!0),K.set(y,!0))},[v.onCompositionUpdate]),onCompositionStart:(0,r.useCallback)(e=>{if(e2(y,e.target)&&!e3(e,v.onCompositionStart)){var{selection:t,marks:n}=y;if(t){if(i.e6.isExpanded(t)){i.ML.deleteFragment(y);return}var r=i.ML.above(y,{match:e=>i.ML.isInline(y,e),mode:"highest"});if(r){var[,o]=r;if(i.ML.isEnd(y,t.anchor,o)){var a=i.ML.after(y,o);i.YR.setSelection(y,{anchor:a,focus:a})}}n&&(_.hasInsertPrefixInCompositon=!0,i.YR.insertNodes(y,eY({text:"\uFEFF"},n),{select:!0}))}}},[v.onCompositionStart]),onCopy:(0,r.useCallback)(e=>{e2(y,e.target)&&!e3(e,v.onCopy)&&(e.preventDefault(),tt.setFragmentData(y,e.clipboardData,"copy"))},[v.onCopy]),onCut:(0,r.useCallback)(e=>{if(!u&&e2(y,e.target)&&!e3(e,v.onCut)){e.preventDefault(),tt.setFragmentData(y,e.clipboardData,"cut");var{selection:t}=y;if(t){if(i.e6.isExpanded(t))i.ML.deleteFragment(y);else{var n=i.NB.parent(y,t.anchor.path);i.ML.isVoid(y,n)&&i.YR.delete(y)}}}},[u,v.onCut]),onDragOver:(0,r.useCallback)(e=>{if(e5(y,e.target)&&!e3(e,v.onDragOver)){var t=tt.toSlateNode(y,e.target);i.ML.isVoid(y,t)&&e.preventDefault()}},[v.onDragOver]),onDragStart:(0,r.useCallback)(e=>{if(!u&&e5(y,e.target)&&!e3(e,v.onDragStart)){var t=tt.toSlateNode(y,e.target),n=tt.findPath(y,t);if(i.ML.isVoid(y,t)||i.ML.void(y,{at:n,voids:!0})){var r=i.ML.range(y,n);i.YR.select(y,r)}_.isDraggingInternally=!0,tt.setFragmentData(y,e.dataTransfer,"drag")}},[u,v.onDragStart]),onDrop:(0,r.useCallback)(e=>{if(!u&&e5(y,e.target)&&!e3(e,v.onDrop)){e.preventDefault();var t=y.selection,n=tt.findEventRange(y,e),r=e.dataTransfer;i.YR.select(y,n),_.isDraggingInternally&&t&&!i.e6.equals(t,n)&&!i.ML.void(y,{at:n,voids:!0})&&i.YR.delete(y,{at:t}),tt.insertData(y,r),tt.isFocused(y)||tt.focus(y)}_.isDraggingInternally=!1},[u,v.onDrop]),onDragEnd:(0,r.useCallback)(e=>{!u&&_.isDraggingInternally&&v.onDragEnd&&e5(y,e.target)&&v.onDragEnd(e),_.isDraggingInternally=!1},[u,v.onDragEnd]),onFocus:(0,r.useCallback)(e=>{if(!u&&!_.isUpdatingSelection&&e2(y,e.target)&&!e3(e,v.onFocus)){var t=tt.toDOMNode(y,y),n=tt.findDocumentOrShadowRoot(y);if(_.latestElement=n.activeElement,A&&e.target!==t){t.focus();return}Y.set(y,!0)}},[u,v.onFocus]),onKeyDown:(0,r.useCallback)(e=>{if(!u&&e2(y,e.target)){var{nativeEvent:t}=e;if(tt.isComposing(y)&&!1===t.isComposing&&(K.set(y,!1),b(!1)),!(e3(e,v.onKeyDown)||tt.isComposing(y))){var{selection:n}=y,r=y.children[null!==n?n.focus.path[0]:0],o="rtl"===a()(i.NB.str
1ing(r));if(eS.isRedo(t)){e.preventDefault(),"function"==typeof y.redo&&y.redo();return}if(eS.isUndo(t)){e.preventDefault(),"function"==typeof y.undo&&y.undo();return}if(eS.isMoveLineBackward(t)){e.preventDefault(),i.YR.move(y,{unit:"line",reverse:!0});return}if(eS.isMoveLineForward(t)){e.preventDefault(),i.YR.move(y,{unit:"line"});return}if(n&&(eS.isExtendUp(t)||eS.isExtendDown(t))&&y.isVoid(r)){e.preventDefault();var s=eS.isExtendUp(t);i.YR.move(y,{unit:"line",edge:"focus",reverse:s});return}if((eS.isMoveUp(t)||eS.isMoveDown(t))&&y.isVoid(r)){e.preventDefault();var l=eS.isMoveDown(t);i.YR.move(y,{unit:"line",reverse:l});return}if(eS.isExtendLineBackward(t)){e.preventDefault(),i.YR.move(y,{unit:"line",edge:"focus",reverse:!0});return}if(eS.isExtendLineForward(t)){e.preventDefault(),i.YR.move(y,{unit:"line",edge:"focus"});return}if(eS.isMoveBackward(t)){e.preventDefault(),n&&i.e6.isCollapsed(n)?i.YR.move(y,{reverse:!o}):i.YR.collapse(y,{edge:"start"});return}if(eS.isMoveForward(t)){e.preventDefault(),n&&i.e6.isCollapsed(n)?i.YR.move(y,{reverse:o}):i.YR.collapse(y,{edge:"end"});return}if(eS.isMoveWordBackward(t)){e.preventDefault(),n&&i.e6.isExpanded(n)&&i.YR.collapse(y,{edge:"focus"}),i.YR.move(y,{unit:"word",reverse:!o});return}if(eS.isMoveWordForward(t)){e.preventDefault(),n&&i.e6.isExpanded(n)&&i.YR.collapse(y,{edge:"focus"}),i.YR.move(y,{unit:"word",reverse:o});return}if(T){if((j||R)&&n&&(eS.isDeleteBackward(t)||eS.isDeleteForward(t))&&i.e6.isCollapsed(n)){var c=i.NB.parent(y,n.anchor.path);if(i.W_.isElement(c)&&i.ML.isVoid(y,c)&&i.ML.isInline(y,c)){e.preventDefault(),i.ML.deleteBackward(y,{unit:"block"});return}}}else{if(eS.isBold(t)||eS.isItalic(t)||eS.isTransposeCharacter(t)){e.preventDefault();return}if(eS.isSoftBreak(t)){e.preventDefault(),i.ML.insertSoftBreak(y);return}if(eS.isSplitBlock(t)){e.preventDefault(),i.ML.insertBreak(y);return}if(eS.isDeleteBackward(t)){e.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(y,{direction:"backward"}):i.ML.deleteBackward(y);return}if(eS.isDeleteForward(t)){e.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(y,{direction:"forward"}):i.ML.deleteForward(y);return}if(eS.isDeleteLineBackward(t)){e.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(y,{direction:"backward"}):i.ML.deleteBackward(y,{unit:"line"});return}if(eS.isDeleteLineForward(t)){e.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(y,{direction:"forward"}):i.ML.deleteForward(y,{unit:"line"});return}if(eS.isDeleteWordBackward(t)){e.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(y,{direction:"backward"}):i.ML.deleteBackward(y,{unit:"word"});return}if(eS.isDeleteWordForward(t)){e.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(y,{direction:"forward"}):i.ML.deleteForward(y,{unit:"word"});return}}}}},[u,v.onKeyDown]),onPaste:(0,r.useCallback)(e=>{!u&&e2(y,e.target)&&!e3(e,v.onPaste)&&(!T||eH(e.nativeEvent))&&(e.preventDefault(),tt.insertData(y,e.clipboardData))},[u,v.onPaste])}),r.createElement(eK,{decorations:H,node:y,renderElement:d,renderPlaceholder:h,renderLeaf:f,selection:y.selection}))))},eQ=e=>{var{attributes:t,children:n}=e;return r.createElement("span",Object.assign({},t),n)},e1=()=>[],e0=(e,t)=>{if(!e.selection||e.selection&&i.e6.isCollapsed(e.selection)){var n=t.startContainer.parentElement;n.getBoundingClientRect=t.getBoundingClientRect.bind(t),v(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},e5=(e,t)=>eT(t)&&tt.hasDOMNode(e,t),e2=(e,t)=>eT(t)&&tt.hasDOMNode(e,t,{editable:!0}),e8=(e,t)=>{if(X.get(e))return!1;var n=e5(e,t)&&tt.toSlateNode(e,t);return i.ML.isVoid(e,n)},e3=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.isDefaultPrevented()||e.isPropagationStopped()},e4=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.defaultPrevented};function e6(e,t){return e.slice(t.start,e.length-t.end)}function e7(e,t,n){var{path:r,text:o}=n,a={anchor:{path:r,offset:o.start},focus:{path:r,offset:o.end}};if(!t||!i.e6.isCollapsed(t))return a;var{insertText:s,removeText:l}=o;if((1===s.length||1===l.length)&&i.y$.equals(t.anchor.path,r)){var[u]=Array.from(i.ML.nodes(e,{at:t,match:i.xv.isText}));if(u){var[c]=u,{anchor:d}=t,f=c.text[d.offset-1],h=c.text[d.offset];if(1===s.length&&s===h)return t;if(1===l.length&&l===f)return{anchor:{path:r,offset:d.offset-1},focus:{path:r,offset:d.offset}}}}return a}var e9=0;class te{constructor(){this.id="".concat(e9++)}}var tt={isComposing:e=>!!K.get(e),getWindow(e){var t=U.get(e);if(!t)throw Error("Unable to find a host window element for this editor");return t},findKey(e,t){var n=q.get(t);return n||(n=new te,q.set(t,n)),n},findPath(e,t){for(var n=[],r=t;;){var o=B.get(r);if(null==o){if(i.ML.isEditor(r))return n;break}var a=z.get(r);if(null==a)break;n.unshift(a),r=o}throw Error("Unable to find the path for Slate node: ".concat(i.o4.stringify(t)))},findDocumentOrShadowRoot(e){var t=tt.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},isFocused:e=>!!Y.get(e),isReadOnly:e=>!!X.get(e),blur(e){var t=tt.toDOMNode(e,e),n=tt.findDocumentOrShadowRoot(e);Y.set(e,!1),n.activeElement===t&&t.blur()},focus(e){var t=tt.toDOMNode(e,e),n=tt.findDocumentOrShadowRoot(e);Y.set(e,!0),n.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){tt.toDOMNode(e,e);var{selection:t}=e,n=tt.findDocumentOrShadowRoot(e).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&i.YR.deselect(e)},hasDOMNode(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:i=!1}=r,o=tt.toDOMNode(e,e);try{n=eD(t)?t:t.parentElement}catch(a){if(!a.message.includes('Permission denied to access property "nodeType"'))throw a}return!!n&&n.closest("[data-slate-editor]")===o&&(!i||!!n.isContentEditable||"boolean"==typeof n.isContentEditable&&n.closest('[contenteditable="false"]')===o||!!n.getAttribute("data-slate-zero-width"))},insertData(e,t){e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),setFragmentData(e,t,n){e.setFragmentData(t,n)},toDOMNode(e,t){var n=$.get(e),r=i.ML.isEditor(t)?Z.get(e):null==n?void 0:n.get(tt.findKey(e,t));if(!r)throw Error("Cannot resolve a DOM node from Slate node: ".concat(i.o4.stringify(t)));return r},toDOMPoint(e,t){var n,[r]=i.ML.node(e,t.path),o=tt.toDOMNode(e,r);i.ML.void(e,{at:t})&&(t={path:t.path,offset:0});var a=Array.from(o.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;for(var l of a){var u=l.childNodes[0];if(null!=u&&null!=u.textContent){var{length:c}=u.textContent,d=l.getAttribute("data-slate-length"),f=s+(null==d?c:parseInt(d,10));if(t.offset<=f){n=[u,Math.min(c,Math.max(0,t.offset-s))];break}s=f}}if(!n)throw Error("Cannot resolve a DOM point from Slate point: ".concat(i.o4.stringify(t)));return n}
1,toDOMRange(e,t){var{anchor:n,focus:r}=t,o=i.e6.isBackward(t),a=tt.toDOMPoint(e,n),s=i.e6.isCollapsed(t)?a:tt.toDOMPoint(e,r),l=tt.getWindow(e).document.createRange(),[u,c]=o?s:a,[d,f]=o?a:s,h=!!(eD(u)?u:u.parentElement).getAttribute("data-slate-zero-width"),p=!!(eD(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return l.setStart(u,h?1:c),l.setEnd(d,p?1:f),l},toSlateNode(e,t){var n=eD(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?W.get(n):null;if(!r)throw Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n,{clientX:r,clientY:o,target:a}=t;if(null==r||null==o)throw Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var s=tt.toSlateNode(e,t.target),l=tt.findPath(e,s);if(i.ML.isVoid(e,s)){var u=a.getBoundingClientRect(),c=e.isInline(s)?r-u.left<u.left+u.width-r:o-u.top<u.top+u.height-o,d=i.ML.point(e,l,{edge:c?"start":"end"}),f=c?i.ML.before(e,d):i.ML.after(e,d);if(f)return i.ML.range(e,f)}var{document:h}=tt.getWindow(e);if(h.caretRangeFromPoint)n=h.caretRangeFromPoint(r,o);else{var p=h.caretPositionFromPoint(r,o);p&&((n=h.createRange()).setStart(p.offsetNode,p.offset),n.setEnd(p.offsetNode,p.offset))}if(!n)throw Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return tt.toSlateRange(e,n,{exactMatch:!1,suppressThrow:!1})},toSlatePoint(e,t,n){var{exactMatch:r,suppressThrow:i}=n,[o,a]=r?t:eV(t),s=o.parentNode,l=null,u=0;if(s){var c,d=tt.toDOMNode(e,e),f=s.closest('[data-slate-void="true"]'),h=f&&d.contains(f)?f:null,p=s.closest("[data-slate-leaf]"),g=null;if(p){if(l=p.closest('[data-slate-node="text"]')){var m=tt.getWindow(e).document.createRange();m.setStart(l,0),m.setEnd(o,a);var v=m.cloneContents();[...Array.prototype.slice.call(v.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(v.querySelectorAll("[contenteditable=false]"))].forEac
1h(e=>{e.parentNode.removeChild(e)}),u=v.textContent.length,g=l}}else h&&((p=h.querySelector("[data-slate-leaf]"))?(l=p.closest('[data-slate-node="text"]'),u=(g=p).textContent.length,g.querySelectorAll("[data-slate-zero-width]").forEach(e=>{u-=e.textContent.length})):u=1);g&&u===g.textContent.length&&(s.hasAttribute("data-slate-zero-width")||A&&null!==(c=g.textContent)&&void 0!==c&&c.endsWith("\n\n"))&&u--}if(!l){if(i)return null;throw Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var y=tt.toSlateNode(e,l),w=tt.findPath(e,y);return{path:w,offset:u}},toSlateRange(e,t,n){var r,o,a,s,l,{exactMatch:u,suppressThrow:c}=n;if((eN(t)?t.anchorNode:t.startContainer)&&(eN(t)?(r=t.anchorNode,o=t.anchorOffset,a=t.focusNode,s=t.focusOffset,l=j&&ez()?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,a=t.endContainer,s=t.endOffset,l=t.collapsed)),null==r||null==a||null==o||null==s)throw Error("Cannot resolve a Slate range from DOM range: ".concat(t));var d=tt.toSlatePoint(e,[r,o],{exactMatch:u,suppressThrow:c});if(!d)return null;var f=l?d:tt.toSlatePoint(e,[a,s],{exactMatch:u,suppressThrow:c});if(!f)return null;var h={anchor:d,focus:f};return i.e6.isExpanded(h)&&i.e6.isForward(h)&&eD(a)&&i.ML.void(e,{at:h.focus,mode:"highest"})&&(h=i.ML.unhangRange(e,h,{voids:!0})),h},hasRange(e,t){var{anchor:n,focus:r}=t;return i.ML.hasPath(e,n.path)&&i.ML.hasPath(e,r.path)}},tn=(e,t)=>{var{addedNodes:n}=t,{selection:r}=e,o=r?i.NB.parent(e,r.anchor.path):null,a=o?tt.toDOMNode(e,o):null;return!!a&&n.some(e=>e instanceof HTMLElement&&e.tagName===(null==a?void 0:a.tagName))},tr=(e,t)=>{var{removedNodes:n}=t;return n.length>0},ti=(e,t)=>{var{selection:n}=e,{removedNodes:r}=t;return!!n&&i.e6.isExpanded(n)&&r.length>0},to=(e,t)=>{var{insertedText:n}=t;return n.length>0},ta=(e,t)=>{var{addedNodes:n,characterDataMutations:r,removedNodes:i}=t;return i.length>0&&0===n.length&&r.length>0};class ts{constructor(e,t){this.editor=e,this.restoreDOM=t,this.flush=e=>{try{this.reconcileMutations(e)}catch(t){console.error(t),this.restoreDOM()}},this.reconcileMutations=e=>{var t,n,r,o,a,s=(t=this.editor,n=[],r=[],o=[],a=[],e.forEach(e=>{switch(e.type){case"childList":e.addedNodes.length&&e.addedNodes.forEach(e=>{n.push(e)}),e.removedNodes.forEach(e=>{r.push(e)});break;case"characterData":a.push(e);var{parentNode:s}=e.target;if(!s)return;var l=function(e,t){var n=tt.toSlateNode(e,t);if(i.xv.isText(n)){var r=n.text,o=t.textContent;if(o.endsWith("\n")&&(o=o.slice(0,o.length-1)),o!==r){var a=function(e,t){if(void 0===e||void 0===t)return null;var n=function(e,t){if(e===t)return null;var n=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length!==t.length?n:null}(e,t);if(null===n)return null;var r=Math.min(e.length-n,t.length-n),i=function(e,t,n){for(var r=e.length,i=t.length,o=Math.min(r,i,n),a=0;a<o;a++)if(e.charAt(r-a-1)!==t.charAt(i-a-1))return a;return e.length!==t.length?o:null}(e,t,r);return null===i?null:{start:n,end:i}}(e,t);if(null==n)return null;var r=e6(t,n),i=e6(e,n);return{start:n.start,end:e.length-n.end,insertText:r,removeText:i}}(r,o);if(null!==a)return{text:a,path:tt.findPath(e,n)}}}}(t,s);if(!l||o.some(e=>{var{path:t}=e;return i.y$.equals(t,l.path)}))return;o.push(l)}}),{addedNodes:n,removedNodes:r,insertedText:o,characterDataMutations:a}),{insertedText:l,removedNodes:u}=s;if(ti(this.editor,s)){var c=l.reduce((e,t)=>{var{text:n}=t;return"".concat(e).concat(n.insertText)},"");this.replaceExpandedSelection(c)}else tn(this.editor,s)?this.insertBreak():ta(this.editor,s)?this.removeLeafNodes(u):tr(this.editor,s)?this.deleteBackward():to(this.editor,s)&&this.insertText(l)},this.insertText=e=>{var{selection:t}=this.editor;if(tt.isComposing(this.editor)||J.get(this.editor)){ee.set(this.editor,e),J.set(this.editor,!1);return}e.forEach(e=>{var n=e.text.insertText,r=e7(this.editor,t,e);i.YR.setSelection(this.editor,r),i.ML.insertText(this.editor,n)})},this.insertBreak=()=>{var{selection:e}=this.editor;i.ML.insertBreak(this.editor),this.restoreDOM(),e&&setTimeout(()=>{this.editor.selection&&i.e6.equals(e,this.editor.selection)&&i.YR.move(this.editor)},100)},this.replaceExpandedSelection=e=>{i.ML.deleteFragment(this.editor),e.length&&i.ML.insertText(this.editor,e),this.restoreDOM()},this.deleteBackward=()=>{i.ML.deleteBackward(this.editor),tt.focus(this.editor),this.restoreDOM()},this.removeLeafNodes=e=>{for(var t of e){var n=tt.toSlateNode(this.editor,t);if(n){var r=tt.findPath(this.editor,n);i.YR.delete(this.editor,{at:r}),this.restoreDOM()}}},this.editor=e,this.restoreDOM=t}}function tl(e,t,n){var[i]=(0,r.useState)(()=>new MutationObserver(t));N(()=>{i.disconnect()}),(0,r.useEffect)(()=>
1{if(!e.current)throw Error("Failed to attach MutationObserver, `node` is undefined");return i.observe(e.current,n),i.disconnect.bind(i)})}var tu={childList:!0,characterData:!0,subtree:!0},tc={childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0},td=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","style","as"];function tf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var th=e=>{var{autoFocus:t,decorate:n=e1,onDOMBeforeInput:o,placeholder:a,readOnly:s=!1,renderElement:u,renderLeaf:d,renderPlaceholder:f=e=>r.createElement(eQ,Object.assign({},e)),style:h={},as:p="div"}=e,g=x(e,td),m=eL(),[y,w]=(0,r.useState)(!1),C=(0,r.useRef)(null),E=function(e){var t,n,o,a,s,l,u=ey(),{receivedUserInput:c,onUserInput:d}=(t=ey(),n=(0,r.useRef)(!1),o=(0,r.useRef)(null),a=(0,r.useCallback)(()=>{if(!1===n.current){var e=tt.getWindow(t);n.current=!0,o.current&&e.cancelAnimationFrame(o.current),o.current=e.requestAnimationFrame(()=>{n.current=!1,o.current=null})}},[]),(0,r.useEffect)(()=>{n.current&&(n.current=!1)}),{receivedUserInput:n,onUserInput:a}),f=(s=ey(),l=(0,r.useRef)(new Set),tl(e,(0,r.useCallback)(e=>{c.current&&e.forEach(e=>{var{target:t}=e,n=function e(t){var n,r=eD(t)?t:t.parentElement;return r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]")),r&&W.get(r)||(null!==(n=r)&&void 0!==n&&n.parentElement?e(r.parentElement):null)}(t);if(n)return l.current.add(n)})},[]),tu),l.current.clear(),(0,r.useCallback)(()=>{var e=Array.from(l.current.values());e.filter(t=>!e.some(e=>i.y$.isParent(tt.findPath(s,e),tt.findPath(s,t)))).forEach(e=>{var t;null===(t=en.get(e))||void 0===t||t()}),l.current.clear()},[])),h=(0,r.useMemo)(()=>new ts(u,f),[f,u]),p=(0,r.useRef)(null),g=(0,r.useRef)(!1),m=(0,r.useCallback)(e=>{c.current&&(g.current=!0,h.flush(e),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{g.current=!1,p.current=null},250))},[]);return tl(e,m,tc),{isReconciling:g,onUserInput:d}}(C);X.set(m,s);var k=(0,r.useMemo)(()=>({isComposing:!1,isUpdatingSelection:!1,latestElement:null}),[]),_=ed(m);N(()=>{var e;C.current&&(e=eI(C.current))?(U.set(m,e),Z.set(m,C.current),G.set(m,C.current),W.set(C.current,m)):G.delete(m);try{var{selection:t}=m,n=tt.findDocumentOrShadowRoot(m).getSelection();if(k.isComposing||!n||!tt.isFocused(m))return;var r="None"!==n.type;if(!t&&!r)return;var o=Z.get(m),a=!1;if(o.contains(n.anchorNode)&&o.contains(n.focusNode)&&(a=!0),r&&a&&t){var s=tt.toSlateRange(m,n,{exactMatch:!0,suppressThrow:!0});if(s&&i.e6.equals(s,t))return}if(t&&!tt.hasRange(m,t)){m.selection=tt.toSlateRange(m,n,{exactMatch:!1,suppressThrow:!1});return}var l=tt.toDOMNode(m,m);k.isUpdatingSelection=!0;var u=t&&tt.toDOMRange(m,t);if(u){i.e6.isBackward(t)?n.setBaseAndExtent(u.endContainer,u.endOffset,u.startContainer,u.startOffset):n.setBaseAndExtent(u.startContainer,u.startOffset,u.endContainer,u.endOffset);var c=u.startContainer.parentElement;c.getBoundingClientRect=u.getBoundingClientRect.bind(u),v(c,{scrollMode:"if-needed",boundary:l}),delete c.getBoundingClientRect}else n.removeAllRanges();setTimeout(()=>{k.isUpdatingSelection=!1})}catch(d){k.isUpdatingSelection=!1}}),(0,r.useEffect)(()=>{C.current&&t&&C.current.focus()},[t]);var A=(0,r.useCallback)(c()(()=>{try{if(!k.isComposing&&!k.isUpdatingSelection&&!E.isReconciling.current){var e=tt.findDocumentOrShadowRoot(m),{activeElement:t}=e,n=tt.toDOMNode(m,m),r=e.getSelection();if(t===n?(k.latestElement=t,Y.set(m,!0)):Y.delete(m),!r)return i.YR.deselect(m);var{anchorNode:o,focusNode:a}=r,s=e2(m,o)||e8(m,o),l=e2(m,a)||e8(m,a);if(s&&l){var u=tt.toSlateRange(m,r,{exactMatch:!1,suppressThrow:!1});i.YR.select(m,u)}else i.YR.deselect(m)}}catch(c){}},100),[s]),R=(0,r.useMemo)(()=>l()(A,0),[A]),S=(0,r.useCallback)(e=>{!s&&e2(m,e.target)&&!e4(e,o)&&(R.flush(),E.onUserInput())},[s,o]);N(()=>{var e=C.current;return null==e||e.addEventListener("beforeinput",S),()=>null==e?void 0:e.removeEventListener("beforeinput",S)},[_,o]),N(()=>{var e=tt.getWindow(m);return e.document.addEventListener("selectionchange",R),()=>{e.document.removeEventListener("selectionchange",R)}},[R]);var j=n([m,[]]);if(a&&1===m.children.length&&1===Array.from(i.NB.texts(m)).length&&""===i.NB.str
1ing(m)&&!y){var M=i.ML.start(m,[]);j.push({[er]:!0,placeholder:a,anchor:M,focus:M})}return r.createElement(ej.Provider,{value:s},r.createElement(ew.Provider,{value:n},r.createElement(p,Object.assign({key:_,role:s?void 0:"textbox"},g,{spellCheck:g.spellCheck,autoCorrect:g.autoCorrect,autoCapitalize:g.autoCapitalize,"data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s||void 0,suppressContentEditableWarning:!0,ref:C,style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tf(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},h),onCopy:(0,r.useCallback)(e=>{e2(m,e.target)&&!e3(e,g.onCopy)&&(e.preventDefault(),tt.setFragmentData(m,e.clipboardData,"copy"))},[g.onCopy]),onCut:(0,r.useCallback)(e=>{if(!s&&e2(m,e.target)&&!e3(e,g.onCut)){e.preventDefault(),tt.setFragmentData(m,e.clipboardData,"cut");var{selection:t}=m;if(t){if(i.e6.isExpanded(t))i.ML.deleteFragment(m);else{var n=i.NB.parent(m,t.anchor.path);i.ML.isVoid(m,n)&&i.YR.delete(m)}}}},[s,g.onCut]),onFocus:(0,r.useCallback)(e=>{if(!s&&!k.isUpdatingSelection&&e2(m,e.target)&&!e3(e,g.onFocus)){var t=tt.findDocumentOrShadowRoot(m);k.latestElement=t.activeElement,Y.set(m,!0)}},[s,g.onFocus]),onBlur:(0,r.useCallback)(e=>{if(!(s||k.isUpdatingSelection||!e2(m,e.target)||e3(e,g.onBlur))){var t=tt.findDocumentOrShadowRoot(m);if(k.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(!(n===tt.toDOMNode(m,m)||eD(n)&&n.hasAttribute("data-slate-spacer"))){if(null!=n&&eT(n)&&tt.hasDOMNode(m,n)){var r=tt.toSlateNode(m,n);if(i.W_.isElement(r)&&!m.isVoid(r))return}Y.delete(m)}}}},[s,g.onBlur]),onClick:(0,r.useCallback)(e=>{if(!s&&e5(m,e.target)&&!e3(e,g.onClick)&&eT(e.target)){var t=tt.toSlateNode(m,e.target),n=tt.findPath(m,t);if(i.ML.hasPath(m,n)&&i.NB.get(m,n)===t){var r=i.ML.start(m,n),o=i.ML.end(m,n),a=i.ML.void(m,{at:r}),l=i.ML.void(m,{at:o});if(a&&l&&i.y$.equals(a[1],l[1])){var u=i.ML.range(m,r);i.YR.select(m,u)}}}},[s,g.onClick]),onCompositionEnd:(0,r.useCallback)(e=>{e2(m,e.target)&&!e3(e,g.onCompositionEnd)&&(R.flush(),setTimeout(()=>{k.isComposing&&w(!1),k.isComposing=!1,K.set(m,!1),J.set(m,!0);var e=ee.get(m)||[];if(e.length){ee.set(m,[]);var{selection:t}=m;e.forEach(e=>{var n=e.text.insertText,r=e7(m,t,e);i.YR.setSelection(m,r),i.ML.insertText(m,n)})}},20))},[g.onCompositionEnd]),onCompositionUpdate:(0,r.useCallback)(e=>{e2(m,e.target)&&!e3(e,g.onCompositionUpdate)&&(k.isComposing||w(!0),k.isComposing=!0,K.set(m,!0))},[g.onCompositionUpdate]),onCompositionStart:(0,r.useCallback)(e=>{e2(m,e.target)&&!e3(e,g.onCompositionStart)&&(k.isComposing||w(!0),k.isComposing=!0,K.set(m,!0))},[g.onCompositionStart]),onPaste:(0,r.useCallback)(e=>{e.clipboardData=eq(e.clipboardData),!e2(m,e.target)||e3(e,g.onPaste)||s||(e.preventDefault(),tt.insertData(m,e.clipboardData))},[s,g.onPaste])}),eE({decorations:j,node:m,renderElement:u,renderPlaceholder:f,renderLeaf:d,selection:m.selection}))))},tp=(0,r.createContext)(!1),tg=(0,r.createContext)({}),tm=["editor","children","onChange","value"],tv=e=>{var t,n,o,a,{editor:s,children:l,onChange:u,value:c}=e,d=x(e,tm),f=(0,r.useRef)(!1),[h,p]=r.useState(()=>{if(!i.NB.isNodeList(c))throw Error("[Slate] value is invalid! Expected a list of elements"+"but got: ".concat(i.o4.stringify(c)));if(!i.ML.isEditor(s))throw Error("[Slate] editor is invalid! you passed:"+"".concat(i.o4.stringify(s)));return s.children=c,Object.assign(s,d),[s]}),{selectorContext:g,onChange:m}=(t=(0,r.useRef)([]).current,n=(0,r.useRef)({editor:s}).current,o=(0,r.useCallback)(e=>{n.editor=e,t.forEach(t=>t(e))},[]),a=(0,r.useMemo)(()=>({getSlate:()=>n.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})}),[t,n]),{selectorContext:a,onChange:o}),v=(0,r.useCallback)(()=>{u&&u(s.children),p([s]),m(s)},[u]);et.set(s,v),(0,r.useEffect)(()=>()=>{et.set(s,()=>{}),f.current=!0},[]);var[y,w]=(0,r.useState)(tt.isFocused(s));return(0,r.useEffect)(()=>{w(tt.isFocused(s))}),N(()=>{var e=()=>w(tt.isFocused(s));return C?(document.addEventListener("focusin",e),document.addEventListener("focusout",e),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",e)}):(document.addEventListener("focus",e,!0),document.addEventListener("blur",e,!0),()=>{document.removeEventListener("focus",e,!0),document.removeEventListener("blur",e,!0)})},[]),r.createElement(tg.Provider,{value:g},r.createElement(eP.Provider,{value:h},r.createElement(ev.Provider,{value:s},r.createElement(tp.Provider,{value:y},l))))},ty=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},tw=(e,t,n)=>{var r=tt.toDOMRange(e,t).getBoundingClientRect(),i=tt.toDOMRange(e,n).getBoundingClientRect();return ty(r,i)&&ty(i,r)},tb=(e,t)=>{var n=i.ML.range(e,i.e6.end(t)),r=Array.from(i.ML.positions(e,{at:t})),o=0,a=r.length,s=Math.floor(a/2);if(tw(e,i.ML.range(e,r[o]),n))return i.ML.range(e,r[o],n);if(r.length<2)return i.ML.range(e,r[r.length-1],n);for(;s!==r.length&&s!==o;)tw(e,i.ML.range(e,r[s]),n)?a=s:o=s,s=Math.floor((o+a)/2);return i.ML.range(e,r[a],n)},tx=e=>{var t=e,{apply:n,onChange:r,deleteBackward:o}=t;return $.set(t,new WeakMap),t.deleteBackward=n=>{if("line"!==n)return o(n);if(e.selection&&i.e6.isCollapsed(e.selection)){var r=i.ML.above(e,{match:t=>i.ML.isBlock(e,t),at:e.selection});if(r){var[,a]=r,s=tb(t,i.ML.range(e,a,e.selection.anchor));i.e6.isCollapsed(s)||i.YR.delete(e,{at:s})}}},t.apply=r=>{var o,a=[];switch(r.type){case"insert_text":case"remove_text":case"set_node":case"split_node":a.push(...tC(t,r.path));break;case"set_selection":null===(o=Q.get(e))||void 0===o||o.unref(),Q.delete(e);break;case"insert_node":case"remove_node":a.push(...tC(t,i.y$.parent(r.path)));break;case"merge_node":a.push(...tC(t,i.y$.previous(r.path)));break;case"move_node":a.push(...tC(t,i.y$.common(i.y$.parent(r.path),i.y$.parent(r.newPath))))}for(var[s,l]of(n(r),a)){var[u]=i.ML.node(t,s);q.set(u,l)}},t.setFragmentData=e=>{var{selection:n}=t;if(n){var[r,o]=i.e6.edges(n),a=i.ML.void(t,{at:r.path}),s=i.ML.void(t,{at:o.path});if(!i.e6.isCollapsed(n)||a){var l=tt.toDOMRange(t,n),u=l.cloneContents(),c=u.childNodes[0];
1if(u.childNodes.forEach(e=>{e.textContent&&""!==e.textContent.trim()&&(c=e)}),s){var[d]=s,f=l.cloneRange(),h=tt.toDOMNode(t,d);f.setEndAfter(h),u=f.cloneContents()}if(a&&(c=u.querySelector("[data-slate-spacer]")),Array.from(u.querySelectorAll("[data-slate-zero-width]")).forEach(e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),eF(c)){var p=c.ownerDocument.createElement("span");p.style.whiteSpace="pre",p.appendChild(c),u.appendChild(p),c=p}var g=JSON.stringify(t.getFragment()),m=window.btoa(encodeURIComponent(g));c.setAttribute("data-slate-fragment",m),e.setData("application/x-slate-fragment",m);var v=u.ownerDocument.createElement("div");return v.appendChild(u),v.setAttribute("hidden","true"),u.ownerDocument.body.appendChild(v),e.setData("text/html",v.innerHTML),e.setData("text/plain",eZ(v)),u.ownerDocument.body.removeChild(v),e}}},t.insertData=e=>{t.insertFragmentData(e)||t.insertTextData(e)},t.insertFragmentData=e=>{var n=e.getData("application/x-slate-fragment")||eG(e);if(n){var r=JSON.parse(decodeURIComponent(window.atob(n)));return t.insertFragment(r),!0}return!1},t.insertTextData=e=>{var n=e.getData("text/plain");if(n){var r=n.split(/\r\n|\r|\n/),o=!1;for(var a of r)o&&i.YR.splitNodes(t,{always:!0}),t.insertText(a),o=!0;return!0}return!1},t.onChange=()=>{w.unstable_batchedUpdates(()=>{var e=et.get(t);e&&e(),r()})},t},tC=(e,t)=>{var n=[];for(var[r,o]of i.ML.levels(e,{at:t})){var a=tt.findKey(e,r);n.push([o,a])}return n},tE=_?th:eJ},42930:function(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function i(e){return r(e)&&"string"==typeof e._ref}function o(e){return r(e)&&"string"==typeof e._ref&&"string"==typeof e._dataset&&"string"==typeof e._projectId}function a(e){return r(e)&&"string"==typeof e._id&&"string"==typeof e._type}function s(e){return r(e)&&"string"==typeof e._type}function l(e){return r(e)&&"string"==typeof e._key}function u(e){return"error"===e.level}function c(e){return"warning"===e.level}function d(e){return"info"===e.level}n.d(t,{DG:function(){return y},EG:function(){return A},Fd:function(){return g},J1:function(){return S},KA:function(){return b},M1:function(){return k},NG:function(){return w},Ny:function(){return d},Si:function(){return a},WE:function(){return P},WQ:function(){return c},YN:function(){return u},Yk:function(){return i},Yz:function(){return o},Z2:function(){return O},aj:function(){return R},ay:function(){return s},d7:function(){return _},dD:function(){return function e(t){return x(t)&&("reference"===t.name||e(t.type))}},dw:function(){return p},fU:function(){return l},fe:function(){return I},jB:function(){return E},jp:function(){return j},lo:function(){return m},m$:function(){return C},mz:function(){return function e(t){return x(t)&&("crossDatasetReference"===t.name||e(t.type))}},n4:function(){return M},xh:function(){return L}});let f=/_key\s*==\s*['"](.*)['"]/,h=/^\d*:\d*$/;function p(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function g(e){return"string"==typeof e?f.test(e.trim()):"object"==typeof e&&"_key"in e}function m(e){if("string"==typeof e&&h.test(e))return!0;if(!Array.isArray(e)||2!==e.length)return!1;let[t,n]=e;return("number"==typeof t||""===t)&&("number"==typeof n||""===n)}function v(e){return!!e&&("object"==typeof e||"function"==typeof e)}function y(e){return v(e)&&"string"==typeof e._type&&Array.isArray(e.children)&&e.children.every(e=>v(e))&&"markDefs"in e&&Array.isArray(e.markDefs)&&e.markDefs.every(e=>v(e))&&(!("style"in e)||"string"==typeof e.style)}function w(e){return v(e)&&"span"===e._type&&"string"==typeof e.text&&(!("marks"in e)||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function b(e){return y(e)&&"listItem"in e&&"string"==typeof e.listItem&&"level"in e&&Number.isInteger(e.level)}function x(e){return!!e&&("object"==typeof e||"function"==typeof e)}function C(e){return!!x(e)&&"object"===e.jsonType}function E(e){return!!x(e)&&"array"===e.jsonType}function k(e){return E(e)&&e.of.every(e=>C(e))}function _(e){return E(e)&&e.of.every(e=>j(e))}function A(e){return!!x(e)&&"boolean"===e.jsonType}function R(e){return!!x(e)&&"string"===e.jsonType}function S(e){return!!x(e)&&"number"===e.jsonType}function j(e){return A(e)||R(e)||S(e)}function M(e){return"object"==typeof e&&null!==e&&"title"in e&&"value"in e}function P(e){return!!x(e)&&Array.isArray(e.annotations)&&Array.isArray(e.decorators)}function L(e){var t,n;if(!x(e)||!Array.isArray(e.fields))return!1;
1let[r,i,o]=e.fields;return!!(x(r)&&"children"===r.name&&E(r.type))&&r.type.of.some(P)&&!!x(t=i)&&"style"===t.name&&x(t.type)&&"string"===t.type.jsonType&&!!x(n=o)&&"list"===n.name&&x(n.type)&&"string"===n.type.jsonType}function I(e,t){return e}function O(e,t){return e}},57122:function(e,t,n){"use strict";let r;n.d(t,{E2:function(){return s},wq:function(){return u},xb:function(){return function e(t){return null==t||("object"==typeof t?function(t){for(let n in t)if("_type"!==n&&"_key"!==n&&o(t,n)&&!e(t[n]))return!1;return!0}(t):!!Array.isArray(t)&&function(t){for(let n=0;n<t.length;n++)if(e(t[n]))return!0;return!1}(t))}}});var i=n(4527),o=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);let a=()=>{if(r)return r;r=[];for(let e=0;e<256;++e)r[e]=(e+256).toString(16).substring(1);return r};function s(e){let t=a();return(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=new Uint8Array(e);return(0,i.Z)(t),t})(e).reduce((e,n)=>e+t[n],"").slice(0,e)}let l=Object.prototype.toString;function u(e){let t=function(e){switch(l.call(e)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}if("object"==typeof e&&e&&"number"==typeof e.length)try{if("function"==typeof e.callee)return"arguments"}catch(t){if(t instanceof TypeError)return"arguments"}return null===e?"null":void 0===e?"undefined":e&&1===e.nodeType?"element":e===Object(e)?"object":typeof e}(e);return"object"!==t?t:"_type"in e&&e._type||t}},98434:function(e,t,n){"use strict";n.d(t,{Q:function(){return a},W:function(){return o}});var r=n(30381),i=n.n(r);function o(e,t){return i()(e).format(t)}function a(e,t){let n=i()(e,t,!0);return n.isValid()?{isValid:!0,date:n.toDate()}:{isValid:!1,error:'Invalid date. Must be on the format "'.concat(t,'"')}}},66996:function(e,t,n){"use strict";n.d(t,{BB:function(){return v},Ny:function(){return p},U2:function(){return l},Xy:function(){return d},Zg:function(){return s},eh:function(){return f},fi:function(){return g},mL:function(){return y},s6:function(){return c},vC:function(){return m}});var r=n(42930);let i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/_key\s*==\s*['"](.*)['"]/,a=[],s="$";function l(e,t,n){let i="string"==typeof t?y(t):t;if(!Array.isArray(i))throw Error("Path must be an array or a string");let o=e;for(let a=0;a<i.length;a++){let s=i[a];if((0,r.dw)(s)){if(!Array.isArray(o))return n;o=o[s]}if((0,r.Fd)(s)){if(!Array.isArray(o))return n;o=o.find(e=>e._key===s._key)}if("string"==typeof s&&(o="object"==typeof o&&null!==o?o[s]:void 0),void 0===o)return n}return o}let u=new Map;function c(e){if(0===e.length)return a;let t=v(e);return u.has(t)?u.get(t):(u.set(t,e),Object.freeze(e),e)}function d(e,t){return e.length===t.length&&e.every((e,n)=>h(e,t[n]))}function f(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)if(!h(e[r],t[r]))return r;return n}function h(e,t){return(0,r.Fd)(e)&&(0,r.Fd)(t)?e._key===t._key:(0,r.dw)(e)?Number(e)===Number(t):(0,r.lo)(e)&&(0,r.lo)(t)?e[0]===t[0]&&e[1]===t[1]:e===t}function p(e,t){return e.every((e,n)=>h(e,t[n]))}function g(e,t){if(0===e.length||0===t.length)return t;let[n,...r]=e,[i,...o]=t;return h(n,i)?c(g(r,o)):t}function m(e,t){return p(e,t)?g(e,t):a}function v(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,n)=>{let i=typeof t;if("number"===i)return"".concat(e,"[").concat(t,"]");if("string"===i)return"".concat(e).concat(0===n?"":".").concat(t);if((0,r.Fd)(t)&&t._key)return"".concat(e,'[_key=="').concat(t._key,'"]');if(Array.isArray(t)){let[o,a]=t;return"".concat(e,"[").concat(o,":").concat(a,"]")}throw Error("Unsupported path segment `".concat(JSON.stringify(t),"`"))},"")}function y(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(i);if(!t)throw Error("Invalid path string");return t.map(w)}function w(e){return(0,r.dw)(e)?Number(e.replace(/[^\d]/g,"")):(0,r.Fd)(e)?function(e){let t=e.match(o);return{_key:t[1]}}(e):(0,r.lo)(e)?function(e){let[t,n]=e.split(":").map(e=>""===e?e:Number(e));return[t,n]}(e):e}},93406:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r,i=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}for(var a=/^(?:[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,s=[],l=0;l<256;++l)s.push((l+256).toString(16).substr(1));var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase();if(!("string"==typeof n&&a.test(n)))throw TypeError("Stringified UUID is invali
1d");return n},c=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return u(r)}},49150:function(e,t,n){"use strict";n.d(t,{PA:function(){return eb},aj:function(){return ew}});var r,i=n(50361),o=n.n(i),a=n(27361),s=n.n(a),l=n(42930),u=n(32912),c=n(32817),d=n(19917),f=n(23071),h=n(69243),p=n(19293),g=n(79878),m=n(43994),v=n(44367),y=n(30062),w=n(29127),b=n(85564),x=n.n(b),C=n(45578),E=n.n(C),k=n(88306),_=n.n(k);let A=class e{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.message=e,this.paths=t.paths||[],this.children=t.children,this.operation=t.operation}cloneWithMessage(t){return new e(t,{paths:this.paths,children:this.children,operation:this.operation})}};var R=e=>e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&");function S(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((e,t,n)=>{let r=typeof t;if("number"===r)return"".concat(e,"[").concat(t,"]");if("string"===r)return"".concat(e).concat(0===n?"":".").concat(t);if((0,l.fU)(t))return"".concat(e,'[_key=="').concat(t._key,'"]');throw Error('Unsupported path segment "'.concat(t,'"'))},"")}function j(e){return null!==e||void 0!==e}function M(e,t,n){var r;if(!n)throw Error("missing context");if(!0===e)return[];if(Array.isArray(e))return e.flatMap(e=>M(e,t,n)).filter(j);if("string"==typeof e)return M(new A(e),t,n);if(!(e instanceof A)){if("string"!=typeof(null==e?void 0:e.message))throw Error("".concat(S(n.path),": Validator must return 'true' if valid or an error message as a string on errors"));return M(new A(e.message,e),t,n)}return(null==(r=e.paths)?void 0:r.length)?[].concat(e.paths.map(r=>({path:(n.path||[]).concat(r),level:t||"error",item:e}))):[{level:t||"error",item:e,path:n.path||[]}]}let P={}.toString,L=[Object,Function,Array,String,Boolean,Number,Date,RegExp,Error];function I(e){let t=P.call(e).slice(8,-1);if(null==e)return t.toLowerCase();let n=e.constructor;return n&&!function(e){for(let t=0;t<L.length;t++)if(L[t]===e)return!0;return!1}(n)?n.name:t}function O(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!O(e[n],t[n]))return!1;return!0}if(Array.isArray(e)!=Array.isArray(t))return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof Date!=t instanceof Date)return!1;if(e instanceof RegExp&&t instanceof RegExp)return e.toString()==t.toString();if(e instanceof RegExp!=t instanceof RegExp)return!1;for(let i=0;i<r.length;i++)if("_key"!==r[i]&&!Object.prototype.hasOwnProperty.call(t,r[i]))return!1;for(let o=0;o<r.length;o++){let a=r[o];if("_key"!==a&&!O(e[a],t[a]))return!1}return!0}return!1}let D=e=>{var t;let n;return n=e.message?e.message:1===e.results.length?null==(t=e.results[0])?void 0:t.item.message:"[".concat(e.results.map(e=>e.item.message).join(" - ".concat(e.operation," - ")),"]"),new A(n,{children:e.results.length>1?e.results:void 0,operation:e.operation})},T={type:(e,t,n)=>{let r=I(t);return r===e||"undefined"===r||n||'Expected type "'.concat(e,'", got "').concat(r,'"')},presence:(e,t,n)=>void 0!==t||"required"!==e||n||"Value is required",all:async(e,t,n,r)=>{let i=await Promise.all(e.map(e=>e.validate(t,r))),o=i.flat();return!o.length||D({message:n,results:o,operation:"AND"})},either:async(e,t,n,r)=>{let i=await Promise.all(e.map(e=>e.validate(t,r))),o=i.flat();return o.length<e.length||D({message:n,results:o,operation:"OR"})},valid:(e,t,n)=>{let r=typeof t;if("undefined"===r)return!0;let i=("number"===r||"string"===r)&&"".concat(t),o=i&&i.length>30?"".concat(i.slice(0,30),"â¦"):i;return!!e.some(e=>O(e,t))||n||(i?'Value "'.concat(o,'" did not match any allowed values'):"Value did not match any allowed values")},custom:async(e,t,n,r)=>{let i;let o=setTimeout(()=>{console.warn("Custom validator at ".concat(S(r.path)," has taken more than ").concat(5e3,"ms to respond"))},5e3);try{i=await e(t,r)}finally{clearTimeout(o)}return"string"==typeof i&&n||i}},N={...T,presence:(e,t,n)=>"required"!==e||"boolean"==typeof t||n||"Required"},F=/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,H={...T,integer:(e,t,n)=>!!Number.isInteger(t)||n||"Must be an integer",precision:(e,t,n)=>{if(void 0===t)return!0;let r=t.toString().match(F),i=Math.max((r[1]?r[1].length:0)-(r[2]?parseInt(r[2],10):0),0);return!(i>e)||n||"Max precision is ".concat(e)},min:(e,t,n)=>t>=e||n||"Must be greater than or equal ".concat(e),max:(e,t,n)=>t<=e||n||"Must be less than or equal ".concat(e),greaterThan:(e,t,n)=>t>e||n||"Must be greater than ".concat(e),lessThan:(e,t,n)=>t<e||n||"Must be less than ".concat(e)},V="http://sanity",z=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,B=e=>/^\.*\//.test(e),U={...T,min:(e,t,n)=>!t||t.length>=e||n||"Must be at least ".concat(e," characters long"),max:(e,t,n)=>!t||t.length<=e||n||"Must be at most ".concat(e," characters long"),length:(e,t,n)=>(t||"").length===e||n||"Must be exactly ".concat(e," characters long"),uri:(e,t,n)=>{let r;let i=t||"",{options:o}=e,{allowCredentials:a,relativeOnly:s}=o,l=o.allowRelative||s;
1try{r=l?new URL(i,V):new URL(i)}catch(u){return n||"Not a valid URL"}if(s&&r.origin!==V)return n||"Only relative URLs are allowed";if(!l&&r.origin===V&&B(i))return n||"Relative URLs are not allowed";if(!a&&(r.username||r.password))return n||"Username/password not allowed";let c=r.protocol.replace(/:$/,""),d=o.scheme.some(e=>e.test(c));return!!d||n||"Does not match allowed protocols/schemes"},stringCasing:(e,t,n)=>{let r=t||"";return"uppercase"===e&&r!==r.toLocaleUpperCase()?n||"Must be all uppercase letters":"lowercase"!==e||r===r.toLocaleLowerCase()||n||"Must be all lowercase letters"},presence:(e,t,n)=>"required"!==e||!!t||n||"Required",regex:(e,t,n)=>{let{pattern:r,name:i,invert:o}=e,a=i||'"'.concat(r.toString(),'"'),s=r.test(t||"");return(!!o||!!s)&&(!o||!s)||n||(o?"Should not match ".concat(a,"-pattern"):"Does not match ".concat(a,"-pattern"))},email:(e,t,n)=>{let r="".concat(t||"").trim();return!!(!r||z.test(r))||n||"Must be a valid email address"}},Z={...T,min:(e,t,n)=>!t||t.length>=e||n||"Must have at least ".concat(e," items"),max:(e,t,n)=>!t||t.length<=e||n||"Must have at most ".concat(e," items"),length:(e,t,n)=>!t||t.length===e||n||"Must have exactly ".concat(e," items"),presence:(e,t,n)=>"required"!==e||!!t||n||"Required",valid:(e,t,n)=>{if(void 0===t)return!0;let r=[];for(let i=0;i<t.length;i++){let o=t[i];if(e.some(e=>O(e,o)))continue;let a=o&&o._key?{_key:o._key}:i;r.push([a])}return 0===r.length||new A(n||"Value did not match any allowed values",{paths:r})},unique:(e,t,n)=>{let r=[];if(!t)return!0;for(let i=0;i<t.length;i++)for(let o=i+1;o<t.length;o++){let a=t[i],s=t[o];O(a,s)&&(-1===r.indexOf(i)&&r.push(i),-1===r.indexOf(o)&&r.push(o))}let l=r.map(e=>{let n=t[e],r=n&&n._key?{_key:n._key}:e;return[r]});return!(r.length>0)||new A(n||"Can't be a duplicate",{paths:l})}},W=["_key","_type","_weak"],G={...T,presence:(e,t,n)=>{if("required"!==e)return!0;let r=t&&Object.keys(t).filter(e=>!W.includes(e));return void 0!==t&&(!r||0!==r.length)||n||"Required"},reference:async(e,t,n,r)=>{if(!t)return!0;if(!(0,l.Yk)(t))return n||!0;let{type:i,getDocumentExists:o}=r;if(!i)throw Error("`type` was not provided in validation context");if("weak"in i&&i.weak)return!0;if(!o)throw Error("`getDocumentExists` was not provided in validation context");let a=await o({id:t._ref});return!!a||"This reference must be published"},assetRequired:(e,t,n)=>{if(!t||!t.asset||!t.asset._ref){let r=e.assetType||"Asset";return n||"".concat(r," required")}return!0}};function q(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let $=/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/,X=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r="yyyy-MM-dd";return n&&n.dateFormat&&(r=n.dateFormat),"date"===e||(n&&n.timeFormat?r+=" ".concat(n.timeFormat):r+=" HH:mm"),(0,u.Z)(new Date(t),r)};function Y(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;if("now"===e)return new Date;let n=new Date(e),r=isNaN(n.getTime());if(r&&t)throw Error('Unable to parse "'.concat(e,'" to a date'));return r?null:n}let K={...T,type:(e,t,n)=>!!(!"".concat(t)||$.test(t))||n||"Must be a valid ISO-8601 formatted date string",min:(e,t,n,r)=>{let i=Y(t);if(!i||!t||i>=Y(e,!0))return!0;if(!r.type)throw Error("`type` was not provided in validation context.");let o=q(r.type.options)?r.type.options:{},a=X(r.type.name,e,o);return n||"Must be at or after ".concat(a)},max:(e,t,n,r)=>{let i=Y(t);if(!i||!t||i<=Y(e,!0))return!0;if(!r.type)throw Error("`type` was not provided in validation context.");let o=q(r.type.options)?r.type.options:{},a=X(r.type.name,e,o);return n||"Must be at or before ".concat(a)}},J={Boolean:N,Number:H,String:U,Array:Z,Object:G,Date:K},Q=e=>e&&e.type?Q(e.type):e,ee=e=>"object"==typeof e&&!!e&&e.type===ei.FIELD_REF,et=[],en=Symbol("FIELD_REF"),er=["Array","Boolean","Date","Number","Object","String"],ei=((r=class{constructor(e){this._type=void 0,this._level=void 0,this._required=void 0,this._typeDef=void 0,this._message=void 0,this._rules=[],this._fieldRules=void 0,this.valueOfField=r.valueOfField.bind(r),this._typeDef=e,this.reset()}_mergeRequired(e){return"required"===this._required||"required"===e._required?"required":"optional"===this._required||"optional"===e._required?"optional":void 0}error(e){let t=this.clone();return t._level="error",t._message=e||void 0,t}warning(e){let t=this.clone();return t._level="warning",t._message=e||void 0,t}info(e){let t=this.clone();return t._level="info",t._message=e||void 0,t}reset(){return this._type=this._type||void 0,this._rules=(this._rules||[]).filter(e=>"type"===e.flag),this._message=void 0,this._required=void 0,this._level="error",this._fieldRules=void 0,this}isRequired(){return"required"===this._required}clone(){let e=new r;return e._type=this._type,e._message=this._message,e._required=this._required,e._rules=o()(this._rules),e._level=this._level,e._fieldRules=this._fieldRules,e._typeDef=this._typeDef,e}cloneWithRules(e){let t=this.clone(),n=new Set;
1return e.forEach(e=>{"type"===e.flag&&(t._type=e.constraint),n.add(e.flag)}),t._rules=t._rules.filter(e=>{let t=["type","uri","email"].includes(e.flag),r=n.has(e.flag);return!(t&&r)}).concat(e),t}merge(e){if(this._type&&e._type&&this._type!==e._type)throw Error("merge() failed: conflicting types");let t=this.cloneWithRules(e._rules);return t._type=this._type||e._type,t._message=this._message||e._message,t._required=this._mergeRequired(e),t._level="error"===this._level?e._level:this._level,t}type(e){let t="".concat(e.slice(0,1).toUpperCase()).concat(e.slice(1));if(!er.includes(t))throw Error('Unknown type "'.concat(e,'"'));let n=this.cloneWithRules([{flag:"type",constraint:t}]);return n._type=t,n}all(e){return this.cloneWithRules([{flag:"all",constraint:e}])}either(e){return this.cloneWithRules([{flag:"either",constraint:e}])}optional(){let e=this.cloneWithRules([{flag:"presence",constraint:"optional"}]);return e._required="optional",e}required(){let e=this.cloneWithRules([{flag:"presence",constraint:"required"}]);return e._required="required",e}custom(e){return this.cloneWithRules([{flag:"custom",constraint:e}])}min(e){return this.cloneWithRules([{flag:"min",constraint:e}])}max(e){return this.cloneWithRules([{flag:"max",constraint:e}])}length(e){return this.cloneWithRules([{flag:"length",constraint:e}])}valid(e){let t=Array.isArray(e)?e:[e];return this.cloneWithRules([{flag:"valid",constraint:t}])}integer(){return this.cloneWithRules([{flag:"integer"}])}precision(e){return this.cloneWithRules([{flag:"precision",constraint:e}])}positive(){return this.cloneWithRules([{flag:"min",constraint:0}])}negative(){return this.cloneWithRules([{flag:"lessThan",constraint:0}])}greaterThan(e){return this.cloneWithRules([{flag:"greaterThan",constraint:e}])}lessThan(e){return this.cloneWithRules([{flag:"lessThan",constraint:e}])}uppercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"uppercase"}])}lowercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"lowercase"}])}regex(e,t,n){var r,i;let o="string"==typeof t?t:null!=(r=null==t?void 0:t.name)?r:null==n?void 0:n.name,a="string"!=typeof t&&(null!=(i=null==t?void 0:t.invert)?i:null==n?void 0:n.invert);return this.cloneWithRules([{flag:"regex",constraint:{pattern:e,name:o,invert:a||!1}}])}email(){return this.cloneWithRules([{flag:"email"}])}uri(e){let t=(null==e?void 0:e.scheme)||["http","https"],n=Array.isArray(t)?t:[t];if(!n.length)throw Error("scheme must have at least 1 scheme specified");let r={options:{scheme:n.map(e=>{if(!(e instanceof RegExp)&&"string"!=typeof e)throw Error("scheme must be a RegExp or a String");return"string"==typeof e?RegExp("^".concat(R(e),"$")):e}),allowRelative:(null==e?void 0:e.allowRelative)||!1,relativeOnly:(null==e?void 0:e.relativeOnly)||!1,allowCredentials:(null==e?void 0:e.allowCredentials)||!1}};return this.cloneWithRules([{flag:"uri",constraint:r}])}unique(){return this.cloneWithRules([{flag:"unique"}])}reference(){return this.cloneWithRules([{flag:"reference"}])}fields(e){if("Object"!==this._type)throw Error("fields() can only be called on an object type");let t=this.cloneWithRules([]);return t._fieldRules=e,t}assetRequired(){let e;let t=Q(this._typeDef);return e=t&&["image","file"].includes(t.name)?"image"===t.name?"Image":"File":"Asset",this.cloneWithRules([{flag:"assetRequired",constraint:{assetType:e}}])}async validate(e,t){if(!t)throw Error("missing context");let n=null==e;if(n&&"optional"===this._required)return et;let r=void 0===this._required&&n?this._rules.filter(e=>"custom"===e.flag):this._rules,i=this._type&&J[this._type]||T,o=await Promise.all(r.map(async n=>{let r;if(void 0===n.flag)throw Error('Invalid rule, did not contain "flag"-property');let o=i[n.flag];if(!o){let a=this._type?'type "'.concat(this._type,'"'):"rule without declared type";throw Error('Validator for flag "'.concat(n.flag,'" not found for ').concat(a))}let l="constraint"in n?n.constraint:null;ee(l)&&(l=s()(t.parent,l.path));try{r=await o(l,e,this._message,t)}catch(c){let u=new A("".concat(S(t.path),": Exception occurred while validating value: ").concat(c.message));return M(u,"error",t)}return M(r,this._level,t)}));return o.flat()}}).FIELD_REF=en,r.array=e=>new r(e).type("Array"),r.object=e=>new r(e).type("Object"),r.string=e=>new r(e).type("String"),r.number=e=>new r(e).type("Number"),r.boolean=e=>new r(e).type("Boolean"),r.dateTime=e=>new r(e).type("Date"),r.valueOfField=e=>({type:en,path:e}),r),eo="undefined"==typeof window?void 0:window,ea=(null==eo?void 0:eo.requestIdleCallback)||function(e,t){let n=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,Date.now()-n)})},0)},es=(null==eo?void 0:eo.cancelIdleCallback)||function(e){return window.clearTimeout(e)},el=_()(function(e){console.warn(["Slug field at path ".concat(e," is within an array and cannot be automatically checked for uniqueness"),'If you need to check for uniqueness, provide your own "isUnique" method',"To disable this message, set `disableArrayWarning: true` on the slug `options` field"].join("\n"))});
1function eu(e){return e.reduce((e,t,n)=>{let r=(0,l.fU)(t),i="number"==typeof t||r?"[]":"".concat(0===n?"":".").concat(t);return"".concat(e).concat(i)},"")}let ec=(e,t)=>{let{getClient:n,document:r,path:i,type:o}=t,a=null==o?void 0:o.options;if(!r)throw Error("`document` was not provided in validation context.");if(!i)throw Error("`path` was not provided in validation context.");let s=(null==a?void 0:a.disableArrayWarning)||!1,{published:l,draft:u}=function(e){let t=0===e.indexOf("drafts.");return{published:t?e.slice(7):e,draft:t?e:"drafts.".concat(e)}}(r._id),c=r._type,d=eu(i.concat("current"));!s&&d.includes("[]")&&el(eu(i));let f=["_type == $docType","!(_id in [$draft, $published])","".concat(d," == $slug")].join(" && ");return n({apiVersion:"2022-09-09"}).fetch("!defined(*[".concat(f,"][0]._id)"),{docType:c,draft:u,published:l,slug:e},{tag:"validation.slug-is-unique"})},ed=async(e,t)=>{var n;if(!e)return!0;if("object"!=typeof e)return"Slug must be an object";let r=e.current;if(!r)return"Slug must have a value";let i=null==(n=null==t?void 0:t.type)?void 0:n.options,o=(null==i?void 0:i.isUnique)||ec,a={...t,parent:t.parent,type:t.type,defaultIsUnique:ec},s=await o(r,a);return!!s||"Slug is already in use"},ef={array:!0,boolean:!0,date:!0,number:!0,object:!0,string:!0},eh=e=>e in ef;function ep(e,t){let n=e;eh(t.jsonType)&&(n=n.type(t.jsonType));let r=(null==t?void 0:t.options)&&"object"==typeof t.options&&"list"in t.options&&t.options.list;return(Array.isArray(r)&&(n=n.valid(r.map(e=>"object"===t.jsonType&&function e(t){return!!t&&("fields"in t||!t.type?!!("fields"in t&&Array.isArray(t.fields))&&t.fields.some(e=>"value"===e.name):e(t.type))}(t)?e:void 0===e.value?e:e.value))),"datetime"===t.name||"date"===t.name)?n.type("Date"):"url"===t.name?n.uri():"slug"===t.name?n.custom(ed):"reference"===t.name?n.reference():"email"===t.name?n.email():n}function eg(e){if(!e)return[];let t=e.validation;if(Array.isArray(t))return t.flatMap(t=>eg({...e,validation:t}));if(t instanceof ei)return[t];let n=Object.values((function e(t,n){if(!t||n.has(t))return[];n.add(t);let r=t.type?e(t.type,n):[];return[...r,t]})(e,new Set).reduce((e,t)=>(e[t.name]=t,e),{})).reduce(ep,new ei(e));return t?eg({...e,validation:t(n)}):[n]}let em=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),ev=e=>null!=e,ey=[];function ew(e,t,n,r){let i=n.get(t._type);if(!i)return console.warn('Schema type for object type "%s" not found, skipping validation',t._type),(0,c.of)(ey);let o=e({apiVersion:"2021-06-07"}),a={client:o,getClient:e,schema:n,parent:void 0,value:t,path:[],document:t,type:i,getDocumentExists:null==r?void 0:r.getDocumentExists};return a.client=[...Object.keys(o),...Object.keys(o.__proto__)].reduce((e,t)=>{let n=Object.hasOwnProperty.call(o,t)?o[t]:o.__proto__[t];return Object.defineProperty(e,t,{get:()=>(console.warn('`configContext.client` is deprecated and will be removed in the next release! Use `context.getClient({apiVersion: "2021-06-07"})` instead'),n)})},{}),(function e(t){var n;let{value:r,type:i,path:o=[],parent:a,...s}=t,u=eg(i),c=u.map(e=>(0,d.P)(()=>e.validate(r,{...s,parent:a,path:o,type:i}))),g=[],b=u.some(e=>e.isRequired()),C=(null==i?void 0:i.jsonType)==="object"&&(!!r||null==r&&b);if(C){let k=i.fields.reduce((e,t)=>(e[t.name]=t.type,e),{});g=(g=g.concat(u.map(e=>e._fieldRules).filter(ev).flatMap(e=>Object.entries(e)).flatMap(e=>{let[t,n]=e,i=k[t];return eg({...i,validation:n}).map(e=>{let n=em(r)?r[t]:void 0;return(0,d.P)(()=>e.validate(n,{...s,parent:r,path:o.concat(t),type:i}))})}))).concat(i.fields.map(t=>e({...s,parent:r,value:em(r)?r[t.name]:void 0,path:o.concat(t.name),type:t.type})))}let _=(null==i?void 0:i.jsonType)==="array"&&Array.isArray(r);_&&(g=g.concat(r.map((t,n)=>e({...s,parent:r,value:t,path:o.concat((0,l.fU)(t)?{_key:t._key}:n),type:function(e,t){if(1===t.length)return t[0];let n=(0,l.ay)(e)&&e._type,r=null==e||!n&&I(e).toLowerCase();return r&&"object"!==r?t.find(e=>e.jsonType===r):t.find(e=>{var t;return(null==(t=e.type)?void 0:t.name)===n})||t.find(e=>e.name===n)||t.find(e=>"object"===e.name&&"object"===r)}(t,i.of)}))));let A=(0,l.DG)(r)&&(null==(n=r.markDefs)?void 0:n.length)&&(0,l.xh)(i);if(A){let[R]=i.fields,S=R.type.of.find(l.WE),j=((null==S?void 0:S.annotations)||[]).reduce((e,t)=>
1(e.set(t.name,t),e),new Map);g=g.concat((r.markDefs||[]).map(t=>e({...s,parent:r,value:t,path:o.concat(["markDefs",{_key:t._key}]),type:j.get(t._type)})))}return(0,d.P)(()=>(0,f.T)([...c,...g])).pipe((0,m.z)(e=>{var t;return(0,h.z)(new p.y(e=>{let n=ea(()=>{e.complete()},t?{timeout:t}:void 0);return()=>es(n)}),e)},40),(0,v.J)(),(0,y.q)(),(0,w.U)(x()),(0,w.U)(e=>u.some(e=>e._fieldRules)?E()(e,e=>JSON.stringify(e)):e))})(a).pipe((0,g.K)(e=>(console.error(e),(0,c.of)([{type:"validation",level:"error",path:[],item:new A(null==e?void 0:e.message)}]))))}function eb(e){let t=e.getTypeNames();return t.forEach(t=>{let n=e.get(t);n&&!function e(t,n){if(!n.has(t)){if(n.add(t),t.validation=eg(t),"fields"in t)for(let r of t.fields)e(r.type,n);if("of"in t)for(let i of t.of)e(i,n);if(t.annotations)for(let o of t.annotations)e(o,n)}}(n,new Set)}),e}},3571:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(67294),i=n(32932),o=n(933),a=n(40168);let s=(0,i.Cw0)(e=>{let{name:t,title:i,icon:s,...l}=e||{};return{name:"@sanity/vision",tools:[{name:t||"vision",title:i||"Vision",icon:s||a.hsE,component:(0,r.lazy)(()=>Promise.all([n.e(762),n.e(245),n.e(810)]).then(n.bind(n,90524))),options:l,router:o.BC.create("/*")}]}})},61021:function(e){"use strict";e.exports=function(e){return null==e?[]:Array.isArray(e)?e:[e]}},94184:function(e,t){var n;/*! 2 Copyright (c) 2018 Jed Watson. 3 Licensed under the MIT License (MIT), see 4 http://jedwatson.github.io/classnames 5*/!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},56851:function(e,t){"use strict";t.Q=function(e){for(var t,n=[],r=String(e||""),i=r.indexOf(","),o=0,a=!1;!a;)-1===i&&(i=r.length,a=!0),((t=r.slice(o,i).trim())||!a)&&n.push(t),o=i+1,i=r.indexOf(",",o);return n}},20640:function(e,t,n){"use strict";var r=n(11742),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,s,l,u,c,d,f=!1;t||(t={}),a=t.debug||!1;try{if(l=r(),u=document.createRange(),c=document.getSelection(),(d=document.createElement("span")).textContent=e,d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=i[t.format]||i.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),u.selectNodeContents(d),c.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(p){a&&console.error("unable to copy using execCommand: ",p),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(h){a&&console.error("unable to copy using clipboardData: ",h),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"â":"Ctrl")+"+C",s=n.replace(/#{\s*key\s*}/g,o),window.prompt(s,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),d&&document.body.removeChild(d),l()}return f}},45933:function(e,t,n){"use strict";var r,i=n(34155),o=function(){function e(e,t){if("function"!=typeof e)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but got: "+e+".");this._batchLoadFn=e,this._maxBatchSize=function(e){if(!(!e||!1!==e.batch))return 1;var t=e&&e.maxBatchSize;if(void 0===t)return 1/0;if("number"!=typeof t||t<1)throw TypeError("maxBatchSize must be a positive number: "+t);return t}(t),this._batchScheduleFn=function(e){var t=e&&e.batchScheduleFn;if(void 0===t)return a;
5if("function"!=typeof t)throw TypeError("batchScheduleFn must be a function: "+t);return t}(t),this._cacheKeyFn=function(e){var t=e&&e.cacheKeyFn;if(void 0===t)return function(e){return e};if("function"!=typeof t)throw TypeError("cacheKeyFn must be a function: "+t);return t}(t),this._cacheMap=function(e){if(!(!e||!1!==e.cache))return null;var t=e&&e.cacheMap;if(void 0===t)return new Map;if(null!==t){var n=["get","set","delete","clear"].filter(function(e){return t&&"function"!=typeof t[e]});if(0!==n.length)throw TypeError("Custom cacheMap missing methods: "+n.join(", "))}return t}(t),this._batch=null}var t=e.prototype;return t.load=function(e){if(null==e)throw TypeError("The loader.load() function must be called with a value, but got: "+String(e)+".");var t=function(e){var t=e._batch;if(null!==t&&!t.hasDispatched&&t.keys.length<e._maxBatchSize&&(!t.cacheHits||t.cacheHits.length<e._maxBatchSize))return t;var n={hasDispatched:!1,keys:[],callbacks:[]};return e._batch=n,e._batchScheduleFn(function(){(function(e,t){if(t.hasDispatched=!0,0===t.keys.length){l(t);return}var n=e._batchLoadFn(t.keys);if(!n||"function"!=typeof n.then)return s(e,t,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise: "+String(n)+"."));n.then(function(e){if(!u(e))throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array: "+String(e)+".");if(e.length!==t.keys.length)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys.\n\nKeys:\n"+String(t.keys)+"\n\nValues:\n"+String(e));l(t);for(var n=0;n<t.callbacks.length;n++){var r=e[n];r instanceof Error?t.callbacks[n].reject(r):t.callbacks[n].resolve(r)}}).catch(function(n){s(e,t,n)})})(e,n)}),n}(this),n=this._cacheMap,r=this._cacheKeyFn(e);if(n){var i=n.get(r);if(i){var o=t.cacheHits||(t.cacheHits=[]);return new Promise(function(e){o.push(function(){e(i)})})}}t.keys.push(e);var a=new Promise(function(e,n){t.callbacks.push({resolve:e,reject:n})});return n&&n.set(r,a),a},t.loadMany=function(e){if(!u(e))throw TypeError("The loader.loadMany() function must be called with Array<key> but got: "+e+".");for(var t=[],n=0;n<e.length;n++)t.push(this.load(e[n]).catch(function(e){return e}));return Promise.all(t)},t.clear=function(e){var t=this._cacheMap;if(t){var n=this._cacheKeyFn(e);t.delete(n)}return this},t.clearAll=function(){var e=this._cacheMap;return e&&e.clear(),this},t.prime=function(e,t){var n=this._cacheMap;if(n){var r,i=this._cacheKeyFn(e);void 0===n.get(i)&&(t instanceof Error?(r=Promise.reject(t)).catch(function(){}):r=Promise.resolve(t),n.set(i,r))}return this},e}(),a="object"==typeof i&&"function"==typeof i.nextTick?function(e){r||(r=Promise.resolve()),r.then(function(){i.nextTick(e)})}:"function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){setTimeout(e)};function s(e,t,n){l(t);for(var r=0;r<t.keys.length;r++)e.clear(t.keys[r]),t.callbacks[r].reject(n)}function l(e){if(e.cacheHits)for(var t=0;t<e.cacheHits.length;t++)e.cacheHits[t]()}function u(e){return"object"==typeof e&&null!==e&&"number"==typeof e.length&&(0===e.length||e.length>0&&Object.prototype.hasOwnProperty.call(e,e.length-1))}e.exports=o},59095:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(63500),i=n(584),o=n(19013),a=n(13882);function s(e,t){(0,a.Z)(1,arguments);var n=e||{},s=(0,o.Z)(n.start),l=(0,o.Z)(n.end),u=l.getTime();if(!(s.getTime()<=u))throw RangeError("Invalid interval");var c=(0,i.Z)(s,t),d=(0,i.Z)(l,t);c.setHours(15),d.setHours(15),u=d.getTime();for(var f=[],h=c;h.getTime()<=u;)h.setHours(0),f.push((0,o.Z)(h)),(h=(0,r.Z)(h,1)).setHours(15);return f}},2141:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(84314),i=n(49474),o=n(62337),a=n(11699),s=n(44941),l=n(19013),u=n(52149),c=n(24262),d=n(13882);function f(e,t){return(0,d.Z)(1,arguments),function(e,t,n){(0,d.Z)(2,arguments);var f,h,p,g,m,v=(0,r.j)(),y=null!==(f=null!==(h=null==n?void 0:n.locale)&&void 0!==h?h:v.locale)&&void 0!==f?f:s.Z;if(!y.formatDistance)throw RangeError("locale must contain formatDistance property");var w=(0,i.Z)(e,t);if(isNaN(w))throw RangeError("Invalid time value");var b=(0,u.Z)((0,u.Z)({},n),{addSuffix:Boolean(null==n?void 0:n.addSuffix),comparison:w});w>0?(p=(0,l.Z)(t),g=(0,l.Z)(e)):(p=(0,l.Z)(e),g=(0,l.Z)(t));var x=(0,a.Z)(g,p),C=Math.round((x-((0,c.Z)(g)-(0,c.Z)(p))/1e3)/60);if(C<2){if(null!=n&&n.includeSeconds){if(x<5)return y.formatDistance("lessThanXSeconds",5,b);if(x<10)return y.formatDistance("lessThanXSeconds",10,b);
5if(x<20)return y.formatDistance("lessThanXSeconds",20,b);if(x<40)return y.formatDistance("halfAMinute",0,b);else if(x<60)return y.formatDistance("lessThanXMinutes",1,b);else return y.formatDistance("xMinutes",1,b)}return 0===C?y.formatDistance("lessThanXMinutes",1,b):y.formatDistance("xMinutes",C,b)}if(C<45)return y.formatDistance("xMinutes",C,b);if(C<90)return y.formatDistance("aboutXHours",1,b);if(C<1440)return y.formatDistance("aboutXHours",Math.round(C/60),b);if(C<2520)return y.formatDistance("xDays",1,b);if(C<43200)return y.formatDistance("xDays",Math.round(C/1440),b);if(C<86400)return m=Math.round(C/43200),y.formatDistance("aboutXMonths",m,b);if((m=(0,o.Z)(g,p))<12)return y.formatDistance("xMonths",Math.round(C/43200),b);var E=m%12,k=Math.floor(m/12);return E<3?y.formatDistance("aboutXYears",k,b):E<9?y.formatDistance("overXYears",k,b):y.formatDistance("almostXYears",k+1,b)}(e,Date.now(),t)}},13956:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(584),i=n(19013),o=n(83946),a=n(13882),s=n(84314);function l(e,t){(0,a.Z)(1,arguments);var n=(0,i.Z)(e);return Math.round(((0,r.Z)(n,t).getTime()-(function(e,t){(0,a.Z)(1,arguments);var n,l,u,c,d,f,h,p,g=(0,s.j)(),m=(0,o.Z)(null!==(n=null!==(l=null!==(u=null!==(c=null==t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null==t?void 0:null===(d=t.locale)||void 0===d?void 0:null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==u?u:g.firstWeekContainsDate)&&void 0!==l?l:null===(h=g.locale)||void 0===h?void 0:null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),v=function(e,t){(0,a.Z)(1,arguments);var n,l,u,c,d,f,h,p,g=(0,i.Z)(e),m=g.getFullYear(),v=(0,s.j)(),y=(0,o.Z)(null!==(n=null!==(l=null!==(u=null!==(c=null==t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null==t?void 0:null===(d=t.locale)||void 0===d?void 0:null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==u?u:v.firstWeekContainsDate)&&void 0!==l?l:null===(h=v.locale)||void 0===h?void 0:null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setFullYear(m+1,0,y),w.setHours(0,0,0,0);var b=(0,r.Z)(w,t),x=new Date(0);x.setFullYear(m,0,y),x.setHours(0,0,0,0);var C=(0,r.Z)(x,t);return g.getTime()>=b.getTime()?m+1:g.getTime()>=C.getTime()?m:m-1}(e,t),y=new Date(0);return y.setFullYear(v,0,m),y.setHours(0,0,0,0),(0,r.Z)(y,t)})(n,t).getTime())/6048e5)+1}},8230:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(e){(0,i.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}},28366:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69119);function i(){return(0,r.Z)(Date.now())}},46038:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(77349),i=n(13882),o=n(83946),a=n(11640);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if((0,i.Z)(2,arguments),!t||"object"!==s(t))return new Date(NaN);var n=t.years?(0,o.Z)(t.years):0,l=t.months?(0,o.Z)(t.months):0,u=t.weeks?(0,o.Z)(t.weeks):0,c=t.days?(0,o.Z)(t.days):0,d=t.hours?(0,o.Z)(t.hours):0,f=t.minutes?(0,o.Z)(t.minutes):0,h=t.seconds?(0,o.Z)(t.seconds):0,p=function(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(t);return(0,r.Z)(e,-n)}(function(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(t);return(0,a.Z)(e,-n)}(e,l+12*n),c+7*u);return new Date(p.getTime()-1e3*(h+60*(f+60*d)))}},52027:function(e){var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32};t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,r,i){void 0===i&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var o=i;if(null==e||null==n)throw Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];void 0===r&&(r=!0);var a=r,s=this.diff_commonPrefix(e,n),l=e.substring(0,s);e=e.substring(s),n=n.substring(s),s=this.diff_commonSuffix(e,n);var u=e.substring(e.length-s);e=e.substring(0,e.length-s),n=n.substring(0,n.length-s);var c=this.diff_compute_(e,n,a,o);return l&&c.unshift(new t.Diff(0,l)),u&&c.push(new t.Diff(0,u)),this.diff_cleanupMerge(c),c},t.prototype.diff_compute_=function(e,n,r,i){if(!e)return[new t.Diff(1,n)];if(!n)return[new t.Diff(-1,e)];var o,a=e.length>n.length?e:n,s=e.length>n.length?n:e,l=a.indexOf(s);if(-1!=l)return o=[new t.Diff(1,a.substring(0,l)),new t.Diff(0,s),new t.Diff(1,a.substring(l+s.length))],e.length>n.length&&(o[0][0]=o[2][0]=-1),o;if(1==s.length)return[new t.Diff(-1,e),new t.Diff(1,n)];var u=this.diff_halfMatch_(e,n);if(u){var c=u[0],d=u[1],f=u[2],h=u[3],p=u[4],g=this.diff_main(c,f,r,i),m=this.diff_main(d,h,r,i);return g.concat([new t.Diff(0,p)],m)}return r&&e.length>100&&n.length>100?this.diff_lineMode_(e,n,i):this.diff_bisect_(e,n,i)},t.prototype.diff_lineMode_=function(e,n,r){var i=this.diff_linesToChars_(e,n);e=i.chars1,n=i.chars2;var o=i.lineArray,a=this.diff_main(e,n,!1,r);this.diff_charsToLines_(a,o),this.diff_cleanupSemantic(a),a.push(new t.Diff(0,""));for(var s=0,l=0,u=0,c="",d="";s<a.length;){switch(a[s][0]){case 1:u++,d+=a[s][1];break;case -1:l++,c+=a[s][1];break;case 0:if(l>=1&&u>=1){a.splice(s-l-u,l+u),s=s-l-u;for(var f=this.diff_main(c,d,!1,r),h=f.length-1;h>=0;h--)a.splice(s,0,f[h]);s+=f.length}u=0,l=0,c="",d=""}s++}return a.pop(),a},t.prototype.diff_bisect_=function(e,n,r){for(var i=e.length,o=n.length,a=Math.ceil((i+o)/2),s=2*a,l=Array(s),u=Array(s),c=0;c<s;c++)l[c]=-1,u[c]=-1;l[a+1]=0,u[a+1]=0;for(var d=i-o,f=d%2!=0,h=0,p=0,g=0,m=0,v=0;v<a&&!(new Date().getTime()>r);v++){for(var y=-v+h;y<=v-p;
vendor: 9,522 bytes, line 5
5y+=2){for(var w,b=a+y,x=(w=y==-v||y!=v&&l[b-1]<l[b+1]?l[b+1]:l[b-1]+1)-y;w<i&&x<o&&e.charAt(w)==n.charAt(x);)w++,x++;if(l[b]=w,w>i)p+=2;else if(x>o)h+=2;else if(f){var C=a+d-y;if(C>=0&&C<s&&-1!=u[C]){var E=i-u[C];if(w>=E)return this.diff_bisectSplit_(e,n,w,x,r)}}}for(var k=-v+g;k<=v-m;k+=2){for(var E,C=a+k,_=(E=k==-v||k!=v&&u[C-1]<u[C+1]?u[C+1]:u[C-1]+1)-k;E<i&&_<o&&e.charAt(i-E-1)==n.charAt(o-_-1);)E++,_++;if(u[C]=E,E>i)m+=2;else if(_>o)g+=2;else if(!f){var b=a+d-k;if(b>=0&&b<s&&-1!=l[b]){var w=l[b],x=a+w-b;if(w>=(E=i-E))return this.diff_bisectSplit_(e,n,w,x,r)}}}}return[new t.Diff(-1,e),new t.Diff(1,n)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,i){var o=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),u=this.diff_main(o,a,!1,i),c=this.diff_main(s,l,!1,i);return u.concat(c)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function i(e){for(var t="",i=0,a=-1,s=n.length;a<e.length-1;){-1==(a=e.indexOf("\n",i))&&(a=e.length-1);var l=e.substring(i,a+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(s==o&&(l=e.substring(i),a=e.length),t+=String.fromCharCode(s),r[l]=s,n[s++]=l),i=a+1}return t}n[0]="";var o=4e4;return o=65535,{chars1:i(e),chars2:i(t),lineArray:n}},t.prototype.diff_charsToLines_=function(e,t){for(var n=0;n<e.length;n++){for(var r=e[n][1],i=[],o=0;o<r.length;o++)i[o]=t[r.charCodeAt(o)];e[n][1]=i.join("")}},t.prototype.diff_commonPrefix=function(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),i=r,o=0;n<i;)e.substring(o,i)==t.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i},t.prototype.diff_commonSuffix=function(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),i=r,o=0;n<i;)e.substring(e.length-i,e.length-o)==t.substring(t.length-i,t.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i},t.prototype.diff_commonOverlap_=function(e,t){var n=e.length,r=t.length;if(0==n||0==r)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));var i=Math.min(n,r);if(e==t)return i;for(var o=0,a=1;;){var s=e.substring(i-a),l=t.indexOf(s);if(-1==l)return o;a+=l,(0==l||e.substring(i-a)==t.substring(0,a))&&(o=a,a++)}},t.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var n,r,i,o,a,s=e.length>t.length?e:t,l=e.length>t.length?t:e;if(s.length<4||2*l.length<s.length)return null;var u=this;function c(e,t,n){for(var r,i,o,a,s=e.substring(n,n+Math.floor(e.length/4)),l=-1,c="";-1!=(l=t.indexOf(s,l+1));){var d=u.diff_commonPrefix(e.substring(n),t.substring(l)),f=u.diff_commonSuffix(e.substring(0,n),t.substring(0,l));c.length<f+d&&(c=t.substring(l-f,l)+t.substring(l,l+d),r=e.substring(0,n-f),i=e.substring(n+d),o=t.substring(0,l-f),a=t.substring(l+d))}return 2*c.length>=e.length?[r,i,o,a,c]:null}var d=c(s,l,Math.ceil(s.length/4)),f=c(s,l,Math.ceil(s.length/2));return d||f?(n=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(r=n[0],i=n[1],o=n[2],a=n[3]):(o=n[0],a=n[1],r=n[2],i=n[3]),[r,i,o,a,n[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var n=!1,r=[],i=0,o=null,a=0,s=0,l=0,u=0,c=0;a<e.length;)0==e[a][0]?(r[i++]=a,s=u,l=c,u=0,c=0,o=e[a][1]):(1==e[a][0]?u+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,c)&&(e.splice(r[i-1],0,new t.Diff(-1,o)),e[r[i-1]+1][0]=1,i--,a=--i>0?r[i-1]:-1,s=0,l=0,u=0,c=0,o=null,n=!0)),a++;for(n&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),a=1;a<e.length;){if(-1==e[a-1][0]&&1==e[a][0]){var d=e[a-1][1],f=e[a][1],h=this.diff_commonOverlap_(d,f),p=this.diff_commonOverlap_(f,d);h>=p?(h>=d.length/2||h>=f.length/2)&&(e.splice(a,0,new t.Diff(0,f.substring(0,h))),e[a-1][1]=d.substring(0,d.length-h),e[a+1][1]=f.substring(h),a++):(p>=d.length/2||p>=f.length/2)&&(e.splice(a,0,new t.Diff(0,d.substring(0,p))),e[a-1][0]=1,e[a-1][1]=f.substring(0,f.length-p),e[a+1][0]=-1,e[a+1][1]=d.substring(p),a++),a++}a++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),i=n.charAt(0),o=r.match(t.nonAlphaNumericRegex_),a=i.match(t.nonAlphaNumericRegex_),s=o&&r.match(t.whitespaceRegex_),l=a&&i.match(t.whitespaceRegex_),u=s&&r.match(t.linebreakRegex_),c=l&&i.match(t.linebreakRegex_),d=u&&e.match(t.blanklineEndRegex_),f=c&&n.match(t.blanklineStartRegex_);return d||f?5:u||c?4:o&&!s&&l?3:s||l?2:o||a?1:0}for(var r=1;r<e.length-1;){if(0==e[r-1][0]&&0==e[r+1][0]){var i=e[r-1][1],o=e[r][1],a=e[r+1][1],s=this.diff_commonSuffix(i,o);if(s){var l=o.substring(o.length-s);i=i.substring(0,i.length-s),o=l+o.substring(0,o.length-s),a=l+a}for(var u=i,c=o,d=a,f=n(i,o)+n(o,a);o.charAt(0)===a.charAt(0);){i+=o.charAt(0),o=o.substring(1)+a.charAt(0),a=a.substring(1);var h=n(i,o)+n(o,a);h>=f&&(f=h,u=i,c=o,d=a)}e[r-1][1]!=u&&(u?e[r-1][1]=u:(e.splice(r-1,1),r--),e[r][1]=c,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var n=!1,r=[],i=0,o=null,a=0,s=!1,l=!1,u=!1,c=!1;a<e.length;)0==e[a][0]?(e[a][1].length<this.Diff_EditCost&&(u||c)?(r[i++]=a,s=u,l=c,o=e[a][1]):(i=0,o=null),u=c=!1):(-1==e[a][0]?c=!0:u=!0,o&&(s&&l&&u&&c||o.length<this.Diff_EditCost/2&&s+l+u+c==3)&&(e.splice(r[i-1],0,new t.Diff(-1,o)),e[r[i-1]+1][0]=1,i--,o=null,s&&l?(u=c=!0,i=0):(a=--i>0?r[i-1]:-1,u=c=!1),n=!0)),a++;n&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var n,r=0,i=0,o=0,a="",s="";r<e.length;)switch(e[r][0]){case 1:o++,s+=e[r][1],r++;break;case -1:i++,a+=e[r][1],r++;break;case 0:i+o>1?(0!==i&&0!==o&&(0!==(n=this.diff_commonPrefix(s,a))&&(r-i-o>0&&0==e[r-i-o-1][0]?e[r-i-o-1][1]+=s.substring(0,n):(e.splice(0,0,new t.Diff(0,s.substring(0,n))),r++),s=s.substring(n),a=a.substring(n)),0!==(n=this.diff_commonSuffix(s,a))&&(e[r][1]=s.substring(s.length-n)+e[r][1],s=s.substring(0,s.length-n),a=a.substring(0,a.length-n))),r-=i+o,e.splice(r,i+o),a.length&&(e.splice(r,0,new t.Diff(-1,a)),r++),s.length&&(e.splice(r,0,new t.Diff(1,s)),r++),r++):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,o=0,i=0,a="",s=""}""===e[e.length-1][1]&&e.pop();var l=!1;for(r=1;r<e.length-1;)0==e[r-1][0]&&0==e[r+1][0]&&(e[r][1].substring(e[r][1].length-e[r-1][1].length)==e[r-1][1]?(e[r][1]=e[r-1][1]+e[r][1].substring(0,e[r][1].length-e[r-1][1].length),e[r+1][1]=e[r-1][1]+e[r+1][1],e.splice(r-1,1),l=!0):e[r][1].substring(0,e[r+1][1].length)==e[r+1][1]&&(e[r-1][1]+=e[r+1][1],e[r][1]=e[r][1].substring(e[r+1][1].length)+e[r+1][1],e.splice(r+1,1),l=!0)),r++;l&&this.diff_cleanupMerge(e)},t.prototype.diff_xIndex=function(e,t){var n,r=0,i=0,o=0,a=0;for(n=0;n<e.length&&(1!==e[n][0]&&(r+=e[n][1].length),-1!==e[n][0]&&(i+=e[n][1].length),!(r>t));n++)o=r,a=i;return e.length!=n&&-1===e[n][0]?a:a+(t-o)},t.prototype.diff_prettyHtml=function(e){for(var t=[],n=/&/g,r=/</g,i=/>/g,o=/\n/g,a=0;a<e.length;a++){var s=e[a][0],l=e[a][1].replace(n,"&").replace(r,"<").replace(i,">").replace(o,"¶<br>");switch(s){case 1:t[a]='<ins style="background:#e6ffe6;">'+l+"</ins>";break;case -1:t[a]='<del style="background:#ffe6e6;">'+l+"</del>";break;case 0:t[a]="<span>"+l+"</span>"}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_text2=function(e){for(var t=[],n=0;n<e.length;n++)-1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_levenshtein=function(e){for(var t=0,n=0,r=0,i=0;i<e.length;i++){var o=e[i][0],a=e[i][1];switch(o){case 1:n+=a.length;break;case -1:r+=a.length;break;case 0:t+=Math.max(n,r),n=0,r=0}}return t+Math.max(n,r)},t.prototype.diff_toDelta=function(e){for(var t=[],n=0;n<e.length;n++)switch(e[n][0]){case 1:t[n]="+"+encodeURI(e[n][1]);break;case -1:t[n]="-"+e[n][1].length;break;case 0:t[n]="="+e[n][1].length}return t.join(" ").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(e,n){for(var r=[],i=0,o=0,a=n.split(/\t/g),s=0;s<a.length;s++){var l=a[s].substring(1);switch(a[s].charAt(0)){case"+":try{r[i++]=new t.Diff(1,decodeURI(l))}catch(u){throw Error("Illegal escape in diff_fromDelta: "+l)}break;case"-":case"=":var c=parseInt(l,10);if(isNaN(c)||c<0)throw Error("Invalid number in diff_fromDelta: "+l);var d=e.substring(o,o+=c);"="==a[s].charAt(0)?r[i++]=new t.Diff(0,d):r[i++]=new t.Diff(-1,d);break;default:if(a[s])throw Error("Invalid diff operation in diff_fromDelta: "+a[s])}}if(o!=e.length)throw Error("Delta length ("+o+") does not equal source text length ("+e.length+").");return r},t.prototype.match_main=function(e,t,n){if(null==e||null==t||null==n)throw Error("Null input. (match_main)");return(n=Math.max(0,Math.min(n,e.length)),e==t)?0:e.length?e.substring(n,n+t.length)==t?n:this.match_bitap_(e,t,n):-1},t.prototype.match_bitap_=function(e,t,n){if(t.length>this.Match_MaxBits)throw Error("Pattern too long for this browser.");var r,i,o,a=this.match_alphabet_(t),s=this;function l(e,r){var i=e/t.length,o=Math.abs(n-r);return s.Match_Distance?i+o/s.Match_Distance:o?1:i}var u=this.Match_Threshold,c=e.indexOf(t,n);-1!=c&&(u=Math.min(l(0,c),u),-1!=(c=e.lastIndexOf(t,n+t.length))&&(u=Math.min(l(0,c),u)));var d=1<<t.length-1;c=-1;for(var f=t.length+e.length,h=0;h<t.length;h++){for(r=0,i=f;r<i;)l(h,n+i)<=u?r=i:f=i,i=Math.floor((f-r)/2+r);f=i;var p=Math.max(1,n-i+1),g=Math.min(n+i,e.length)+t.length,m=Array(g+2);m[g+1]=(1<<h)-1;for(var v=g;v>
5=p;v--){var y=a[e.charAt(v-1)];if(0===h?m[v]=(m[v+1]<<1|1)&y:m[v]=(m[v+1]<<1|1)&y|((o[v+1]|o[v])<<1|1)|o[v+1],m[v]&d){var w=l(h,v-1);if(w<=u){if(u=w,(c=v-1)>n)p=Math.max(1,2*n-c);else break}}}if(l(h+1,n)>u)break;o=m}return c},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=0;for(var n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t},t.prototype.patch_addContext_=function(e,n){if(0!=n.length){if(null===e.start2)throw Error("patch not initialized");for(var r=n.substring(e.start2,e.start2+e.length1),i=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)i+=this.Patch_Margin,r=n.substring(e.start2-i,e.start2+e.length1+i);i+=this.Patch_Margin;var o=n.substring(e.start2-i,e.start2);o&&e.diffs.unshift(new t.Diff(0,o));var a=n.substring(e.start2+e.length1,e.start2+e.length1+i);a&&e.diffs.push(new t.Diff(0,a)),e.start1-=o.length,e.start2-=o.length,e.length1+=o.length+a.length,e.length2+=o.length+a.length}},t.prototype.patch_make=function(e,n,r){if("string"==typeof e&&"string"==typeof n&&void 0===r)i=e,(o=this.diff_main(i,n,!0)).length>2&&(this.diff_cleanupSemantic(o),this.diff_cleanupEfficiency(o));else if(e&&"object"==typeof e&&void 0===n&&void 0===r)o=e,i=this.diff_text1(o);else if("string"==typeof e&&n&&"object"==typeof n&&void 0===r)i=e,o=n;else if("string"==typeof e&&"string"==typeof n&&r&&"object"==typeof r)i=e,o=r;else throw Error("Unknown call format to patch_make.");if(0===o.length)return[];for(var i,o,a=[],s=new t.patch_obj,l=0,u=0,c=0,d=i,f=i,h=0;h<o.length;h++){var p=o[h][0],g=o[h][1];switch(l||0===p||(s.start1=u,s.start2=c),p){case 1:s.diffs[l++]=o[h],s.length2+=g.length,f=f.substring(0,c)+g+f.substring(c);break;case -1:s.length1+=g.length,s.diffs[l++]=o[h],f=f.substring(0,c)+f.substring(c+g.length);break;case 0:g.length<=2*this.Patch_Margin&&l&&o.length!=h+1?(s.diffs[l++]=o[h],s.length1+=g.length,s.length2+=g.length):g.length>=2*this.Patch_Margin&&l&&(this.patch_addContext_(s,d),a.push(s),s=new t.patch_obj,l=0,d=f,u=c)}1!==p&&(u+=g.length),-1!==p&&(c+=g.length)}return l&&(this.patch_addContext_(s,d),a.push(s)),a},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=new t.patch_obj;o.diffs=[];for(var a=0;a<i.diffs.length;a++)o.diffs[a]=new t.Diff(i.diffs[a][0],i.diffs[a][1]);o.start1=i.start1,o.start2=i.start2,o.length1=i.length1,o.length2=i.length2,n[r]=o}return n},t.prototype.patch_apply=function(e,t){if(0==e.length)return[t,[]];e=this.patch_deepCopy(e);var n=this.patch_addPadding(e);t=n+t+n,this.patch_splitMax(e);for(var r=0,i=[],o=0;o<e.length;o++){var a=e[o].start2+r,s=this.diff_text1(e[o].diffs),l=-1;if(s.length>this.Match_MaxBits?-1!=(c=this.match_main(t,s.substring(0,this.Match_MaxBits),a))&&(-1==(l=this.match_main(t,s.substring(s.length-this.Match_MaxBits),a+s.length-this.Match_MaxBits))||c>=l)&&(c=-1):c=this.match_main(t,s,a),-1==c)i[o]=!1,r-=e[o].length2-e[o].length1;else if(i[o]=!0,r=c-a,d=-1==l?t.substring(c,c+s.length):t.substring(c,l+this.Match_MaxBits),s==d)t=t.substring(0,c)+this.diff_text2(e[o].diffs)+t.substring(c+s.length);else{var u=this.diff_main(s,d,!1);if(s.length>this.Match_MaxBits&&this.diff_levenshtein(u)/s.length>this.Patch_DeleteThreshold)i[o]=!1;else{this.diff_cleanupSemanticLossless(u);for(var c,d,f,h=0,p=0;p<e[o].diffs.length;p++){var g=e[o].diffs[p];0!==g[0]&&(f=this.diff_xIndex(u,h)),1===g[0]?t=t.substring(0,c+f)+g[1]+t.substring(c+f):-1===g[0]&&(t=t.substring(0,c+f)+t.substring(c+this.diff_xIndex(u,h+g[1].length))),-1!==g[0]&&(h+=g[1].length)}}}}return[t=t.substring(n.length,t.length-n.length),i]},t.prototype.patch_addPadding=function(e){for(var n=this.Patch_Margin,r="",i=1;i<=n;i++)r+=String.fromCharCode(i);for(var i=0;i<e.length;i++)e[i].start1+=n,e[i].start2+=n;var o=e[0],a=o.diffs;if(0==a.length||0!=a[0][0])a.unshift(new t.Diff(0,r)),o.start1-=n,o.start2-=n,o.length1+=n,o.length2+=n;else if(n>a[0][1].length){var s=n-a[0][1].length;a[0][1]=r.substring(a[0][1].length)+a[0][1],o.start1-=s,o.start2-=s,o.length1+=s,o.length2+=s}if(0==(a=(o=e[e.length-1]).diffs).length||0!=a[a.length-1][0])a.push(new t.Diff(0,r)),o.length1+=n,o.length2+=n;else if(n>a[a.length-1][1].length){var s=n-a[a.length-1][1].length;a[a.length-1][1]+=r.substring(0,s),o.length1+=s,o.length2+=s}return r},t.prototype.patch_splitMax=function(e){for(var n=this.Match_MaxBits,r=0;r<e.length;r++)if(!(e[r].length1<=n)){var i=e[r];
5e.splice(r--,1);for(var o=i.start1,a=i.start2,s="";0!==i.diffs.length;){var l=new t.patch_obj,u=!0;for(l.start1=o-s.length,l.start2=a-s.length,""!==s&&(l.length1=l.length2=s.length,l.diffs.push(new t.Diff(0,s)));0!==i.diffs.length&&l.length1<n-this.Patch_Margin;){var c=i.diffs[0][0],d=i.diffs[0][1];1===c?(l.length2+=d.length,a+=d.length,l.diffs.push(i.diffs.shift()),u=!1):-1===c&&1==l.diffs.length&&0==l.diffs[0][0]&&d.length>2*n?(l.length1+=d.length,o+=d.length,u=!1,l.diffs.push(new t.Diff(c,d)),i.diffs.shift()):(d=d.substring(0,n-l.length1-this.Patch_Margin),l.length1+=d.length,o+=d.length,0===c?(l.length2+=d.length,a+=d.length):u=!1,l.diffs.push(new t.Diff(c,d)),d==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(d.length))}s=(s=this.diff_text2(l.diffs)).substring(s.length-this.Patch_Margin);var f=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==f&&(l.length1+=f.length,l.length2+=f.length,0!==l.diffs.length&&0===l.diffs[l.diffs.length-1][0]?l.diffs[l.diffs.length-1][1]+=f:l.diffs.push(new t.Diff(0,f))),u||e.splice(++r,0,l)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n<e.length;n++)t[n]=e[n];return t.join("")},t.prototype.patch_fromText=function(e){var n=[];if(!e)return n;for(var r=e.split("\n"),i=0,o=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<r.length;){var a=r[i].match(o);if(!a)throw Error("Invalid patch string: "+r[i]);var s=new t.patch_obj;for(n.push(s),s.start1=parseInt(a[1],10),""===a[2]?(s.start1--,s.length1=1):"0"==a[2]?s.length1=0:(s.start1--,s.length1=parseInt(a[2],10)),s.start2=parseInt(a[3],10),""===a[4]?(s.start2--,s.length2=1):"0"==a[4]?s.length2=0:(s.start2--,s.length2=parseInt(a[4],10)),i++;i<r.length;){var l=r[i].charAt(0);try{var u=decodeURI(r[i].substring(1))}catch(c){throw Error("Illegal escape in patch_fromText: "+u)}if("-"==l)s.diffs.push(new t.Diff(-1,u));else if("+"==l)s.diffs.push(new t.Diff(1,u));else if(" "==l)s.diffs.push(new t.Diff(0,u));else if("@"==l)break;else if(""===l);else throw Error('Invalid patch mode "'+l+'" in: '+u);i++}}return n},t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},t.patch_obj.prototype.toString=function(){e=0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1;for(var e,t,n=["@@ -"+e+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:t="+";break;case -1:t="-";break;case 0:t=" "}n[r+1]=t+encodeURI(this.diffs[r][1])+"\n"}return n.join("").replace(/%20/g," ")},e.exports=t,e.exports.diff_match_patch=t,e.exports.DIFF_DELETE=-1,e.exports.DIFF_INSERT=1,e.exports.DIFF_EQUAL=0},6907:function(e){"use strict";e.exports=function(e){return(e=String(e||""),r.test(e))?"rtl":i.test(e)?"ltr":"neutral"};var t="Ö-ß¿ï¬-﷽ﹰ-ﻼ",n="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿",r=RegExp("^[^"+n+"]*["+t+"]"),i=RegExp("^[^"+t+"]*["+n+"]")},26642:function(e,t,n){var r=n(56321).ExifReader;e.exports=function(e){var t=new r;t.load(e);var n=t.getAllTags(),i={};for(var o in n)i[o.replace(/([A-Z][a-z])|([a-z][A-Z])|([A-Z])/g,function(e){return 1==e.length?e.toLowerCase():e[0]==e[0].toUpperCase()?" "+e.toLowerCase():e[0]+" "+e[1].toLowerCase()}).replace(/^\s+|\s+$/g,"")]=n[o].description;return i}},56321:function(e,t){(function(){(null!==t?t:this).ExifReader=function(){function e(){var e=this;this._getTagValueAt={1:function(t){return e._getByteAt(t)},2:function(t){return e._getAsciiAt(t)},3:function(t){return e._getShortAt(t)},4:function(t){return e._getLongAt(t)},5:function(t){return e._getRationalAt(t)},7:function(t){return e._getUndefinedAt(t)},9:function(t){return e._getSlongAt(t)},10:function(t){return e._getSrationalAt(t)}},this._tiffHeaderOffset=0}return e.prototype._MIN_DATA_BUFFER_LENGTH=2,e.prototype._JPEG_ID_SIZE=2,e.prototype._JPEG_ID=65496,e.prototype._APP_MARKER_SIZE=2,e.prototype._APP0_MARKER=65504,e.prototype._APP1_MARKER=65505,e.prototype._APP15_MARKER=65519,e.prototype._APP_ID_OFFSET=4,e.prototype._BYTES_Exif=1165519206,e.prototype._TIFF_HEADER_OFFSET=10,e.prototype._BYTE_ORDER_BIG_ENDIAN=18761,e.prototype._BYTE_ORDER_LITTLE_ENDIAN=19789,e.prototype.load=function(e){return this.loadView(new DataView(e))},e.prototype.loadView=function(e){return this._dataView=e,this._tags={},this._checkImageHeader(),this._readTags()},e.prototype._checkImageHeader=function(){var e;if((e=this._dataView).byteLength<this._MIN_DATA_BUFFER_LENGTH||e.getUint16(0,!1)!==this._JPEG_ID)throw Error("Invalid image format");if(this._parseAppMarkers(e),!this._hasExifData())throw Error("No Exif data")},e.prototype._parseAppMarkers=function(e){var t,n,r;for(t=this._JPEG_ID_SIZE,r=[];!(e.byteLength<t+this._APP_ID_OFFSET+5);){if(this._isApp1ExifMarker(e,t))n=e.getUint16(t+this._APP_MARKER_SIZE,!1),this._tiffHeaderOffset=t+this._TIFF_HEADER_OFFSET;else if(this._isAppMarker(e,t))n=e.getUint16(t+this._APP_MARKER_SIZE,!1);else break;r.push(t+=this._APP_MARKER_SIZE+n)}return r},e.prototype._isApp1ExifMarker=function(e,t){return e.getUint16(t,!1)===this._APP1_MARKER&&e.getUint32(t+this._APP_ID_OFFSET,!1)===this._BYTES_Exif&&0===e.getUint8(t+this._APP_ID_OFFSET+4,!1)},e.prototype._isAppMarker=function(e,t){var n;return(n=e.getUint16(t,!1))>=this._APP0_MARKER&&n<=this._APP15_MARKER},e.prototype._hasExifData=function(){return 0!==this._tiffHeaderOffset},e.prototype._readTags=function(){return this._setByteOrder(),this._read0thIfd(),this._readExifIfd(),this._readGpsIfd(),this._readInteroperabilityIfd()},e.prototype._setByteOrder=function(){if(this._dataView.getUint16(this._tiffHeaderOffset)===this._BYTE_ORDER_BIG_ENDIAN)return this._littleEndian=!0;if(this._dataView.getUint16(this._tiffHeaderOffset)===this._BYTE_ORDER_LITTLE_ENDIAN)return this._littleEndian=!1;throw Error("Illegal byte order value. Faulty image.")},e.prototype._read0thIfd=function(){var e;return e=this._getIfdOffset(),this._readIfd("0th",e)},e.prototype._getIfdOffset=function(){return this._tiffHeaderOffset+this._getLongAt(this._tiffHeaderOffset+4)},e.prototype._readExifIfd=function(){var e;if(null!=this._tags["Exif IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["Exif IFD Pointer"].value,this._readIfd("exif",e)},e.prototype._readGpsIfd=function(){var e;if(null!=this._tags["GPS Info IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["GPS Info IFD Pointer"].value,this._readIfd("gps",e)},e.prototype._readInteroperabilityIfd=function(){var e;if(null!=this._tags["Interoperability IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["Interoperability IFD Pointer"].value,this._readIfd("interoperability",e)},e.prototype._readIfd=function(e,t){var n,r,i,o;for(n=this._getShortAt(t),t+=2,o=[],i=0;0<=n?i<n:i>n;0<=n?++i:--i)r=this._readTag(e,t),this._tags[r.name]={value:r.value,description:r.description},o.push(t+=12);return o},e.prototype._readTag=function(e,t){var n,r,i,o,a,s,l;return(n=this._getShortAt(t),a=this._getShortAt(t+2),r=this._getLongAt(t+4),this._typeSizes[a]*r<=4?s=this._getTagValue(t+8,a,r):(l=this._getLongAt(t+8),s=this._getTagValue(this._tiffHeaderOffset+l,a,r)),a===this._tagTypes.ASCII&&(s=this._splitNullSeparatedAsciiString(s)),null!=this._tagNames[e][n])?(null!=this._tagNames[e][n].name&&null!=this._tagNames[e][n].description?(o=this._tagNames[e][n].name,i=this._tagNames[e][n].description(s)):(o=this._tagNames[e][n],i=s instanceof Array?s.join(", "):s),{name:o,value:s,description:i}):{name:"undefined-"+n,value:s,description:s}},e.prototype._getTagValue=function(e,t,n){var r,i;return 1===(i=(function(){var i,o;for(o=[],i=0;0<=n?i<n:i>n;0<=n?++i:--i)r=this._getTagValueAt[t](e),e+=this._typeSizes[t],o.push(r);return o}
5).call(this)).length?i=i[0]:t===this._tagTypes.ASCII&&(i=this._getAsciiValue(i)),i},e.prototype._getAsciiValue=function(e){var t;return function(){var n,r,i;for(n=0,i=[],r=e.length;n<r;n++)t=e[n],i.push(String.fromCharCode(t));return i}()},e.prototype._getByteAt=function(e){return this._dataView.getUint8(e)},e.prototype._getAsciiAt=function(e){return this._dataView.getUint8(e)},e.prototype._getShortAt=function(e){return this._dataView.getUint16(e,this._littleEndian)},e.prototype._getLongAt=function(e){return this._dataView.getUint32(e,this._littleEndian)},e.prototype._getRationalAt=function(e){return this._getLongAt(e)/this._getLongAt(e+4)},e.prototype._getUndefinedAt=function(e){return this._getByteAt(e)},e.prototype._getSlongAt=function(e){return this._dataView.getInt32(e,this._littleEndian)},e.prototype._getSrationalAt=function(e){return this._getSlongAt(e)/this._getSlongAt(e+4)},e.prototype._splitNullSeparatedAsciiString=function(e){var t,n,r,i,o;for(i=0,r=[],n=0,o=e.length;i<o;i++){if("\0"===(t=e[i])){n++;continue}null==r[n]&&(r[n]=""),r[n]+=t}return r},e.prototype._typeSizes={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8},e.prototype._tagTypes={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10},e.prototype._tagNames={"0th":{256:"ImageWidth",257:"ImageLength",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffsets",274:{name:"Orientation",description:function(e){switch(e){case 1:return"top-left";case 2:return"top-right";case 3:return"bottom-right";case 4:return"bottom-left";case 5:return"left-top";case 6:return"right-top";case 7:return"right-bottom";case 8:return"left-bottom";default:return"Undefined"}}},277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:{name:"ResolutionUnit",description:function(e){switch(e){case 2:return"inches";case 3:return"centimeters";default:return"Unknown"}}},301:"TransferFunction",305:"Software",306:"DateTime",315:"Artist",318:"WhitePoint",319:"PrimaryChromaticities",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:{name:"YCbCrPositioning",description:function(e){switch(e){case 1:return"centered";case 2:return"co-sited";default:return"undefied "+e}}},532:"ReferenceBlackWhite",33432:{name:"Copyright",description:function(e){return e.join("; ")}},34665:"Exif IFD Pointer",34853:"GPS Info IFD Pointer"},exif:{33434:"ExposureTime",33437:"FNumber",34850:{name:"ExposureProgram",description:function(e){switch(e){case 0:return"Undefined";case 1:return"Manual";case 2:return"Normal program";case 3:return"Aperture priority";case 4:return"Shutter priority";case 5:return"Creative program";case 6:return"Action program";case 7:return"Portrait mode";case 8:return"Landscape mode";default:return"Unknown"}}},34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:{name:"OECF",description:function(e){return"[Raw OECF table data]"}},36864:{name:"ExifVersion",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);return t}},36867:"DateTimeOriginal",36868:"DateTimeDigitized",37121:{name:"ComponentsConfiguration",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)switch(e[n]){case 49:t+="Y";break;case 50:t+="Cb";break;case 51:t+="Cr";break;case 52:t+="R";break;case 53:t+="G";break;case 54:t+="B"}return t}},37122:"CompressedBitsPerPixel",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBiasValue",37381:"MaxApertureValue",37382:"SubjectDistance",37383:{name:"MeteringMode",description:function(e){switch(e){case 1:return"Average";case 2:return"CenterWeightedAverage";case 3:return"Spot";case 4:return"MultiSpot";case 5:return"Pattern";case 6:return"Partial";case 255:return"Other";default:return"Unknown"}}},37384:{name:"LightSource",description:function(e){switch(e){case 1:return"Daylight";case 2:return"Fluorescent";case 3:return"Tungsten (incandescent light)";case 4:return"Flash";case 9:return"Fine weather";case 10:return"Cloudy weather";case 11:return"Shade";case 12:return"Daylight fluorescent (D 5700 â 7100K)";case 13:return"Day white fluorescent (N 4600 â 5400K)";case 14:return"Cool white fluorescent (W 3900 â 4500K)";case 15:return"White fluorescent (WW 3200 â 3700K)";case 17:return"Standard light A";case 18:return"Standard light B";case 19:return"Standard light C";case 20:return"D55";case 21:return"D65";case 22:return"D75";case 23:return"D50";case 24:return"ISO studio tungsten";case 255:return"Other light source";default:return"Unknown"}}},37385:{name:"Flash",description:function(e){switch(e){case 0:return"Flas
5h did not fire";case 1:return"Flash fired";case 5:return"Strobe return light not detected";case 7:return"Strobe return light detected";case 9:return"Flash fired, compulsory flash mode";case 13:return"Flash fired, compulsory flash mode, return light not detected";case 15:return"Flash fired, compulsory flash mode, return light detected";case 16:return"Flash did not fire, compulsory flash mode";case 24:return"Flash did not fire, auto mode";case 25:return"Flash fired, auto mode";case 29:return"Flash fired, auto mode, return light not detected";case 31:return"Flash fired, auto mode, return light detected";case 32:return"No flash function";case 65:return"Flash fired, red-eye reduction mode";case 69:return"Flash fired, red-eye reduction mode, return light not detected";case 71:return"Flash fired, red-eye reduction mode, return light detected";case 73:return"Flash fired, compulsory flash mode, red-eye reduction mode";case 77:return"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected";case 79:return"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected";case 89:return"Flash fired, auto mode, red-eye reduction mode";case 93:return"Flash fired, auto mode, return light not detected, red-eye reduction mode";case 95:return"Flash fired, auto mode, return light detected, red-eye reduction mode";default:return"Unknown"}}},37386:"FocalLength",37396:{name:"SubjectArea",description:function(e){switch(e.length){case 2:return"Location; X: "+e[0]+", Y: "+e[1];case 3:return"Circle; X: "+e[0]+", Y: "+e[1]+", diameter: "+e[2];case 4:return"Rectangle; X: "+e[0]+", Y: "+e[1]+", width: "+e[2]+", height: "+e[3];default:return"Unknown"}}},37500:{name:"MakerNote",description:function(e){return"[Raw maker note data]"}},37510:{name:"UserComment",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",40960:{name:"FlashpixVersion",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);return t}},40961:{name:"ColorSpace",description:function(e){switch(e){case 1:return"sRGB";case 65535:return"Uncalibrated";default:return"Unknown"}}},40962:"PixelXDimension",40963:"PixelYDimension",40964:"RelatedSoundFile",40965:"Interoperability IFD Pointer",41483:"FlashEnergy",41484:{name:"SpatialFrequencyResponse",description:function(e){return"[Raw SFR table data]"}},41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:{name:"FocalPlaneResolutionUnit",description:function(e){switch(e){case 2:return"inches";case 3:return"centimeters";default:return"Unknown"}}},41492:{name:"SubjectLocation",description:function(e){return"X: "+e[0]+", Y: "+e[1]}},41493:"ExposureIndex",41495:{name:"SensingMethod",description:function(e){switch(e){case 1:return"Undefined";case 2:return"One-chip color area sensor";case 3:return"Two-chip color area sensor";case 4:return"Three-chip color area sensor";case 5:return"Color sequential area sensor";case 7:return"Trilinear sensor";case 8:return"Color sequential linear sensor";default:return"Unknown"}}},41728:{name:"FileSource",description:function(e){return 3===e?"DSC":"Unknown"}},41729:{name:"SceneType",description:function(e){return 1===e?"A directly photographed image":"Unknown"}},41730:{name:"CFAPattern",description:function(e){return"[Raw CFA pattern table data]"}},41985:{name:"CustomRendered",description:function(e){switch(e){case 0:return"Normal process";case 1:return"Custom process";default:return"Unknown"}}},41986:{name:"ExposureMode",description:function(e){switch(e){case 0:return"Auto exposure";case 1:return"Manual exposure";case 2:return"Auto bracket";default:return"Unknown"}}},41987:{name:"WhiteBalance",description:function(e){switch(e){case 0:return"Auto white balance";case 1:return"Manual white balance";default:return"Unknown"}}},41988:{name:"DigitalZoomRatio",description:function(e){return 0===e?"Digital zoom was not used":e}},41989:{name:"FocalLengthIn35mmFilm",description:function(e){return 0===e?"Unknown":e}},41990:{name:"SceneCaptureType",description:function(e){switch(e){case 0:return"Standard";case 1:return"Landscape";case 2:return"Portrait";case 3:return"Night scene";default:return"Unknown"}}},41991:{name:"GainControl",description:function(e){switch(e){case 0:return"None";case 1:return"Low gain up";case 2:return"High gain up";case 3:return"Low gain down";case 4:return"High gain down";default:return"Unknown"}}},41992:{name:"Contrast",description:function(e){switch(e){case 0:return"Normal";case 1:return"Soft";case 2:return"Hard";default:return"Unknown"}}},41993:{name:"Saturation",description:function(e){switch(e){case 0:return"Normal";case 1:return"Low saturation";case 2:return"High saturation";default:return"Unknown"}}},41994:{name:"Sharpness",description:function(e){switch(e){case 0:return"Normal";case 1:return"Soft";case 2:return"Hard";default:return"Unknown"}}},41995:{name:"DeviceSettingDescription",description:function(e){return"[Raw device settings table data]"}},41996:{name:"SubjectDistanceRange",description:function(e){switch(e){case 1:return"Macro";case 2:return"Close view";case 3:return"Distant view";default:return"Unknown"}}},42016:"ImageUniqueID"},gps:{0:{name:"GPSVersionID",description:function(e){var t,n;return e[0]===(t=e[1])&&2===t&&e[2]===(n=e[3])&&0===n?"Version 2.2":"Unknown"}},1:{name:"GPSLatitudeRef",description:function(e){switch(e.join("")){case"N":return"North latitude";case"S":return"South latitude";default:return"Unknown"}}},2:{name:"GPSLatitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},3:{name:"GPSLongitudeRef",description:function(e){switch(e.join("")){case"E":return"East longitude";case"W":return"West longitude";default:return"Unknown"}}},4:{name:"GPSLongitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},5:{name:"GPSAltitudeRef",description:function(e){switch(e){case 0:return"Sea level";case 1:return"Sea level reference (negative value)";default:return"Unknown"}}},6:{name:"GPSAltitude",description:function(e){return e+" m"}},7:{name:"GPSTimeStamp",description:function(e){return e.map(function(e){return function(){var t,n,r;for(r=[],t=0,n=2-(""+Math.floor(e)).length;0<=n?t<n:t>n;0<=n?++t:--t)r.push("0");return r}()+e}).join(":")}},8:"GPSSatellites",9:{name:"GPSStatus",description:function(e){switch(e.join("")){case"A":return"Measurement in progress";case"V":return"Measurement Interoperability";default:return"Unknown"}}},10:{name:"GPSMeasureMode",description:function(e){switch(e.join("")){case"2":return"2-dimensional measurement";case"3":return"3-dimensional measurement";default:return"Unknown"}}},11:"GPSDOP",12:{name:"GPSSpeedRef",description:function(e){switch(e.join("")){case"K":return"Kilometers per hour";case"M":return"Miles per hour";case"N":return"Knots";default:return"Unknown"}}},13:"GPSSpeed",14:{name:"GPSTrackRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},15:"GPSTrack",16:{name:"GPSImgDirectionRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},17:"GPSImgDirection",18:"GPSMapDatum",19:{name:"GPSDestLatitudeRef",description:function(e){switch(e.join("")){case"N":return"North latitude";case"S":return"South latitude";default:return"Unknown"}}},20:{name:"GPSDestLatitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},21:{name:"GPSDestLongitudeRef",description:function(e){switch(e.join("")){case"E":return"East longitude";case"W":return"West longitude";default:return"Unknown"}}},22:{name:"GPSDestLongitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},23:{name:"GPSDestBearingRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},24:"GPSDestBearing",25:{name:"GPSDestDistanceRef",description:function(e){switch(e.join("")){case"K":return"Kilometers";case"M":return"Miles";case"N":return"Knots";default:return"Unknown"}}},26:"GPSDestDistance",27:{name:"GPSProcessingMethod",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},28:{name:"GPSAreaInformation",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},29:"GPSDateStamp",30:{name:"GPSDifferential",description:function(e){switch(e){case 0:return"Measurement without differential correction";
5case 1:return"Differential correction applied";default:return"Unknown"}}}},interoperability:{1:"InteroperabilityIndex",2:"UnknownInteroperabilityTag0x0002",4097:"UnknownInteroperabilityTag0x1001",4098:"UnknownInteroperabilityTag0x1002"}},e.prototype.getTagValue=function(e){return null!=this._tags[e]?this._tags[e].value:void 0},e.prototype.getTagDescription=function(e){return null!=this._tags[e]?this._tags[e].description:void 0},e.prototype.getAllTags=function(){return this._tags},e}()}).call(this)},78892:function(e){"use strict";e.exports=function(e,n){for(var r,i,o,a=e||"",s=n||"div",l={},u=0;u<a.length;)t.lastIndex=u,o=t.exec(a),(r=a.slice(u,o?o.index:a.length))&&(i?"#"===i?l.id=r:l.className?l.className.push(r):l.className=[r]:s=r,u+=r.length),o&&(i=o[0],u++);return{type:"element",tagName:s,properties:l,children:[]}};var t=/[#.]/g},62502:function(e,t,n){"use strict";var r=n(99560),i=n(66632),o=n(78892),a=n(36582).Q,s=n(56851).Q;e.exports=function(e,t,n){var i=n?function(e){for(var t,n=e.length,r=-1,i={};++r<n;)i[(t=e[r]).toLowerCase()]=t;return i}(n):null;return function(n,c){var d,f,h,p,g=o(n,t),m=Array.prototype.slice.call(arguments,2),v=g.tagName.toLowerCase();if(g.tagName=i&&l.call(i,v)?i[v]:v,c&&("string"==typeof(d=c)||"length"in d||(f=g.tagName,h=d.type,"input"!==f&&h&&"string"==typeof h&&("object"==typeof d.children&&"length"in d.children||((h=h.toLowerCase(),"button"===f)?"menu"!==h&&"submit"!==h&&"reset"!==h&&"button"!==h:"value"in d))))&&(m.unshift(c),c=null),c)for(p in c)!function(t,n,i){var o,l,c;null!=i&&i==i&&(l=(o=r(e,n)).property,"string"==typeof(c=i)&&(o.spaceSeparated?c=a(c):o.commaSeparated?c=s(c):o.commaOrSpaceSeparated&&(c=a(s(c).join(" ")))),"style"===l&&"string"!=typeof i&&(c=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(c)),"className"===l&&t.className&&(c=t.className.concat(c)),t[l]=function(e,t,n){var r,i,o;if("object"!=typeof n||!("length"in n))return u(e,t,n);for(i=n.length,r=-1,o=[];++r<i;)o[r]=u(e,t,n[r]);return o}(o,l,c))}(g.properties,p,c[p]);return function e(t,n){var r,i;if("string"==typeof n||"number"==typeof n){t.push({type:"text",value:String(n)});return}if("object"==typeof n&&"length"in n){for(r=-1,i=n.length;++r<i;)e(t,n[r]);return}if("object"!=typeof n||!("type"in n))throw Error("Expected node, nodes, or string, got `"+n+"`");t.push(n)}(g.children,m),"template"===g.tagName&&(g.content={type:"root",children:g.children},g.children=[]),g}};var l={}.hasOwnProperty;function u(e,t,n){var r=n;return e.number||e.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(e.boolean||e.overloadedBoolean)&&"string"==typeof r&&(""===r||i(n)===i(t))&&(r=!0),r}},52579:function(e,t,n){"use strict";var r=n(97247),i=n(62502)(r,"div");i.displayName="html",e.exports=i},31742:function(e,t,n){"use strict";e.exports=n(52579)},20170:function(e,t,n){"use strict";n.d(t,{lX:function(){return g},PP:function(){return v}});var r=n(87462);function i(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&i(e),l=t&&i(t),u=s||l;if(e&&i(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var c=a[a.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=a.length;f>=0;f--){var h=a[f];"."===h?o(a,f):".."===h?(o(a,f),d++):d&&(o(a,f),d--)}if(!u)for(;d--;d)a.unshift("..");!u||""===a[0]||a[0]&&i(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function s(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function l(e,t,n,i){var o,s,l,u,c,d;"string"==typeof e?(l="",u="",-1!==(c=(s=e||"/").indexOf("#"))&&(u=s.substr(c),s=s.substr(0,c)),-1!==(d=s.indexOf("?"))&&(l=s.substr(d),s=s.substr(0,d)),(o={pathname:s,search:"?"===l?"":l,hash:"#"===u?"":u}).state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(f){if(f instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invali
5d percent-encoding.');throw f}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function u(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var c=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function d(e,t){t(window.confirm(e))}var f="popstate",h="hashchange";function p(){try{return window.history.state||{}}catch(e){return{}}}function g(e){void 0===e&&(e={}),c||function(e,t){if(!e)throw Error("Invariant failed")}(!1);var t,n,i,o=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,g=-1!==window.navigator.userAgent.indexOf("Trident"),m=e,v=m.forceRefresh,y=void 0!==v&&v,w=m.getUserConfirmation,b=void 0===w?d:w,x=m.keyLength,C=void 0===x?6:x,E=e.basename?"/"===(i="/"===(n=e.basename).charAt(0)?n:"/"+n).charAt(i.length-1)?i.slice(0,-1):i:"";function k(e){var t,n=e||{},r=n.key,i=n.state,o=window.location,a=o.pathname+o.search+o.hash;return E&&(a=0===(t=a).toLowerCase().indexOf(E.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(E.length))?t.substr(E.length):t),l(a,i,r)}function _(){return Math.random().toString(36).substr(2,C)}var A=u();function R(e){(0,r.Z)(H,e),H.length=o.length,A.notifyListeners(H.location,H.action)}function S(e){void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")||P(k(e.state))}function j(){P(k(p()))}var M=!1;function P(e){M?(M=!1,R()):A.confirmTransitionTo(e,"POP",b,function(t){var n,r,i,o;t?R({action:"POP",location:e}):(n=H.location,-1===(r=I.indexOf(n.key))&&(r=0),-1===(i=I.indexOf(e.key))&&(i=0),(o=r-i)&&(M=!0,D(o)))})}var L=k(p()),I=[L.key];function O(e){return E+s(e)}function D(e){o.go(e)}var T=0;function N(e){1===(T+=e)&&1===e?(window.addEventListener(f,S),g&&window.addEventListener(h,j)):0===T&&(window.removeEventListener(f,S),g&&window.removeEventListener(h,j))}var F=!1,H={length:o.length,action:"POP",location:L,createHref:O,push:function(e,t){var n="PUSH",r=l(e,t,_(),H.location);A.confirmTransitionTo(r,n,b,function(e){if(e){var t=O(r),i=r.key,s=r.state;if(a){if(o.pushState({key:i,state:s},null,t),y)window.location.href=t;else{var l=I.indexOf(H.location.key),u=I.slice(0,l+1);u.push(r.key),I=u,R({action:n,location:r})}}else window.location.href=t}})},replace:function(e,t){var n="REPLACE",r=l(e,t,_(),H.location);A.confirmTransitionTo(r,n,b,function(e){if(e){var t=O(r),i=r.key,s=r.state;if(a){if(o.replaceState({key:i,state:s},null,t),y)window.location.replace(t);else{var l=I.indexOf(H.location.key);-1!==l&&(I[l]=r.key),R({action:n,location:r})}}else window.location.replace(t)}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return F||(N(1),F=!0),function(){return F&&(F=!1,N(-1)),t()}},listen:function(e){var t=A.appendListener(e);return N(1),function(){N(-1),t()}}};return H}function m(e,t,n){return Math.min(Math.max(e,t),n)}function v(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,o=void 0===i?["/"]:i,a=t.initialIndex,c=t.keyLength,d=void 0===c?6:c,f=u();function h(e){(0,r.Z)(w,e),w.length=w.entries.length,f.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,d)}var g=m(void 0===a?0:a,0,o.length-1),v=o.map(function(e){return"string"==typeof e?l(e,void 0,p()):l(e,void 0,e.key||p())});function y(e){var t=m(w.index+e,0,w.entries.length-1),r=w.entries[t];f.confirmTransitionTo(r,"POP",n,function(e){e?h({action:"POP",location:r,index:t}):h()})}var w={length:v.length,action:"POP",location:v[g],index:g,entries:v,createHref:s,push:function(e,t){var r="PUSH",i=l(e,t,p(),w.location);f.confirmTransitionTo(i,r,n,function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),h({action:r,location:i,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",i=l(e,t,p(),w.location);f.confirmTransitionTo(i,r,n,function(e){e&&(w.entries[w.index]=i,h({action:r,location:i}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),f.setPrompt(e)},listen:function(e){return f.appendListener(e)}};return w}},60308:function(e){"use strict";e.exports=function(e,t){if(!Array.isArray(e))throw TypeError("humanize-list expected an array");(t=t||{}).conjunction=t.conjunction||"and";var n=e.length;if(1===n)return e[0];if(t.skipConjunction)return e.join(", ");for(var r="",i=0;i<n;i++)i===n-1?(t.oxfordComma&&(r+=","),r+=" "+t.conjunction+" "):0!==i&&(r+=", "),r+=e[i];return r}},46260:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),i=n(46195);e.exports=function(e){return r(e)||i(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},18156:function(e,t){"use strict";for(var n="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},o={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)o["f"+a]=111+a;function s(e,t,n){!t||"byKey"in t||(n=t,t=null),Array.isArray(e)||(e=[e]);var i=e.map(function(e){return function(e,t){var n=t&&t.byKey,i={},a=(e=e.replace("++","+add")).split("+"),s=a.length;for(var u in r)i[r[u]]=!1;var c=!0,d=!1,f=void 0;try{for(var h,p=a[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var g,m=h.value,v=m.endsWith("?")&&m.length>1;v&&(m=m.slice(0,-1));var y=l(m),w=r[y];1!==s&&w||(n?i.key=y:i.which=(g=m,o[g=l(g)]||g.toUpperCase().charCo
5deAt(0))),w&&(i[w]=!v||null)}}catch(b){d=!0,f=b}finally{try{!c&&p.return&&p.return()}finally{if(d)throw f}}return i}(e,t)}),a=function(e){return i.some(function(t){return function(e,t){for(var n in e){var r=e[n],i=void 0;if(null!=r&&(null!=(i="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&i!==r)return!1}return!0}(t,e)})};return null==n?a:a(n)}function l(e){return e=i[e=e.toLowerCase()]||e}t.ZP=s,t.TB=function(e,t){return s(e,{byKey:!0},t)}},28092:function(e,t){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n){return t}t.u4=function(e,t,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i;return function e(t,o,a,l){var u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,c=Array.isArray(a)?"array":null===a?"null":r(a);return"object"===c?function(t,r,o,a){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,u=n(s(t,r,o,a),2),c=u[0],d=u[1];return c?d:Object.keys(o).reduce(function(t,n){return e(t,r,o[n],a.concat(l(o[n],n,o)),l)},d)}(t,o,a,l,u):"array"===c?function(t,r,o,a){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,u=n(s(t,r,o,a),2),c=u[0],d=u[1];return c?d:o.reduce(function(t,n,i){return e(t,r,n,a.concat(l(n,i,o)),l)},d)}(t,o,a,l,u):n(s(t,o,a,l),2)[1]}(o,t,e,[],a)};var o={_:"SKIP_MARKER"};function a(e){return[o,e]}function s(e,t,n,r){var i=t(e,n,r);return i===a?[!0,e]:Array.isArray(i)&&i[0]===o?[!0,i[1]]:[!1,i]}},12937:function(e){"use strict";let t=[],n=[],r=(e,r)=>{let i,o,a,s;if(e===r)return 0;let l=e;e.length>r.length&&(e=r,r=l);let u=e.length,c=r.length;for(;u>0&&e.charCodeAt(~-u)===r.charCodeAt(~-c);)u--,c--;let d=0;for(;d<u&&e.charCodeAt(d)===r.charCodeAt(d);)d++;if(u-=d,c-=d,0===u)return c;let f=0,h=0;for(;f<u;)n[f]=e.charCodeAt(d+f),t[f]=++f;for(;h<c;)for(f=0,i=r.charCodeAt(d+h),a=h++,o=h;f<u;f++)s=i===n[f]?a:a+1,a=t[f],o=t[f]=a>o?s>o?o+1:s:s>a?a+1:s;return o};e.exports=r,e.exports.default=r},96425:function(e,t,n){var r=n(3118),i=n(9435);function o(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}o.prototype=r(i.prototype),o.prototype.constructor=o,e.exports=o},7548:function(e,t,n){var r=n(3118),i=n(9435);function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}o.prototype=r(i.prototype),o.prototype.constructor=o,e.exports=o},96874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},44174:function(e){e.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}},77412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},47443:function(e,t,n){var r=n(42118);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},1196:function(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},94311:function(e,t,n){var r=n(69877);e.exports=function(e){var t=e.length;return t?e[r(0,t-1)]:void 0}},34865:function(e,t,n){var r=n(89465),i=n(77813),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},81119:function(e,t,n){var r=n(89881);e.exports=function(e,t,n,i){return r(e,function(e,r,o){t(i,e,n(e),o)}),i}},44037:function(e,t,n){var r=n(98363),i=n(3674);e.exports=function(e,t){return e&&r(t,i(t),e)}},63886:function(e,t,n){var r=n(98363),i=n(81704);e.exports=function(e,t){return e&&r(t,i(t),e)}},85990:function(e,t,n){var r=n(46384),i=n(77412),o=n(34865),a=n(44037),s=n(63886),l=n(64626),u=n(278),c=n(18805),d=n(1911),f=n(58234),h=n(46904),p=n(64160),g=n(43824),m=n(29148),v=n(38517),y=n(1469),w=n(44144),b=n(56688),x=n(13218),C=n(72928),E=n(3674),k=n(81704),_="[object Arguments]",A="[object Function]",R="[object Object]",S={};S[_]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array
5]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[R]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[A]=S["[object WeakMap]"]=!1,e.exports=function e(t,n,j,M,P,L){var I,O=1&n,D=2&n;if(j&&(I=P?j(t,M,P,L):j(t)),void 0!==I)return I;if(!x(t))return t;var T=y(t);if(T){if(I=g(t),!O)return u(t,I)}else{var N=p(t),F=N==A||"[object GeneratorFunction]"==N;if(w(t))return l(t,O);if(N==R||N==_||F&&!P){if(I=D||F?{}:v(t),!O)return D?d(t,s(I,t)):c(t,a(I,t))}else{if(!S[N])return P?t:{};I=m(t,N,O)}}L||(L=new r);var H=L.get(t);if(H)return H;L.set(t,I),C(t)?t.forEach(function(r){I.add(e(r,n,j,r,t,L))}):b(t)&&t.forEach(function(r,i){I.set(i,e(r,n,j,i,t,L))});var V=T?void 0:(4&n?D?h:f:D?k:E)(t);return i(V||t,function(r,i){V&&(r=t[i=r]),o(I,i,e(r,n,j,i,t,L))}),I}},3118:function(e,t,n){var r=n(13218),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},20731:function(e,t,n){var r=n(88668),i=n(47443),o=n(1196),a=n(29932),s=n(7518),l=n(74757);e.exports=function(e,t,n,u){var c=-1,d=i,f=!0,h=e.length,p=[],g=t.length;if(!h)return p;n&&(t=a(t,s(n))),u?(d=o,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++c<h;){var m=e[c],v=null==n?m:n(m);if(m=u||0!==m?m:0,f&&v==v){for(var y=g;y--;)if(t[y]===v)continue e;p.push(m)}else d(t,v,u)||p.push(m)}return p}},89881:function(e,t,n){var r=n(47816),i=n(99291)(r);e.exports=i},56029:function(e,t,n){var r=n(33448);e.exports=function(e,t,n){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(void 0===l?s==s&&!r(s):n(s,l)))var l=s,u=a}return u}},41848:function(e){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1}},21078:function(e,t,n){var r=n(62488),i=n(37285);e.exports=function e(t,n,o,a,s){var l=-1,u=t.length;for(o||(o=i),s||(s=[]);++l<u;){var c=t[l];n>0&&o(c)?n>1?e(c,n-1,o,a,s):r(s,c):a||(s[s.length]=c)}return s}},53325:function(e){e.exports=function(e,t){return e>t}},42118:function(e,t,n){var r=n(41848),i=n(62722),o=n(42351);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},47556:function(e,t,n){var r=n(88668),i=n(47443),o=n(1196),a=n(29932),s=n(7518),l=n(74757),u=Math.min;e.exports=function(e,t,n){for(var c=n?o:i,d=e[0].length,f=e.length,h=f,p=Array(f),g=1/0,m=[];h--;){var v=e[h];h&&t&&(v=a(v,s(t))),g=u(v.length,g),p[h]=!n&&(t||d>=120&&v.length>=120)?new r(h&&v):void 0}v=e[0];var y=-1,w=p[0];e:for(;++y<d&&m.length<g;){var b=v[y],x=t?t(b):b;if(b=n||0!==b?b:0,!(w?l(w,x):c(m,x,n))){for(h=f;--h;){var C=p[h];if(!(C?l(C,x):c(e[h],x,n)))continue e}w&&w.push(x),m.push(b)}}return m}},25588:function(e,t,n){var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},62722:function(e){e.exports=function(e){return e!=e}},29221:function(e,t,n){var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},10313:function(e,t,n){var r=n(13218),i=n(25726),o=n(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)"constructor"==s&&(t||!a.call(e,s))||n.push(s);return n}},9435:function(e){e.exports=function(){}},70433:function(e){e.exports=function(e,t){return e<t}},69199:function(e,t,n){var r=n(89881),i=n(98612);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,function(e,r,i){o[++n]=t(e,r,i)}),o}},82689:function(e,t,n){var r=n(29932),i=n(97786),o=n(67206),a=n(69199),s=n(71131),l=n(7518),u=n(85022),c=n(6557),d=n(1469);e.exports=function(e,t,n){t=t.length?r(t,function(e){return d(e)?function(t){return i(t,1===e.length?e[0]:e)}:e}):[c];var f=-1;return t=r(t,l(o)),s(a(e,function(e,n,i){return{criteria:r(t,function(t){return t(e)}),index:++f,value:e}}),function(e,t){return u(e,t,n)})}},25970:function(e,t,n){var r=n(63012),i=n(79095);e.exports=function(e,t){return r(e,t,function(t,n){return i(e,n)})}},63012:function(e,t,n){var r=n(97786),i=n(10611),o=n(71811);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var u=t[a],c=r(e,u);n(c,u)&&i(l,o(u,e),c)}return l}},69877:function(e){var t=Math.floor,n=Math.random;e.exports=function(e,r){return e+t(n()*(r-e+1))}},40098:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,i,o){for(var a=-1,s=n(t((r-e)/(i||1)),0),l=Array(s);s--;)l[o?s:++a]=e,e+=i;return l}},5976:function(e,t,n){var r=n(6557),i=n(45357),o=n(30061);e.exports=function(e,t){return o(i(e,t,r),e+"")}},84992:function(e,t,n){var r=n(94311),i=n(52628);e.exports=function(e){return r(i(e))}},10611:function(e,t,n){var r=n(34865),i=n(71811),o=n(65776),a=n(13218),s=n(40327);e.exports=function(e,t,n,l){if(!a(e))return e;t=i(t,e);for(var u=-1,c=t.length,d=c-1,f=e;null!=f&&++u<c;){var h=s(t[u]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(u!=d){var g=f[h];void 0===(p=l?l(g,h,f):void 0)&&(p=a(g)?g:o(t[u+1])?[]:{})}r(f,h,p),f=f[h]}return e}},56560:function(e,t,n){var r=n(75703),i=n(38777),o=n(6557);e.exports=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o},71131:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},27561:function(e,t,n){var r=n(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},45652:function(e,t,n){var r=n(88668),i=n(47443),o=n(1196),a=n(74757),s=n(23593),l=n(21814);e.exports=function(e,t,n){var u=-1,c=i,d=e.length,f=!0,h=[],p=h;if(n)f=!1,c=o;else if(d>=200){var g=t?null:s(e);if(g)return l(g);f=!1,c=a,p=new r}else p=t?[]:h;e:for(;++u<d;){var m=e[u],v=t?t(m):m;if(m=n||0!==m?m:0,f&&v==v){for(var y=p.length;y--;)if(p[y]===v)continue e;t&&p.push(v),h.push(m)}
5else c(p,v,n)||(p!==h&&p.push(v),h.push(m))}return h}},57406:function(e,t,n){var r=n(71811),i=n(73061),o=n(40292),a=n(40327);e.exports=function(e,t){return t=r(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},47415:function(e,t,n){var r=n(29932);e.exports=function(e,t){return r(t,function(t){return e[t]})}},36128:function(e,t,n){var r=n(20731),i=n(21078),o=n(45652);e.exports=function(e,t,n){var a=e.length;if(a<2)return a?o(e[0]):[];for(var s=-1,l=Array(a);++s<a;)for(var u=e[s],c=-1;++c<a;)c!=s&&(l[s]=r(l[s]||u,e[c],t,n));return o(i(l,1),t,n)}},24387:function(e,t,n){var r=n(29246);e.exports=function(e){return r(e)?e:[]}},5512:function(e,t,n){var r=n(42118);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},89817:function(e,t,n){var r=n(42118);e.exports=function(e,t){for(var n=-1,i=e.length;++n<i&&r(t,e[n],0)>-1;);return n}},74318:function(e,t,n){var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},57157:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:function(e,t,n){var r=n(62705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},77133:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},26393:function(e,t,n){var r=n(33448);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e==e,a=r(e),s=void 0!==t,l=null===t,u=t==t,c=r(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!o)return 1;if(!i&&!a&&!c&&e<t||c&&n&&o&&!i&&!a||l&&n&&o||!s&&o||!u)return -1}return 0}},85022:function(e,t,n){var r=n(26393);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,l=n.length;++i<s;){var u=r(o[i],a[i]);if(u){if(i>=l)return u;return u*("desc"==n[i]?-1:1)}}return e.index-t.index}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:function(e,t,n){var r=n(34865),i=n(89465);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=o?o(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?i(n,u,c):r(n,u,c)}return n}},18805:function(e,t,n){var r=n(98363),i=n(99551);e.exports=function(e,t){return r(e,i(e),t)}},1911:function(e,t,n){var r=n(98363),i=n(51442);e.exports=function(e,t){return r(e,i(e),t)}},55189:function(e,t,n){var r=n(44174),i=n(81119),o=n(67206),a=n(1469);e.exports=function(e,t){return function(n,s){var l=a(n)?r:i,u=t?t():{};return l(n,e,o(s,2),u)}}},21463:function(e,t,n){var r=n(5976),i=n(16612);e.exports=function(e){return r(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t})}},99291:function(e,t,n){var r=n(98612);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},67740:function(e,t,n){var r=n(67206),i=n(98612),o=n(3674);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var l=r(n,3);t=o(t),n=function(e){return l(s[e],e,s)}}var u=e(t,n,a);return u>-1?s[l?t[u]:u]:void 0}}},23468:function(e,t,n){var r=n(7548),i=n(99021),o=n(66833),a=n(97658),s=n(1469),l=n(86528);e.exports=function(e){return i(function(t){var n=t.length,i=n,u=r.prototype.thru;for(e&&t.reverse();i--;){var c=t[i];if("function"!=typeof c)throw TypeError("Expected a function");if(u&&!d&&"wrapper"==a(c))var d=new r([],!0)}for(i=d?i:n;++i<n;){var f=a(c=t[i]),h="wrapper"==f?o(c):void 0;d=h&&l(h[0])&&424==h[1]&&!h[4].length&&1==h[9]?d[a(h[0])].apply(d,h[3]):1==c.length&&l(c)?d[f]():d.thru(c)}return function(){var e=arguments,r=e[0];if(d&&1==e.length&&s(r))return d.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}},47445:function(e,t,n){var r=n(40098),i=n(16612),o=n(18601);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t<n?1:-1:o(a),r(t,n,a,e)}}},23593:function(e,t,n){var r=n(58525),i=n(50308),o=n(21814),a=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i;e.exports=a},60696:function(e,t,n){var r=n(68630);e.exports=function(e){return r(e)?void 0:e}},99021:function(e,t,n){var r=n(85564),i=n(45357),o=n(30061);e.exports=function(e){return o(i(e,void 0,r),e+"")}},46904:function(e,t,n){var r=n(68866),i=n(51442),o=n(81704);e.exports=function(e){return r(e,o,i)}},66833:function(e,t,n){var r=n(89250),i=n(50308);e.exports=r?function(e){return r.get(e)}:i},97658:function(e,t,n){var r=n(52060),i=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",n=r[t],o=i.call(r,t)?n.length:0;o--;){var a=n[o],s=a.func;
5if(null==s||s==e)return a.name}return t}},85924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},51442:function(e,t,n){var r=n(62488),i=n(85924),o=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},43824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},29148:function(e,t,n){var r=n(74318),i=n(57157),o=n(93147),a=n(40419),s=n(77133);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},38517:function(e,t,n){var r=n(3118),i=n(85924),o=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},37285:function(e,t,n){var r=n(62705),i=n(35694),o=n(1469),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},16612:function(e,t,n){var r=n(77813),i=n(98612),o=n(65776),a=n(13218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return("number"==s?!!(i(n)&&o(t,n.length)):"string"==s&&t in n)&&r(n[t],e)}},86528:function(e,t,n){var r=n(96425),i=n(66833),o=n(97658),a=n(8111);e.exports=function(e){var t=o(e),n=a[t];if("function"!=typeof n||!(t in r.prototype))return!1;if(e===n)return!0;var s=i(n);return!!s&&e===s[0]}},89250:function(e,t,n){var r=n(70577),i=r&&new r;e.exports=i},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},45357:function(e,t,n){var r=n(96874),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(l),r(e,this,u)}}},40292:function(e,t,n){var r=n(97786),i=n(14259);e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},52060:function(e){e.exports={}},30061:function(e,t,n){var r=n(56560),i=n(21275)(r);e.exports=i},21275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},42351:function(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},21913:function(e,t,n){var r=n(96425),i=n(7548),o=n(278);e.exports=function(e){if(e instanceof r)return e.clone();var t=new i(e.__wrapped__,e.__chain__);return t.__actions__=o(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},63706:function(e,t,n){var r=n(98363),i=n(21463),o=n(3674),a=i(function(e,t,n,i){r(t,o(t),e,i)});e.exports=a},84596:function(e,t,n){var r=n(1469);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},66678:function(e,t,n){var r=n(85990);e.exports=function(e){return r(e,4)}},50361:function(e,t,n){var r=n(85990);e.exports=function(e){return r(e,5)}},39693:function(e){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}},75703:function(e){e.exports=function(e){return function(){return e}}},23279:function(e,t,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,c,d,f,h,p=0,g=!1,m=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=l,r=u;return l=u=void 0,p=t,d=e.apply(r,n)}function w(e){var n=e-h,r=e-p;return void 0===h||n>=t||n<0||m&&r>=c}function b(){var e,n,r,o=i();if(w(o))return x(o);
5f=setTimeout(b,(e=o-h,n=o-p,r=t-e,m?s(r,c-n):r))}function x(e){return(f=void 0,v&&l)?y(e):(l=u=void 0,d)}function C(){var e,n=i(),r=w(n);if(l=arguments,u=this,h=n,r){if(void 0===f)return p=e=h,f=setTimeout(b,t),g?y(e):d;if(m)return clearTimeout(f),f=setTimeout(b,t),y(h)}return void 0===f&&(f=setTimeout(b,t)),d}return t=o(t)||0,r(n)&&(g=!!n.leading,c=(m="maxWait"in n)?a(o(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),C.cancel=function(){void 0!==f&&clearTimeout(f),p=0,l=h=u=f=void 0},C.flush=function(){return void 0===f?d:x(i())},C}},91966:function(e,t,n){var r=n(20731),i=n(21078),o=n(5976),a=n(29246),s=o(function(e,t){return a(e)?r(e,i(t,1,a,!0)):[]});e.exports=s},3522:function(e,t,n){var r=n(79833),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},13311:function(e,t,n){var r=n(67740)(n(30998));e.exports=r},30998:function(e,t,n){var r=n(41848),i=n(67206),o=n(40554),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return -1;var l=null==n?0:o(n);return l<0&&(l=a(s+l,0)),r(e,i(t,3),l)}},94654:function(e,t,n){var r=n(21078),i=n(35161);e.exports=function(e,t){return r(i(e,t),1)}},85564:function(e,t,n){var r=n(21078);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},59242:function(e,t,n){var r=n(23468)();e.exports=r},7739:function(e,t,n){var r=n(89465),i=n(55189),o=Object.prototype.hasOwnProperty,a=i(function(e,t,n){o.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=a},25325:function(e,t,n){var r=n(29932),i=n(47556),o=n(5976),a=n(24387),s=o(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?i(t):[]});e.exports=s},29246:function(e,t,n){var r=n(98612),i=n(37005);e.exports=function(e){return i(e)&&r(e)}},41609:function(e,t,n){var r=n(280),i=n(64160),o=n(35694),a=n(1469),s=n(98612),l=n(44144),u=n(25726),c=n(36719),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},18446:function(e,t,n){var r=n(90939);e.exports=function(e,t){return r(e,t)}},56688:function(e,t,n){var r=n(25588),i=n(7518),o=n(31167),a=o&&o.isMap,s=a?i(a):r;e.exports=s},81763:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},68630:function(e,t,n){var r=n(44239),i=n(85924),o=n(37005),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},72928:function(e,t,n){var r=n(29221),i=n(7518),o=n(31167),a=o&&o.isSet,s=a?i(a):r;e.exports=s},47037:function(e,t,n){var r=n(44239),i=n(1469),o=n(37005);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},52353:function(e){e.exports=function(e){return void 0===e}},21804:function(e,t,n){var r=n(35393)(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});e.exports=r},24350:function(e,t,n){var r=n(89465),i=n(55189)(function(e,t,n){r(e,n,t)});e.exports=i},81704:function(e,t,n){var r=n(14636),i=n(10313),o=n(98612);e.exports=function(e){return o(e)?r(e,!0):i(e)}},73061:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},35161:function(e,t,n){var r=n(29932),i=n(67206),o=n(69199),a=n(1469);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},6162:function(e,t,n){var r=n(56029),i=n(53325),o=n(6557);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},53632:function(e,t,n){var r=n(56029),i=n(70433),o=n(6557);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},94885:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},50308:function(e){e.exports=function(){}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},57557:function(e,t,n){var r=n(29932),i=n(85990),o=n(57406),a=n(71811),s=n(98363),l=n(60696),u=n(99021),c=n(46904),d=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=i(n,7,l));for(var d=t.length;d--;)o(n,t[d]);return n});e.exports=d},14176:function(e,t,n){var r=n(67206),i=n(94885),o=n(35937);e.exports=function(e,t){return o(e,i(r(t)))}},75472:function(e,t,n){var r=n(82689),i=n(1469);e.exports=function(e,t,n,o){return null==e?[]:(i(t)||(t=null==t?[]:[t]),i(n=o?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},43174:function(e,t,n){var r=n(55189)(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});e.exports=r},78718:function(e,t,n){var r=n(25970),i=n(99021)(function(e,t){return null==e?{}:r(e,t)});e.exports=i},35937:function(e,t,n){var r=n(29932),i=n(67206),o=n(63012),a=n(46904);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),function(e){return[e]});return t=i(t),o(e,n,function(e,n){return t(e,n[0])})}},96026:function(e,t,n){var r=n(47445)();e.exports=r},95534:function(e,t,n){var r=n(94311),i=n(84992),o=n(1469);e.exports=function(e){return(o(e)?r:i)(e)}},89734:function(e,t,n){var r=n(21078),i=n(82689),o=n(5976),a=n(16612),s=o(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])});e.exports=s},18029:function(e,t,n){var r=n(35393),i=n(11700),o=r(function(e,t,n){return e+(n?" ":"")+i(t)});e.exports=o},23493:function(e,t,n){var r=n(23279),i=n(13218);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},18601:function(e,t,n){var r=n(14841),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},40554:function(e,t,n){var r=n(18601);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},7334:function(e,t,n){var r=n(79833);e.exports=function(e){return r(e).toLowerCase()}},14841:function(e,t,n){var r=n(27561),i=n(13218),o=n(33448),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;
5if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},30084:function(e,t,n){var r=n(29932),i=n(278),o=n(1469),a=n(33448),s=n(55514),l=n(40327),u=n(79833);e.exports=function(e){return o(e)?r(e,l):a(e)?[e]:i(s(u(e)))}},92742:function(e,t,n){var r=n(80531),i=n(27561),o=n(40180),a=n(5512),s=n(89817),l=n(83140),u=n(79833);e.exports=function(e,t,n){if((e=u(e))&&(n||void 0===t))return i(e);if(!e||!(t=r(t)))return e;var c=l(e),d=l(t),f=s(c,d),h=a(c,d)+1;return o(c,f,h).join("")}},93386:function(e,t,n){var r=n(21078),i=n(5976),o=n(45652),a=n(29246),s=i(function(e){return o(r(e,1,a,!0))});e.exports=s},44908:function(e,t,n){var r=n(45652);e.exports=function(e){return e&&e.length?r(e):[]}},45578:function(e,t,n){var r=n(67206),i=n(45652);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},73955:function(e,t,n){var r=n(79833),i=0;e.exports=function(e){var t=++i;return r(e)+t}},52628:function(e,t,n){var r=n(47415),i=n(3674);e.exports=function(e){return null==e?[]:r(e,i(e))}},8111:function(e,t,n){var r=n(96425),i=n(7548),o=n(9435),a=n(1469),s=n(37005),l=n(21913),u=Object.prototype.hasOwnProperty;function c(e){if(s(e)&&!a(e)&&!(e instanceof r)){if(e instanceof i)return e;if(u.call(e,"__wrapped__"))return l(e)}return new i(e)}c.prototype=o.prototype,c.prototype.constructor=c,e.exports=c},76566:function(e,t,n){var r=n(34963),i=n(5976),o=n(36128),a=n(29246),s=i(function(e){return o(r(e,a))});e.exports=s},25874:function(e,t,n){"use strict";n.d(t,{ZI:function(){return function e(t,n){var r=l(t);if(r!==l(n))return n;var a=new o(t.endMeta),u=new o(n.endMeta);switch(r){case"object":for(var c=a.asObject(t),d=u.asObject(n),f=0,h=Object.keys(c.fields).length,p=Object.keys(d.fields).length,g=0,m=Object.entries(d.fields);g<m.length;g++){var v=m[g],y=v[0],w=v[1],b=c.fields[y];b&&(d.fields[y]=e(b,w),d.fields[y]===b&&f++)}return h===p&&h===f?t:n;case"array":var x=a.asArray(t),C=u.asArray(n);if(x.elements.length!==C.elements.length)break;for(var E=0,k=0;k<C.elements.length;k++)C.elements[k]=e(x.elements[k],C.elements[k]),C.elements[k]!==x.elements[k]&&E++;return 0===E?t:n;case"null":case"boolean":case"number":if(s(t)===s(n))return t;break;case"string":var _=s(t),A=s(n);if(_===A)return t;var R=u.copyString(null),S=(0,i.lK)(_,A),j=(0,i.zA)(_,A,S),M=(0,i.W)(A),P=(0,i.W)(_);0<S&&u.stringAppendSlice(R,t,0,S),S<M-j&&u.stringAppendSlice(R,n,S,M-j),P-j<P&&u.stringAppendSlice(R,t,P-j,P);var L=u.finalize(R);if(s(L)!==A)throw Error("incorrect string rebase");return L}return n}},af:function(){return u},oL:function(){return l},re:function(){return a}});var r=n(16496),i=n(47438),o=function(){function e(e){this.meta=e}return e.prototype.wrap=function(e){return this.wrapWithMeta(e,this.meta,this.meta)},e.prototype.wrapWithMeta=function(e,t,n){return void 0===n&&(n=this.meta),{data:e,startMeta:t,endMeta:n}},e.prototype.asObject=function(e){if(!e.content){for(var t={},n=0,r=Object.entries(e.data);n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=this.wrapWithMeta(a,e.startMeta)}e.content={type:"object",fields:t}}return e.content},e.prototype.asArray=function(e){var t=this;if(!e.content){var n=e.data.map(function(n){return t.wrapWithMeta(n,e.startMeta)}),r=n.map(function(){return t.meta});e.content={type:"array",elements:n,metas:r}}return e.content},e.prototype.asString=function(e){if(!e.content){var t=e.data,n={value:t,utf8size:(0,i.W)(t),uses:[],startMeta:e.startMeta,endMeta:e.endMeta};e.content=this.stringFromParts([n])}return e.content},e.prototype.stringFromParts=function(e){for(var t={type:"string",parts:e},n=0;n<e.length;n++)e[n].uses.push(t);return t},e.prototype.objectGetKeys=function(e){return e.content?Object.keys(e.content.fields):Object.keys(e.data)},e.prototype.objectGetField=function(e,t){return this.asObject(e).fields[t]},e.prototype.arrayGetElement=function(e,t){return this.asArray(e).elements[t]},e.prototype.finalize=function(e){return this.updateEndMeta(e),{content:e,startMeta:this.meta,endMeta:this.meta}},e.prototype.markChanged=function(e){return this.wrap(s(e))},e.prototype.updateEndMeta=function(e){if("string"==e.type)for(var t=0,n=e.parts;t<n.length;t++)n[t].endMeta=this.meta;else if("array"===e.type)for(var r=0,i=e.elements;r<i.length;r++){var o=i[r];o.content&&o.endMeta!==this.meta&&this.updateEndMeta(o.content),o.endMeta=this.meta}else for(var a=0,s=Object.values(e.fields);a<s.length;a++){var o=s[a];o.content&&o.endMeta!==this.meta&&this.updateEndMeta(o.content),o.endMeta=this.meta}},e.prototype.copyString=function(e){if(!e)return{type:"string",parts:[]};var t=this.asString(e);return this.stringFromParts(t.parts.slice())},e.prototype.copyObject=function(e){var t={type:"object",fields:{}};if(e){var n=this.asObject(e);Object.assign(t.fields,n.fields)}return t},e.prototype.copyArray=function(e){var t=e?this.asArray(e):null;return{type:"array",elements:t?t.elements:[],metas:t?t.metas:[]}},e.prototype.objectSetField=function(e,t,n){e.fields[t]=n},e.prototype.objectDeleteField=function(e,t){delete e.fields[t]},e.prototype.arrayAppendValue=function(e,t){e.elements.push(t),e.metas.push(this.meta)},e.prototype.arrayAppendSlice=function(e,t,n,r){var i,o,a=this.asArray(t),s=a.elements.length===n;if((i=e.elements).push.apply(i,a.elements.slice(n,r)),s)(o=e.metas).push.apply(o,a.metas.slice(n,r));else for(var l=n;l<r;l++)e.metas.push(this.meta)},e.prototype.stringAppendValue=function(e,t){for(var n=this.asString(t),r=0,i=n.parts;r<i.length;r++){var o=i[r];this.stringAppendPart(e,o)}},e.prototype.stringAppendPart=function(e,t){e.parts.push(t),t.uses.push(e)},e.prototype.resolveStringPart=function(e,t,n){if(0===n)return t;for(var r=t;r<e.parts.length;r++){var i=e.parts[r];if(n===i.utf8size)return r+1;if(n<i.utf8size)return this.splitString(i,n),r+1;n-=i.utf8size}throw Error("splitting string out of bounds")},e.prototype.splitString=function(e,t){var n,r=t,o=e.utf8size-r;if(e.utf8size!==e.value.length){var a=0;for(t=0;a<r;t++){var s=e.value.codePointAt(t),l=(0,i.rO)(s);4===l&&t++,a+=l}}n=e.value.slice(0,t);var u={value:e.value.slice(t),utf8size:o,uses:e.uses.slice(),startMeta:e.startMeta,endMeta:e.endMeta};e.value=n,e.utf8size=r;
5for(var c=0,d=e.uses;c<d.length;c++){var f=d[c],h=f.parts.indexOf(e);if(-1===h)throw Error("bug: mismatch between string parts and use.");f.parts.splice(h+1,0,u)}},e.prototype.stringAppendSlice=function(e,t,n,r){for(var i=this.asString(t),o=this.resolveStringPart(i,0,n),a=this.resolveStringPart(i,o,r-n),s=o;s<a;s++){var l=i.parts[s];this.stringAppendPart(e,l)}},e}();function a(e,t){return{data:e,startMeta:t,endMeta:t}}function s(e){if(void 0!==e.data)return e.data;var t,n=e.content;switch(n.type){case"string":t=n.parts.map(function(e){return e.value}).join("");break;case"array":t=n.elements.map(function(e){return s(e)});break;case"object":t={};for(var r=0,i=Object.entries(n.fields);r<i.length;r++){var o=i[r],a=o[0],l=o[1];t[a]=s(l)}}return e.data=t,t}function l(e){return e.content?e.content.type:Array.isArray(e.data)?"array":null===e.data?"null":typeof e.data}function u(e,t,n){var i=new o(n);return new r.t(i,e,t).process()}},16496:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=["Value","Copy","Blank","ReturnIntoArray","ReturnIntoObject","ReturnIntoObjectSameKey","PushField","PushElement","PushParent","Pop","PushFieldCopy","PushFieldBlank","PushElementCopy","PushElementBlank","ReturnIntoObjectPop","ReturnIntoObjectSameKeyPop","ReturnIntoArrayPop","ObjectSetFieldValue","ObjectCopyField","ObjectDeleteField","ArrayAppendValue","ArrayAppendSlice","StringAppendString","StringAppendSlice"],i=function(){function e(e,t,n){this.i=0,this.inputStack=[],this.outputStack=[],this.model=e,this.root=t,this.patch=n}return e.prototype.read=function(){return this.patch[this.i++]},e.prototype.process=function(){for(this.inputStack.push({value:this.root}),this.outputStack.push({value:this.root});this.i<this.patch.length;){var e=this.read(),t=r[e];if(!t)throw Error("Unknown opcode: "+e);this["process"+t].apply(this)}var n=this.outputStack.pop();return this.finalizeOutput(n)},e.prototype.inputEntry=function(){return this.inputStack[this.inputStack.length-1]},e.prototype.inputKey=function(e,t){return e.keys||(e.keys=this.model.objectGetKeys(e.value).sort()),e.keys[t]},e.prototype.outputEntry=function(){return this.outputStack[this.outputStack.length-1]},e.prototype.outputArray=function(){var e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyArray(e.value)),e.writeValue},e.prototype.outputObject=function(){var e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyObject(e.value)),e.writeValue},e.prototype.outputString=function(){var e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyString(e.value)),e.writeValue},e.prototype.finalizeOutput=function(e){return e.writeValue?this.model.finalize(e.writeValue):e.value},e.prototype.processValue=function(){var e=this.model.wrap(this.read());this.outputStack.push({value:e})},e.prototype.processCopy=function(){var e=this.inputEntry();this.outputStack.push({value:e.value})},e.prototype.processBlank=function(){this.outputStack.push({value:null})},e.prototype.processReturnIntoArray=function(){var e=this.outputStack.pop(),t=this.finalizeOutput(e),n=this.outputArray();this.model.arrayAppendValue(n,t)},e.prototype.processReturnIntoObject=function(){var e=this.read(),t=this.outputStack.pop(),n=this.finalizeOutput(t);n=this.model.markChanged(n);var r=this.outputObject();this.model.objectSetField(r,e,n)},e.prototype.processReturnIntoObjectSameKey=function(){var e=this.inputEntry(),t=this.outputStack.pop(),n=this.finalizeOutput(t),r=this.outputObject();this.model.objectSetField(r,e.key,n)},e.prototype.processPushField=function(){var e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.model.objectGetField(t.value,n);this.inputStack.push({value:r,key:n})},e.prototype.processPushElement=function(){var e=this.read(),t=this.inputEntry(),n=this.model.arrayGetElement(t.value,e);this.inputStack.push({value:n})},e.prototype.processPop=function(){this.inputStack.pop()},e.prototype.processPushFieldCopy=function(){this.processPushField(),this.processCopy()},e.prototype.processPushFieldBlank=function(){this.processPushField(),this.processBlank()},e.prototype.processPushElementCopy=function(){this.processPushElement(),this.processCopy()},e.prototype.processPushElementBlank=function(){this.processPushElement(),this.processBlank()},e.prototype.processReturnIntoObjectPop=function(){this.processReturnIntoObject(),this.processPop()},e.prototype.processReturnIntoObjectSameKeyPop=function(){this.processReturnIntoObjectSameKey(),this.processPop()},e.prototype.processReturnIntoArrayPop=function(){this.processReturnIntoArray(),this.processPop()},e.prototype.processObjectSetFieldValue=function(){this.processValue(),this.processReturnIntoObject()},e.prototype.processObjectCopyField=function(){this.processPushField(),this.processCopy(),this.processReturnIntoObjectSameKey(),this.processPop()},e.prototype.processObjectDeleteField=function(){var e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.outputObject();this.model.objectDeleteField(r,n)},e.prototype.processArrayAppendValue=function(){var e=this.model.wrap(this.read()),t=this.outputArray();this.model.arrayAppendValue(t,e)},e.prototype.processArrayAppendSlice=function(){var e=this.read(),t=this.read(),n=this.outputArray(),r=this.inputEntry().value;this.model.arrayAppendSlice(n,r,e,t)},e.prototype.processStringAppendString=function(){var e=this.model.wrap(this.read()),t=this.outputString();this.model.stringAppendValue(t,e)},e.prototype.processStringAppendSlice=function(){var e=this.read(),t=this.read(),n=this.outputString(),r=this.inputEntry().value;this.model.stringAppendSlice(n,r,e,t)},e}()},65104:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var r=n(16496),i=n(47438),o={wrap:function(e){return e},finalize:function(e){return Array.isArray(e)?e:e.data},markChanged:function(e){return e},objectGetKeys:function(e){return Object.keys(e)},objectGetField:function(e,t){return e[t]},arrayGetElement:function(e,t){return e[t]},copyObject:function(e){var t={type:"object",data:{}};if(null!==e)for(var n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],o=i[0],a=i[1];t.data[o]=a}return t},copyArray:function(e){return null===e?[]:e.slice()},copyString:function(e){return{type:"string",data:null===e?"":e}},objectSetField:function(e,t,n){e.data[t]=n},objectDeleteField:function(e,t){delete e.data[t]},arrayAppendValue:function(e,t){e.push(t)},arrayAppendSlice:function(e,t,n,r){e.push.apply(e,t.slice(n,r))}
5,stringAppendSlice:function(e,t,n,r){var o=(0,i.D4)(t,n),a=(0,i.D4)(t,r,o);e.data+=t.slice(o,a)},stringAppendValue:function(e,t){e.data+=t}};function a(e,t){return new r.t(o,e,t).process()}},47438:function(e,t,n){"use strict";function r(e){return e>>16?4:e>>11?3:e>>7?2:1}function i(e){for(var t=0,n=0;n<e.length;n++){var i=r(e.codePointAt(n));4==i&&n++,t+=i}return t}function o(e,t,n){void 0===n&&(n=0);var i=n,o=0;for(o=n;i<t;o++){var a=r(e.codePointAt(o));4===a&&o++,i+=a}return o}function a(e,t){for(var n=Math.min(e.length,t.length),i=0,o=0;o<n;){var a=e.codePointAt(o);if(a!==t.codePointAt(o))break;var s=r(a);i+=s,o+=4===s?2:1}return i}function s(e,t,n){void 0===n&&(n=0);for(var i=Math.min(e.length,t.length)-n,o=0,a=0;a<i;){var s=e.codePointAt(e.length-1-a);if(s!==t.codePointAt(t.length-1-a))break;var l=r(s);o+=l,a+=4===l?2:1}return o}n.d(t,{D4:function(){return o},W:function(){return i},lK:function(){return a},rO:function(){return r},zA:function(){return s}})},57824:function(e){function t(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}
5e.exports=function(e,n){n=n||{};var r,i,o=typeof e;if("string"===o&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===o&&isFinite(e))return n.long?(r=Math.abs(e))>=864e5?t(e,r,864e5,"day"):r>=36e5?t(e,r,36e5,"hour"):r>=6e4?t(e,r,6e4,"minute"):r>=1e3?t(e,r,1e3,"second"):e+" ms":(i=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":i>=36e5?Math.round(e/36e5)+"h":i>=6e4?Math.round(e/6e4)+"m":i>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},70631:function(e,t,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,w=String.prototype.replace,b=String.prototype.toUpperCase,x=String.prototype.toLowerCase,C=RegExp.prototype.test,E=Array.prototype.concat,k=Array.prototype.join,_=Array.prototype.slice,A=Math.floor,R="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,M="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M?"object":"symbol")?Symbol.toStringTag:null,L=Object.prototype.propertyIsEnumerable,I=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function O(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||C.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-A(-e):A(e);if(r!==e){var i=String(r),o=y.call(t,i.length+1);return w.call(i,n,"$&_")+"."+w.call(w.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(t,n,"$&_")}var D=n(24654),T=D.custom,N=z(T)?T:null;function F(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function H(e){return"[object Array]"===Z(e)&&(!P||!("object"==typeof e&&P in e))}function V(e){return"[object RegExp]"===Z(e)&&(!P||!("object"==typeof e&&P in e))}function z(e){if(M)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!j)return!1;try{return j.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,i){var s=n||{};if(U(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(U(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!U(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
5if(U(s,"indent")&&null!==s.indent&&" "!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(U(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var g=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength;return e(y.call(t,0,n.maxStringLength),n)+"... "+r+" more character"+(r>1?"s":"")}return F(w.call(w.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",n)}(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return g?O(t,b):b}if("bigint"==typeof t){var C=String(t)+"n";return g?O(t,C):C}var A=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=A&&A>0&&"object"==typeof t)return H(t)?"[Array]":"[Object]";var S=function(e,t){var n;if(" "===e.indent)n=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}(s,r);if(void 0===i)i=[];else if(W(i,t)>=0)return"[Circular]";function T(t,n,o){if(n&&(i=_.call(i)).push(n),o){var a={depth:s.depth};return U(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,i)}return e(t,s,r+1,i)}if("function"==typeof t&&!V(t)){var B=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),J=K(t,T);return"[Function"+(B?": "+B:" (anonymous)")+"]"+(J.length>0?" { "+k.call(J,", ")+" }":"")}if(z(t)){var Q=M?w.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):j.call(t);return"object"!=typeof t||M?Q:q(Q)}if(t&&"object"==typeof t&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)){for(var ee,et="<"+x.call(String(t.nodeName)),en=t.attributes||[],er=0;er<en.length;er++)et+=" "+en[er].name+"="+F((ee=en[er].value,w.call(String(ee),/"/g,""")),"double",s);return et+=">",t.childNodes&&t.childNodes.length&&(et+="..."),et+="</"+x.call(String(t.nodeName))+">"}if(H(t)){if(0===t.length)return"[]";var ei=K(t,T);return S&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1;return!0}(ei)?"["+Y(ei,S)+"]":"[ "+k.call(ei,", ")+" ]"}if("[object Error]"===Z(t)&&(!P||!("object"==typeof t&&P in t))){var eo=K(t,T);return"cause"in Error.prototype||!("cause"in t)||L.call(t,"cause")?0===eo.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(eo,", ")+" }":"{ ["+String(t)+"] "+k.call(E.call("[cause]: "+T(t.cause),eo),", ")+" }"}if("object"==typeof t&&l){if(N&&"function"==typeof t[N]&&D)return D(t,{depth:A-r});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}return!1}(t)){var ea=[];return a.call(t,function(e,n){ea.push(T(n,t,!0)+" => "+T(e,t))}),X("Map",o.call(t),ea,S)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var es=[];return c.call(t,function(e){es.push(T(e,t))}),X("Set",u.call(t),es,S)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(t){return!0}return e instanceof WeakMap}catch(n){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(t){return!0}return e instanceof WeakSet}catch(n){}return!1}(t))return $("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(t){}return!1}(t))return $("WeakRef");if("[object Number]"===Z(t)&&(!P||!("object"==typeof t&&P in t)))return q(T(Number(t)));if(function(e){if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(t){}return!1}(t))return q(T(R.call(t)));if("[object Boolean]"===Z(t)&&(!P||!("object"==typeof t&&P in t)))return q(p.call(t));if("[object String]"===Z(t)&&(!P||!("object"==typeof t&&P in t)))return q(T(String(t)));if(!("[object Date]"===Z(t)&&(!P||!("object"==typeof t&&P in t)))&&!V(t)){var el=K(t,T),eu=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,ec=t instanceof Object?"":"null prototype",ed=!eu&&P&&Object(t)===t&&P in t?y.call(Z(t),8,-1):ec?"Object":"",ef=(eu||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ed||ec?"["+k.call(E.call([],ed||[],ec||[]),": ")+"] ":"");return 0===el.length?ef+"{}":S?ef+"{"+Y(el,S)+"}":ef+"{ "+k.call(el,", ")+" }"}return String(t)};var B=Object.prototype.hasOwnProperty||function(e){return e in this};function U(e,t){return B.call(e,t)}function Z(e){return g.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function q(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function X(e,t,n,r){return e+" ("+t+") {"+(r?Y(n,r):k.call(n,", "))+"}"}function Y(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function K(e,t){var n,r=H(e),i=[];if(r){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=U(e,o)?t(e[o],e):""}var a="function"==typeof S?S(e):[];if(M){n={};for(var s=0;s<a.length;s++)n["$"+a[s]]=a[s]}for(var l in e)U(e,l)&&(!r||String(Number(l))!==l||!(l<e.length))&&(M&&n["$"+l]instanceof Symbol||(C.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e))));if("function"==typeof S)for(var u=0;u<a.length;u++)L.call(e,a[u])&&i.push("["+t(a[u])+"]: "+t(e[a[u]],e));return i}},21827:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(82649),i=function(e){return e};function o(e){void 0===e&&(e=i);var t=new r.x;return[t.pipe(e),function(e){return t.next(e)}]}},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(37452),i=n(93580),o=n(46195),a=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,o,a={};for(o in t||(t={}),f)n=t[o],a[o]=null==n?f[o]:n;return(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start),function(e,t){var n,o,a,f,w,b,x,C,E,k,_,A,R,S,j,M,P,L,I,O,D,T=t.additional,N=t.nonTerminated,F=t.text,H=t.reference,V=t.warning,z=t.textContext,B=t.referenceContext,U=t.warningContext,Z=t.position,W=t.indent||[],G=e.length,q=0,$=-1,X=Z.column||1,Y=Z.line||1,K="",J=[];for("string"==typeof T&&(T=T.charCodeAt(0)),L=Q(),k=V?function(e,t){var n=Q();n.column+=t,n.offset+=t,V.call(U,y[e],n,e)}:d,q--,G++;++q<G;)if(10===x&&(X=W[$]||1),38===(x=e.charCodeAt(q))){if(9===(E=e.charCodeAt(q+1))||10===E||12===E||32===E||38===E||60===E||E!=E||T&&E===T){K+=c(x),X++;continue}for(S=j=q+1,D=j,35===E?(D=++S,88===(E=e.charCodeAt(D))||120===E?(M=p,D=++S):M=g):M=h,a="",R="",b="",P=v[M],D--;++D<G&&P(E=e.charCodeAt(D));)b+=c(E),M===h&&u.call(r,b)&&(a=b,R=r[b]);(w=59===e.charCodeAt(D))&&(D++,(f=M===h&&l(b))&&(a=b,R=f)),O=1+D-j,(w||N)&&(b?M===h?(w&&!R?k(5,1):(a!==b&&(O=1+(D=S+a.length)-S,w=!1),w||(_=a?1:3,t.attribute?61===(E=e.charCodeAt(D))?(k(_,O),R=null):s(E)?R=null:k(_,O):k(_,O))),C=R):(w||k(2,O),(n=C=parseInt(b,m[M]))>=55296&&n<=57343||n>1114111?(k(7,O),C=c(65533)):C in i?(k(6,O),C=i[C]):(A="",((o=C)>=1&&o<=8||11===o||o>=13&&o<=31||o>=127&&o<=159||o>=64976&&o<=65007||(65535&o)==65535||(65535&o)==65534)&&k(6,O),C>65535&&(C-=65536,A+=c(C>>>10|55296),C=56320|1023&C),C=A+c(C))):M!==h&&k(4,O)),C?(ee(),L=Q(),q=D-1,X+=D-j+1,J.push(C),I=Q(),I.offset++,H&&H.call(B,C,{start:L,end:I},e.slice(j-1,D)),L=I):(K+=b=e.slice(j-1,D),X+=b.length,q=D-1)}else 10===x&&(Y++,$++,X=0),x==x?(K+=c(x),X++):ee();
5return J.join("");function Q(){return{line:Y,column:X,offset:q+(Z.offset||0)}}function ee(){K&&(J.push(K),F&&F.call(z,K,{start:L,end:Q()}),K="")}}(e,a)};var u={}.hasOwnProperty,c=String.fromCharCode,d=Function.prototype,f={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h="named",p="hexadecimal",g="decimal",m={};m[p]=16,m[g]=10;var v={};v[h]=s,v[g]=o,v[p]=a;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},75:function(e,t,n){var r=n(34155);(function(){var t,n,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=r&&r.hrtime?(e.exports=function(){return(t()-o)/1e6},n=r.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()-1e9*r.uptime()):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return new Date().getTime()-i},i=new Date().getTime())}).call(this)},83852:function(e,t,n){"use strict";n.d(t,{H3:function(){return j},CD:function(){return M},Oq:function(){return k},B8:function(){return S}});var r,i=n(87462),o=n(97326),a=n(94578),s=n(61120),l=n(89611);function u(e,t,n){return(u=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,l.Z)(i,n.prototype),i}:Reflect.construct.bind()).apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:void 0;return(c=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return u(e,arguments,(0,s.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,l.Z)(n,e)})(e)}var d=function(e){function t(t){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this,(0,o.Z)(n)}return(0,a.Z)(t,e),t}(c(Error));function f(e){return Math.round(255*e)}function h(e,t,n){return f(e)+","+f(t)+","+f(n)}function p(e,t,n,r){if(void 0===r&&(r=h),0===t)return r(n,n,n);var i=(e%360+360)%360/60,o=(1-Math.abs(2*n-1))*t,a=o*(1-Math.abs(i%2-1)),s=0,l=0,u=0;i>=0&&i<1?(s=o,l=a):i>=1&&i<2?(s=a,l=o):i>=2&&i<3?(l=o,u=a):i>=3&&i<4?(l=a,u=o):i>=4&&i<5?(s=a,u=o):i>=5&&i<6&&(s=o,u=a);var c=n-o/2;return r(s+c,l+c,u+c)}var g={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",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:"ff00ff",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:"90ee9
50",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:"639",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"},m=/^#[a-fA-F0-9]{6}$/,v=/^#[a-fA-F0-9]{8}$/,y=/^#[a-fA-F0-9]{3}$/,w=/^#[a-fA-F0-9]{4}$/,b=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,x=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,C=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,E=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function k(e){if("string"!=typeof e)throw new d(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return g[t]?"#"+g[t]:e}(e);if(t.match(m))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(v)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alph
5a:n}}if(t.match(y))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(w)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var i=b.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var o=x.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var a=C.exec(t);if(a){var s="rgb("+p(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=b.exec(s);if(!l)throw new d(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var u=E.exec(t.substring(0,50));if(u){var c="rgb("+p(parseInt(""+u[1],10),parseInt(""+u[2],10)/100,parseInt(""+u[3],10)/100)+")",f=b.exec(c);if(!f)throw new d(4,t,c);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10),alpha:parseFloat(""+u[4])>1?parseFloat(""+u[4])/100:parseFloat(""+u[4])}}throw new d(5)}var _=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function A(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function R(e){return A(Math.round(255*e))}function S(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return _("#"+A(e)+A(t)+A(n));if("object"==typeof e&&void 0===t&&void 0===n)return _("#"+A(e.red)+A(e.green)+A(e.blue));throw new d(6)}function j(e){if("transparent"===e)return 0;var t=k(e),n=Object.keys(t).map(function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)});return parseFloat((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}var M=function e(t,n,r){return function(){var i=r.concat(Array.prototype.slice.call(arguments));return i.length>=n?t.apply(this,i):e(t,n,i)}}(r=function(e,t,n){if("transparent"===t)return n;if("transparent"===n)return t;if(0===e)return n;var r=k(t),o=(0,i.Z)({},r,{alpha:"number"==typeof r.alpha?r.alpha:1}),a=k(n),s=(0,i.Z)({},a,{alpha:"number"==typeof a.alpha?a.alpha:1}),l=o.alpha-s.alpha,u=2*parseFloat(e)-1,c=((u*l==-1?u:u+l)/(1+u*l)+1)/2,f=1-c;return function(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var i=k(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?S(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?S(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new d(7)}({red:Math.floor(o.red*c+s.red*f),green:Math.floor(o.green*c+s.green*f),blue:Math.floor(o.blue*c+s.blue*f),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))})},r.length,[])},28325:function(e,t,n){/** 6 * Prism: Lightweight, robust, elegant syntax highlighting 7 * 8 * @license MIT <https://opensource.org/licenses/MIT> 9 * @author Lea Verou <https://lea.verou.me> 10 * @namespace 11 * @public 12 */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(n[o=i.util.objId(t)])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":if(n[o=i.util.objId(t)])return n[o];return r=[],n[o]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r;default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;
12if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=o[s])}var u=r[e];return r[e]=a,i.languages.DFS(i.languages,function(t,n){n===u&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,r,o){o=o||{};var a=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],u=i.util.type(l);"Object"!==u||o[a(l)]?"Array"!==u||o[a(l)]||(o[a(l)]=!0,e(l,n,s,o)):(o[a(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),a=i.languages[o];i.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var l=t.textContent,u={element:t,language:o,grammar:a,code:l};function c(e){u.highlightedCode=e,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),r&&r.call(u.element)}if(i.hooks.run("before-sanity-check",u),(s=u.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),r&&r.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar){c(i.util.encode(u.code));return}if(n&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){c(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var u=new s;return l(u,u.head,e),function e(t,n,r,s,u,c){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var f=r[d];f=Array.isArray(f)?f:[f];for(var h=0;h<f.length;++h){if(c&&c.cause==d+","+h)return;var p=f[h],g=p.inside,m=!!p.lookbehind,v=!!p.greedy,y=p.alias;if(v&&!p.pattern.global){var w=p.pattern.toString().match(/[imsuy]*$/)[0];p.pattern=RegExp(p.pattern.source,w+"g")}for(var b=p.pattern||p,x=s.next,C=u;x!==n.tail&&(!c||!(C>=c.reach));C+=x.value.length,x=x.next){var E,k=x.value;if(n.length>t.length)return;if(!(k instanceof o)){var _=1;if(v){if(!(E=a(b,C,t,m))||E.index>=t.length)break;var A=E.index,R=E.index+E[0].length,S=C;for(S+=x.value.length;A>=S;)S+=(x=x.next).value.length;if(S-=x.value.length,C=S,x.value instanceof o)continue;for(var j=x;j!==n.tail&&(S<R||"string"==typeof j.value);j=j.next)_++,S+=j.value.length;_--,k=t.slice(C,S),E.index-=C}else if(!(E=a(b,0,k,m)))continue;var A=E.index,M=E[0],P=k.slice(0,A),L=k.slice(A+M.length),I=C+k.length;c&&I>c.reach&&(c.reach=I);var O=x.prev;P&&(O=l(n,O,P),C+=P.length),function(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}(n,O,_);var D=new o(d,g?i.tokenize(M,g):M,y,M);if(x=l(n,O,D),L&&l(n,x,L),_>1){var T={cause:d+","+h,reach:I};e(t,n,r,x.prev,C,T),c&&T.reach>c.reach&&(c.reach=T.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),i.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()},!1)),i;var u=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},92703:function(e,t,n){"use strict";
12var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},99560:function(e,t,n){"use strict";var r=n(66632),i=n(81674),o=n(57643),a="data";e.exports=function(e,t){var n,f,h,p=r(t),g=t,m=o;return p in e.normal?e.property[e.normal[p]]:(p.length>4&&p.slice(0,4)===a&&s.test(t)&&("-"===t.charAt(4)?g=a+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(h=(f=t).slice(4),t=l.test(h)?f:("-"!==(h=h.replace(u,c)).charAt(0)&&(h="-"+h),a+h)),m=i),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,u=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},97247:function(e,t,n){"use strict";var r=n(19940),i=n(8289),o=n(5812),a=n(94397),s=n(67716),l=n(61805);e.exports=r([o,i,a,s,l])},67716:function(e,t,n){"use strict";var r=n(17e3),i=n(17596),o=r.booleanish,a=r.number,s=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:o,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:s,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:s,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},61805:function(e,t,n){"use strict";var r=n(17e3),i=n(17596),o=n(10855),a=r.boolean,s=r.overloadedBoolean,l=r.booleanish,u=r.number,c=r.spaceSeparated,d=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:c,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:c,cols:u,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:c,coords:u|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:c,itemRef:c,itemScope:a,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:u,pattern:null,ping:c,placeholder:null,playsInl
12ine:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:u,rowSpan:u,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:u,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})},10855:function(e,t,n){"use strict";var r=n(28740);e.exports=function(e,t){return r(e,t.toLowerCase())}},28740:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:function(e,t,n){"use strict";var r=n(66632),i=n(99607),o=n(81674);e.exports=function(e){var t,n,a=e.space,s=e.mustUseProperty||[],l=e.attributes||{},u=e.properties,c=e.transform,d={},f={};for(t in u)n=new o(t,c(l,t),u[t],a),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,f[r(t)]=t,f[r(n.attribute)]=t;return new i(d,f,a)}},81674:function(e,t,n){"use strict";var r=n(57643),i=n(17e3);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function s(e,t,n,s){var l,u,c,d,f,h=-1;for(l=this,s&&(l.space=s),r.call(this,e,t);++h<a;)u=this,c=f=o[h],(d=(n&i[f])===i[f])&&(u[c]=d)}},57643:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},19940:function(e,t,n){"use strict";var r=n(47529),i=n(99607);e.exports=function(e){for(var t,n,o=e.length,a=[],s=[],l=-1;++l<o;)t=e[l],a.push(t.property),s.push(t.normal),n=t.space;return new i(r.apply(null,a),r.apply(null,s),n)}},99607:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},17e3:function(e,t){"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},8289:function(e,t,n){"use strict";var r=n(17596);e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},5812:function(e,t,n){"use strict";var r=n(17596);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},94397:function(e,t,n){"use strict";var r=n(17596),i=n(10855);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:i,properties:{xmlns:null,xmlnsXLink:null}})},66632:function(e){"use strict";e.exports=function(e){return e.toLowerCase()}},54087:function(e,t,n){for(var r=n(75),i="undefined"==typeof window?n.g:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],l=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],l=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!l){var c=0,d=0,f=[],h=1e3/60;s=function(e){if(0===f.length){var t=r(),n=Math.max(0,h-(t-c));c=n+t,setTimeout(function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(n){setTimeout(function(){throw n},0)}},Math.round(n))}
12return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}},74300:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var i=s(n(67294)),o=s(n(20640)),a=["text","onCopy","options","children"];function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(g,e);var t,n,s,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=h(g);if(t){var i=h(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return f(e)}(this,e)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(f(e=l.call.apply(l,[this].concat(n))),"onClick",function(t){var n=e.props,r=n.text,a=n.onCopy,s=n.children,l=n.options,u=i.default.Children.only(s),c=(0,o.default)(r,l);a&&a(r,c),u&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(t)}),e}return n=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,a),r=i.default.Children.only(t);return i.default.cloneElement(r,u(u({},n),{},{onClick:this.onClick}))}}],c(g.prototype,n),s&&c(g,s),Object.defineProperty(g,"prototype",{writable:!1}),g}(i.default.PureComponent);t.CopyToClipboard=g,p(g,"defaultProps",{onCopy:void 0,options:void 0})},74855:function(e,t,n){"use strict";var r=n(74300).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},86893:function(e,t,n){"use strict";n.d(t,{WY8:function(){return i}});var r=n(88357);function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"9",cy:"7",r:"4"}},{tag:"path",attr:{d:"M23 21v-2a4 4 0 0 0-3-3.87"}},{tag:"path",attr:{d:"M16 3.13a4 4 0 0 1 0 7.75"}}]})(e)}},88357:function(e,t,n){"use strict";n.d(t,{w_:function(){return l}});var r=n(67294),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=r.createContext&&r.createContext(i),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function l(e){return function(t){return r.createElement(u,a({attr:a({},e.attr)},t),function e(t){return t&&t.map(function(t,n){return r.createElement(t.tag,a({key:n},t.attr),e(t.child))})}(e.child))}}function u(e){var t=function(t){var n,i=e.attr,o=e.size,l=e.title,u=s(e,["attr","size","title"]),c=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",a({stroke:"currentColor",fill:"
12currentColor",strokeWidth:"0"},t.attr,i,u,{className:n,style:a(a({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&r.createElement("title",null,l),e.children)};return void 0!==o?r.createElement(o.Consumer,null,function(e){return t(e)}):t(i)}},18612:function(e,t,n){"use strict";var r=n(67294),i=n(45697),o=n(11215),a=n(7869),s=n(17378),l=r.createElement;function u(e){var t="language-".concat(e.language),n={className:t},r={className:[e.className,t].filter(Boolean).join(" ")};e.inline&&(n.style={display:"inline"},n.className=e.className);var i=o.highlight(e.value,e.language);e.markers&&e.markers.length>0&&(i=s(i,{markers:e.markers}));var u=l("code",n,0===i.length?e.value:i.map(a.depth(0)));return e.inline?u:l("pre",r,u)}u.propTypes={className:i.string,inline:i.bool,language:i.string.isRequired,value:i.string.isRequired,markers:i.arrayOf(i.oneOfType([i.number,i.shape({line:i.number.isRequired,className:i.string,component:i.oneOfType([i.node,i.func])})]))},u.defaultProps={className:"refractor",inline:!1},u.registerLanguage=function(e){return o.register(e)},u.hasLanguage=function(e){return o.registered(e)},e.exports=u},17378:function(e,t,n){"use strict";var r=n(67365),i=n(99294),o=n(96662);e.exports=function(e,t){var n=t.markers.map(function(e){return e.line?e:{line:e}}).sort(function(e,t){return e.line-t.line});return function(e,t,n){if(0===t.length||0===e.length)return e;for(var a=t.reduce(function(e,t){return function(e,t){var n={type:"root",children:t},a=new o,s=new o,l=new o,u=[];function c(e,t,r){u.push(t),r.forEach(function(t){e.has(t)||(e.set(t,Object.assign({},t,{children:[]})),t!==n&&u.push(t))});for(var i=r.length;i--;){var o=e.get(r[i]),a=r[i+1],s=e.get(a)||t;-1===o.children.indexOf(s)&&o.children.push(s)}}i(n,function(t,n){if(!t.children){if(t.lineStart<e){c(a,t,n);return}if(t.lineStart===e){c(s,t,n);return}t.lineEnd>e&&u.some(function(e){return -1!==n.indexOf(e)})&&c(l,t,n)}});var d=r(n,function(e){return -1===u.indexOf(e)}),f=function(e){var t=e.get(n);return t?(i(t,function(e,t){if(e.children){e.lineStart=0,e.lineEnd=0;return}t.forEach(function(t){t.lineStart=Math.max(t.lineStart,e.lineStart),t.lineEnd=Math.max(t.lineEnd,e.lineEnd)})}),t.children):[]},h=[].concat(f(a),f(s),f(l),d?d.children:[]);return a.clear(),s.clear(),l.clear(),h}(t.line,e)},e),s=[],l=0,u=0;u<t.length;u++){for(var c=t[u],d=a[l];d&&d.lineEnd<c.line;d=a[++l])s.push(d);for(var f=[],h=a[l];h&&h.lineEnd===c.line;h=a[++l])f.push(h);f.length>0&&s.push(function(e,t,n){var r=t.className||"refractor-marker";return{type:"element",tagName:t.component||"div",properties:t.component?Object.assign({},n,{className:r}):{className:r},children:e,lineStart:t.line,lineEnd:e[e.length-1].lineEnd,isMarker:!0}}(f,c,n))}for(;l<a.length;)s.push(a[l++]);return s}(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lineNumber:1};return t.reduce(function(t,r){var i=n.lineNumber;if("text"===r.type){if(-1===r.value.indexOf("\n"))return r.lineStart=i,r.lineEnd=i,t.nodes.push(r),t;for(var o=r.value.split("\n"),a=0;a<o.length;a++){var s=0===a?n.lineNumber:++n.lineNumber;t.nodes.push({type:"text",value:a===o.length-1?o[a]:"".concat(o[a],"\n"),lineStart:s,lineEnd:s})}return t.lineNumber=n.lineNumber,t}if(r.children){var l=e(r.children,n),u=l.nodes[0],c=l.nodes[l.nodes.length-1];return r.lineStart=u?u.lineStart:i,r.lineEnd=c?c.lineEnd:i,r.children=l.nodes,t.lineNumber=l.lineNumber,t.nodes.push(r),t}return t.nodes.push(r),t},{nodes:[],lineNumber:n.lineNumber})}(e).nodes,n,t)}},96662:function(e){"use strict";function t(){this.map=new WeakMap}function n(){this.keys=[],this.values=[]}e.exports="function"==typeof WeakMap?t:n,t.prototype.has=function(e){return this.map.has(e)},t.prototype.set=function(e,t){return this.map.set(e,t),this},t.prototype.get=function(e){return this.map.get(e)},t.prototype.clear=function(){},n.prototype.has=function(e){return -1!==this.keys.indexOf(e)},n.prototype.set=function(e,t){var n=this.keys.indexOf(e);return -1===n?(this.keys.push(e),this.values.push(t)):this.values[n]=t,this},n.prototype.get=function(e){var t=this.keys.indexOf(e);return -1===t?void 0:this.values[t]},n.prototype.clear=function(){this.keys=[],this.values=[]}},7869:function(e,t,n){"use strict";var r=n(67294);t.depth=function e(t){return function(n,i){return function(t,n,i){if(t.tagName){var o=t.properties&&Array.isArray(t.properties.className)?t.properties.className.join(" "):t.properties.className;return r.createElement(t.tagName,Object.assign({key:"fract-".concat(i,"-").concat(n)},t.properties,{className:o}),t.children&&t.children.map(e(i+1)))}return t.value}(n,i,t)}}},28440:function(e,t,n){"use strict";n.d(t,{l:function(){return a},m2:function(){return h},W2:function(){return m}});var r=n(86515),i=n(67294),o=n(53741);function a(e,t){var n=(0,i.useCallback)(function(){var n=new r.X(e),i=n.asObservable().pipe((0,o.x)());return[t?i.pipe(t):i,n]},[]),a=(0,i.useRef)();a.current||(a.current=n());var s=a.current[0];(0,i.useEffect)(function(){a.current&&a.current[1].next(e)},[e,a]);var l=(0,i.useRef)(!1);return(0,i.useEffect)(function(){return l.current&&(a.current||(a.current=n()),l.current=!1),function(){a.current&&(l.current=!0,a.current[1].complete(),a.current=void 0)}},[]),s}var s=n(61688),l=n(68515),u=n(42006);function c(e){return"function"==typeof e?e():e}var d=new WeakMap;function f(e,t){if(!d.has(e)){var n={currentValue:t};n.observable=e.pipe((0,l.d)({refCount:!0,bufferSize:1}),(0,u.b)(function(e){return n.currentValue=e})),n.subscription=n.observable.subscribe(),d.set(e,n)}return d.get(e)}function h(e,t,n){var r,o,a,l,u;return r=(0,i.useMemo)(function(){return c(e)},t),a=(o=(0,i.useMemo)(function(){var e=f(r,c(n));return e.subscription.closed&&(e.subscription=e.observable.subscribe()),[function(){return e.currentValue},function(t){var n=e.observable.subscribe(t);return function(){n.unsubscribe()}}]},[r]))[0],l=o[1],u=(0,i.useRef)(!1),(0,i.useEffect)(function(){var e=f(r,c(n));return u.current&&(e.subscription.closed&&(e.subscription=e.observable.subscribe()),u.current=!1),function(){u.current=!e.subscription.closed,e.subscription.unsubscribe()}},[r]),(0,s.useSyncExternalStore)(l,a)}var p=n(21827),g=[];function m(e,t){void 0===t&&(t=g);var n=(0,i.useRef)();n.current||(n.current=(0,p.E)());var r=n.current,o=r[0],a=r[1],s=(0,i.useCallback)(e,t);return(0,i.useEffect)(function(){var e=o.pipe(s).subscribe();return function(){e.unsubscribe()}},[o,a,s]),a}},11215:function(e,t,n){"use strict";var r,i,o="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},a=(i=(r="Prism"in o)?o.Prism:void 0,function(){r?o.Prism=i:delete o.Prism,r=void 0,i=void 0});o.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),u=n(28325),c=n(2717),d=n(12049),f=n(29726),h=n(36155);a();var p={}.hasOwnProperty;function g(){}g.prototype=u;var m=new g;
12function v(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===m.languages[e.displayName]&&e(m)}e.exports=m,m.highlight=function(e,t){var n,r=u.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===m.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(p.call(m.languages,t))n=m.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},m.register=v,m.alias=function(e,t){var n,r,i,o,a=m.languages,s=e;for(n in t&&((s={})[e]=t),s)for(i=(r="string"==typeof(r=s[n])?[r]:r).length,o=-1;++o<i;)a[r[o]]=a[n]},m.registered=function(e){if("string"!=typeof e)throw Error("Expected `string` for `language`, got `"+e+"`");return p.call(m.languages,e)},m.listLanguages=function(){var e,t=m.languages,n=[];for(e in t)p.call(t,e)&&"object"==typeof t[e]&&n.push(e);return n},v(c),v(d),v(f),v(h),m.util.encode=function(e){return e},m.Token.stringify=function(e,t,n){var r;return"string"==typeof e?{type:"text",value:e}:"Array"===m.util.type(e)?function(e,t){for(var n,r=[],i=e.length,o=-1;++o<i;)""!==(n=e[o])&&null!=n&&r.push(n);for(o=-1,i=r.length;++o<i;)n=r[o],r[o]=m.Token.stringify(n,t,r);return r}(e,t):(r={type:e.type,content:m.Token.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n},e.alias&&(r.classes=r.classes.concat(e.alias)),m.hooks.run("wrap",r),s(r.tag+"."+r.classes.join("."),function(e){var t;for(t in e)e[t]=l(e[t]);return e}(r.attributes),r.content))}},6979:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
12CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>
12&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,a=0;a<i.length;a++)o[i[a]]=e.languages.bash[i[a]];e.languages.shell=e.languages.bash}(e)}e.exports=t,t.displayName="bash",t.aliases=["shell"]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n,r;n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(t=e).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css,(r=t.languages.markup)&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},36155:function(e){"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|")+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}
12(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},45950:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),t)}i=o(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])
vendor: 5,897 bytes, line 12
12*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],o=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:a(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=a(i);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=a(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},2717:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},4979:function(e){"use strict";function t(e){var t,n;(t=e).languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"],delete(n=t.languages.extend("typescript",{}))["class-name"],t.languages.typescript["class-name"].inside=n,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),t.languages.ts=t.languages.typescript}
12e.exports=t,t.displayName="typescript",t.aliases=["ts"]},65074:function(e,t,n){"use strict";n.d(t,{f:function(){return h}});var r=n(54107),i=n(82649),o=n(6222),a=n(9653),s=n(19293),l=n(87878),u=n(1545),c=n(56542),d=n(34978),f=n(42006);function h(e,t=r.E){return n=>{var r,h;let p=null,g=null,m=new i.x,v=m.pipe((0,c.R)((e,t)=>e+t,0),(0,d.w)(r=>0===r?(0,o.H)(e,t).pipe((0,f.b)(()=>{p&&(p.unsubscribe(),p=null),g&&(g.unsubscribe(),g=null)})):!p&&r>0?(0,o.H)(0,t).pipe((0,f.b)(()=>{p||(p=n.connect())})):a.C));return r=()=>(g||(g=v.subscribe()),m.next(1),{unsubscribe:()=>m.next(-1)}),h=()=>n,new s.y(function(e){var t=r(),n=h(t);return(n?(0,l.Xf)(n):u.E).subscribe(e),function(){t&&t.unsubscribe()}})}}},85092:function(e,t,n){"use strict";n.d(t,{t:function(){return p},q:function(){return h}});var r=n(19917),i=n(82649),o=n(71477),a=n(54107),s=n(95978),l=n(29127),u=n(87878),c=n(96798),d=n(2566),f=n(83286);function h(e){return t=>(0,r.P)(()=>{let n=new i.x;return t.pipe((0,s.P)(()=>n,{leading:!0,trailing:!0}),function e(t,n){return n?function(r){return r.pipe(e(function(e,r){return(0,u.Xf)(t(e,r)).pipe((0,l.U)(function(t,i){return n(e,t,r,i)}))}))}:(0,c.e)(function(e,n){var r=0,i=null,o=!1;e.subscribe((0,d.x)(n,function(e){i||(i=(0,d.x)(n,void 0,function(){i=null,o&&n.complete()}),(0,u.Xf)(t(e,r++)).subscribe(i))},function(){o=!0,i||n.complete()}))})}((t,r)=>(0,o.x)(e(t,r),a.E).pipe((0,f.x)(()=>{n.next()}))))})}function p(e){return h(()=>e)}},86515:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(70655),i=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n.closed||t.next(this._value),n},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,n=this._value;if(e)throw t;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(82649).x)},19293:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r=n(65044),i=n(4222),o=n(46766),a=n(90278),s=n(53912),l=n(58474),u=n(68846),c=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o,a=this,s=(o=e)&&o instanceof r.Lv||o&&(0,l.m)(o.next)&&(0,l.m)(o.error)&&(0,l.m)(o.complete)&&(0,i.Nn)(o)?e:new r.Hp(e,t,n);return(0,u.x)(function(){var e=a.operator,t=a.source;s.add(e?e.call(s,t):t?a._subscribe(s):a._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))(function(t,i){var o=new r.Hp({next:function(t){try{e(t)}catch(n){i(n),o.unsubscribe()}},error:i,complete:t});n.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.L]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===e.length?a.y:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=d(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function d(e){var t;return null!==(t=null!=e?e:s.v.Promise)&&void 0!==t?t:Promise}},70003:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(70655),i=n(82649),o=n(94318),a=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=o.l);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return(0,r.ZT)(t,e),t.prototype.next=function(t){var n=this.isStopped,r=this._buffer,i=this._infiniteTimeWindow,o=this._timestampProvider,a=this._windowTime;!n&&(r.push(t),i||r.push(o.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),a=0,s=1;s<n.length&&n[s]<=o;s+=2)a=s;a&&n.splice(0,a+1)}},t}(i.x)},82649:function(e,t,n){"use strict";n.d(t,{x:function(){return u}});var r=n(70655),i=n(19293),o=n(4222),a=(0,n(1819).d)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),s=n(3699),l=n(68846),u=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,r.ZT)(t,e),t.prototype.lift=function(e){var t=new c(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new a},t.prototype.next=function(e){var t=this;(0,l.x)(function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=(0,r.XA)(t.currentObservers),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(s){n={error:s}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;(0,l.x)(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;(0,l.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}
12,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?o.Lc:(this.currentObservers=null,i.push(e),new o.w0(function(){t.currentObservers=null,(0,s.P)(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new i.y;return e.source=this,e},t.create=function(e,t){return new c(e,t)},t}(i.y),c=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,r.ZT)(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:o.Lc},t}(u)},65044:function(e,t,n){"use strict";n.d(t,{Hp:function(){return v},Lv:function(){return h}});var r=n(70655),i=n(58474),o=n(4222),a=n(53912),s=n(40005),l=n(22967),u=c("C",void 0,void 0);function c(e,t,n){return{kind:e,value:t,error:n}}var d=n(68380),f=n(68846),h=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,o.Nn)(t)&&t.add(n)):n.destination=b,n}return(0,r.ZT)(t,e),t.create=function(e,t,n){return new v(e,t,n)},t.prototype.next=function(e){this.isStopped?w(c("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?w(c("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?w(u,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(o.w0),p=Function.prototype.bind;function g(e,t){return p.call(e,t)}var m=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(n){y(n)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(n){y(n)}else y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){y(t)}},e}(),v=function(e){function t(t,n,r){var o,s,l=e.call(this)||this;return(0,i.m)(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:l&&a.v.useDeprecatedNextContext?((s=Object.create(t)).unsubscribe=function(){return l.unsubscribe()},o={next:t.next&&g(t.next,s),error:t.error&&g(t.error,s),complete:t.complete&&g(t.complete,s)}):o=t,l.destination=new m(o),l}return(0,r.ZT)(t,e),t}(h);function y(e){a.v.useDeprecatedSynchronousErrorHandling?(0,f.O)(e):(0,s.h)(e)}function w(e,t){var n=a.v.onStoppedNotification;n&&d.z.setTimeout(function(){return n(e,t)})}var b={closed:!0,next:l.Z,error:function(e){throw e},complete:l.Z}},4222:function(e,t,n){"use strict";n.d(t,{Lc:function(){return l},w0:function(){return s},Nn:function(){return u}});var r=n(70655),i=n(58474),o=(0,n(1819).d)(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}),a=n(3699),s=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,n,a,s,l=this._parentage;if(l){if(this._parentage=null,Array.isArray(l))try{for(var u=(0,r.XA)(l),d=u.next();!d.done;d=u.next())d.value.remove(this)}catch(f){e={error:f}}finally{try{d&&!d.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}else l.remove(this)}var h=this.initialTeardown;
12if((0,i.m)(h))try{h()}catch(p){s=p instanceof o?p.errors:[p]}var g=this._finalizers;if(g){this._finalizers=null;try{for(var m=(0,r.XA)(g),v=m.next();!v.done;v=m.next()){var y=v.value;try{c(y)}catch(w){s=null!=s?s:[],w instanceof o?s=(0,r.ev)((0,r.ev)([],(0,r.CR)(s)),(0,r.CR)(w.errors)):s.push(w)}}}catch(b){n={error:b}}finally{try{v&&!v.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}}if(s)throw new o(s)}},t.prototype.add=function(e){var n;if(e&&e!==this){if(this.closed)c(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,a.P)(t,e)},t.prototype.remove=function(e){var n=this._finalizers;n&&(0,a.P)(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),l=s.EMPTY;function u(e){return e instanceof s||e&&"closed"in e&&(0,i.m)(e.remove)&&(0,i.m)(e.add)&&(0,i.m)(e.unsubscribe)}function c(e){(0,i.m)(e)?e():e.unsubscribe()}},53912:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},36861:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(18084);function i(e,t){var n="object"==typeof t;return new Promise(function(i,o){var a,s=!1;e.subscribe({next:function(e){a=e,s=!0},error:o,complete:function(){s?i(a):n?i(t.defaultValue):o(new r.K)}})})}},40317:function(e,t,n){"use strict";n.d(t,{a:function(){return p}});var r=n(19293),i=Array.isArray,o=Object.getPrototypeOf,a=Object.prototype,s=Object.keys,l=n(40052),u=n(90278),c=n(53211),d=n(22457),f=n(2566),h=n(47845);function p(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var h=(0,d.yG)(t),p=(0,d.jO)(t),m=function(e){if(1===e.length){var t=e[0];if(i(t))return{args:t,keys:null};if(t&&"object"==typeof t&&o(t)===a){var n=s(t);return{args:n.map(function(e){return t[e]}),keys:n}}}return{args:e,keys:null}}(t),v=m.args,y=m.keys;if(0===v.length)return(0,l.D)([],h);var w=new r.y((void 0===(e=y?function(e){return y.reduce(function(t,n,r){return t[n]=e[r],t},{})}:u.y)&&(e=u.y),function(t){g(h,function(){for(var n=v.length,r=Array(n),i=n,o=n,a=function(n){g(h,function(){var a=(0,l.D)(v[n],h),s=!1;a.subscribe((0,f.x)(t,function(i){r[n]=i,!s&&(s=!0,o--),o||t.next(e(r.slice()))},function(){--i||t.complete()}))},t)},s=0;s<n;s++)a(s)},t)}));return p?w.pipe((0,c.Z)(p)):w}function g(e,t,n){e?(0,h.f)(n,e,t):t()}},69243:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(44367),i=n(22457),o=n(40052);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,r.J)(1)((0,o.D)(e,(0,i.yG)(e)))}},19917:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var r=n(19293),i=n(87878);function o(e){return new r.y(function(t){(0,i.Xf)(e()).subscribe(t)})}},1545:function(e,t,n){"use strict";n.d(t,{E:function(){return i},c:function(){return o}});var r=n(19293),i=new r.y(function(e){return e.complete()});function o(e){return e?new r.y(function(t){return e.schedule(function(){return t.complete()})}):i}},40052:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(71477),i=n(87878);function o(e,t){return t?(0,r.x)(e,t):(0,i.Xf)(e)}},22401:function(e,t,n){"use strict";n.d(t,{R:function(){return function e(t,n,p,g){if((0,l.m)(p)&&(g=p,p=void 0),g)return e(t,n,p).pipe((0,u.Z)(g));var m=(0,r.CR)((0,l.m)(t.addEventListener)&&(0,l.m)(t.removeEventListener)?d.map(function(e){return function(r){return t[e](n,r,p)}}):(0,l.m)(t.addListener)&&(0,l.m)(t.removeListener)?c.map(h(t,n)):(0,l.m)(t.on)&&(0,l.m)(t.off)?f.map(h(t,n)):[],2),v=m[0],y=m[1];if(!v&&(0,s.z)(t))return(0,a.z)(function(t){return e(t,n,p)})((0,i.Xf)(t));if(!v)throw TypeError("Invalid event target");return new o.y(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return v(t),function(){return y(t)}})}}});var r=n(70655),i=n(87878),o=n(19293),a=n(43994),s=n(45685),l=n(58474),u=n(53211),c=["addListener","removeListener"],d=["addEventListener","removeEventListener"],f=["on","off"];function h(e,t){return function(n){return function(r){return e[n](t,r)}}}},87878:function(e,t,n){"use strict";n.d(t,{Xf:function(){return g}});var r=n(70655),i=n(45685),o=n(53841),a=n(19293),s=n(71764),l=n(58430),u=n(88729),c=n(1837),d=n(48671),f=n(58474),h=n(40005),p=n(46766);function g(e){if(e instanceof a.y)return e;if(null!=e){if((0,s.c)(e))return new a.y(function(t){var n=e[p.L]();if((0,f.m)(n.subscribe))return n.subscribe(t);throw TypeError("Provided object does not correctly implement Symbol.observable")});if((0,i.z)(e))return new a.y(function(t){for(var n=0;n<e.length&&!t.closed;
12n++)t.next(e[n]);t.complete()});if((0,o.t)(e))return new a.y(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,h.h)});if((0,l.D)(e))return m(e);if((0,c.T)(e))return new a.y(function(t){var n,i;try{for(var o=(0,r.XA)(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(t.next(s),t.closed)return}}catch(l){n={error:l}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}t.complete()});if((0,d.L)(e))return m((0,d.Q)(e))}throw(0,u.z)(e)}function m(e){return new a.y(function(t){(function(e,t){var n,i,o,a;return(0,r.mG)(this,void 0,void 0,function(){var s;return(0,r.Jh)(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=(0,r.KL)(e),l.label=1;case 1:return[4,n.next()];case 2:if((i=l.sent()).done)return[3,4];if(s=i.value,t.next(s),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return o={error:l.sent()},[3,11];case 6:if(l.trys.push([6,,9,10]),!(i&&!i.done&&(a=n.return)))return[3,8];return[4,a.call(n)];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}},23071:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var r=n(44367),i=n(87878),o=n(1545),a=n(22457),s=n(40052);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,a.yG)(e),l=(0,a._6)(e,1/0);return e.length?1===e.length?(0,i.Xf)(e[0]):(0,r.J)(l)((0,s.D)(e,n)):o.E}},9653:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(19293),i=n(22967),o=new r.y(i.Z)},32817:function(e,t,n){"use strict";n.d(t,{of:function(){return o}});var r=n(22457),i=n(40052);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,r.yG)(e);return(0,i.D)(e,n)}},30743:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n(94975),i=n(87878);function o(e,t,n){return[(0,r.h)(t,n)((0,i.Xf)(e)),(0,r.h)(function(e,r){return!t.call(n,e,r)})((0,i.Xf)(e))]}},83610:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(19293),i=n(58474);function o(e,t){var n=(0,i.m)(e)?e:function(){return e},o=function(e){return e.error(n())};return new r.y(t?function(e){return t.schedule(o,0,e)}:o)}},6222:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(19293),i=n(37991),o=n(64865);function a(e,t,n){void 0===e&&(e=0),void 0===n&&(n=i.P);var a=-1;return null!=t&&((0,o.K)(t)?n=t:a=t),new r.y(function(t){var r,i=(r=e)instanceof Date&&!isNaN(r)?+e-n.now():e;i<0&&(i=0);var o=0;return n.schedule(function(){t.closed||(t.next(o++),0<=a?this.schedule(void 0,a):t.complete())},i)})}},2566:function(e,t,n){"use strict";n.d(t,{Q:function(){return o},x:function(){return i}});var r=n(70655);function i(e,t,n,r,i){return new o(e,t,n,r,i)}var o=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=n?function(e){try{n(e)}catch(r){t.error(r)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(n){t.error(n)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return(0,r.ZT)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),n||null===(t=this.onFinalize)||void 0===t||t.call(this)}},t}(n(65044).Lv)},48848:function(e,t,n){"use strict";n.d(t,{e:function(){return l}});var r=n(37991),i=n(96798),o=n(87878),a=n(2566),s=n(6222);function l(e,t){return void 0===t&&(t=r.z),(0,i.e)(function(n,r){var i=!1,l=null,u=null,c=!1,d=function(){if(null==u||u.unsubscribe(),u=null,i){i=!1;var e=l;l=null,r.next(e)}c&&r.complete()},f=function(){u=null,c&&r.complete()};n.subscribe((0,a.x)(r,function(n){i=!0,l=n,u||(0,o.Xf)((0,s.H)(e,t)).subscribe(u=(0,a.x)(r,d,f))},function(){c=!0,i&&u&&!u.closed||r.complete()}))})}},79878:function(e,t,n){"use strict";n.d(t,{K:function(){return function e(t){return(0,o.e)(function(n,o){var a,s=null,l=!1;s=n.subscribe((0,i.x)(o,void 0,void 0,function(i){a=(0,r.Xf)(t(i,e(t)(n))),s?(s.unsubscribe(),s=null,a.subscribe(o)):l=!0})),l&&(s.unsubscribe(),s=null,a.subscribe(o))})}}});var r=n(87878),i=n(2566),o=n(96798)}
12,51313:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(43994),i=n(58474);function o(e,t){return(0,i.m)(t)?(0,r.z)(e,t,1):(0,r.z)(e,1)}},92574:function(e,t,n){"use strict";n.d(t,{D:function(){return s}});var r=n(96798),i=n(22967),o=n(2566),a=n(87878);function s(e){return(0,r.e)(function(t,n){var r=!1,s=null,l=null,u=function(){if(null==l||l.unsubscribe(),l=null,r){r=!1;var e=s;s=null,n.next(e)}};t.subscribe((0,o.x)(n,function(t){null==l||l.unsubscribe(),r=!0,s=t,l=(0,o.x)(n,u,i.Z),(0,a.Xf)(e(t)).subscribe(l)},function(){u(),n.complete()},void 0,function(){s=l=null}))})}},42965:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(37991),i=n(96798),o=n(2566);function a(e,t){return void 0===t&&(t=r.z),(0,i.e)(function(n,r){var i=null,a=null,s=null,l=function(){if(i){i.unsubscribe(),i=null;var e=a;a=null,r.next(e)}};function u(){var n=s+e,o=t.now();if(o<n){i=this.schedule(void 0,n-o),r.add(i);return}l()}n.subscribe((0,o.x)(r,function(n){a=n,s=t.now(),i||(i=t.schedule(u,e),r.add(i))},function(){l(),r.complete()},void 0,function(){a=i=null}))})}},35700:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(96798),i=n(2566);function o(e){return(0,r.e)(function(t,n){var r=!1;t.subscribe((0,i.x)(n,function(e){r=!0,n.next(e)},function(){r||n.next(e),n.complete()}))})}},46297:function(e,t,n){"use strict";n.d(t,{g:function(){return h}});var r=n(37991),i=n(69243),o=n(74727),a=n(96798),s=n(2566),l=n(22967),u=n(93833),c=n(43994),d=n(87878),f=n(6222);function h(e,t){void 0===t&&(t=r.z);var n=(0,f.H)(e,t);return function e(t,n){return n?function(r){return(0,i.z)(n.pipe((0,o.q)(1),(0,a.e)(function(e,t){e.subscribe((0,s.x)(t,l.Z))})),r.pipe(e(t)))}:(0,c.z)(function(e,n){return(0,d.Xf)(t(e,n)).pipe((0,o.q)(1),(0,u.h)(e))})}(function(){return n})}},25631:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var r=n(96798),i=n(2566),o=n(22967),a=n(87878);function s(e,t){return(0,r.e)(function(n,r){var s=new Set;n.subscribe((0,i.x)(r,function(t){var n=e?e(t):t;s.has(n)||(s.add(n),r.next(t))})),t&&(0,a.Xf)(t).subscribe((0,i.x)(r,function(){return s.clear()},o.Z))})}},53741:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var r=n(90278),i=n(96798),o=n(2566);function a(e,t){return void 0===t&&(t=r.y),e=null!=e?e:s,(0,i.e)(function(n,r){var i,a=!0;n.subscribe((0,o.x)(r,function(n){var o=t(n);(a||!e(i,o))&&(a=!1,i=o,r.next(n))}))})}function s(e,t){return e===t}},94975:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(96798),i=n(2566);function o(e,t){return(0,r.e)(function(n,r){var o=0;n.subscribe((0,i.x)(r,function(n){return e.call(t,n,o++)&&r.next(n)}))})}},83286:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(96798);function i(e){return(0,r.e)(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}},91458:function(e,t,n){"use strict";n.d(t,{P:function(){return u}});var r=n(18084),i=n(94975),o=n(74727),a=n(35700),s=n(33815),l=n(90278);function u(e,t){var n=arguments.length>=2;return function(u){return u.pipe(e?(0,i.h)(function(t,n){return e(t,n,u)}):l.y,(0,o.q)(1),n?(0,a.d)(t):(0,s.T)(function(){return new r.K}))}}},58796:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var r=n(43994).z},56890:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});var r=n(19293),i=n(87878),o=n(82649),a=n(96798),s=n(2566);function l(e,t,n,l){return(0,a.e)(function(a,u){t&&"function"!=typeof t?(n=t.duration,c=t.element,l=t.connector):c=t;var c,d=new Map,f=function(e){d.forEach(e),e(u)},h=function(e){return f(function(t){return t.error(e)})},p=0,g=!1,m=new s.Q(u,function(t){try{var a=e(t),f=d.get(a);if(!f){d.set(a,f=l?l():new o.x);var v,y,w=(v=f,(y=new r.y(function(e){p++;var t=v.subscribe(e);return function(){t.unsubscribe(),0==--p&&g&&m.unsubscribe()}})).key=a,y);if(u.next(w),n){var b=(0,s.x)(f,function(){f.complete(),null==b||b.unsubscribe()},void 0,void 0,function(){return d.delete(a)});m.add((0,i.Xf)(n(w)).subscribe(b))}}f.next(c?c(t):t)}catch(x){h(x)}},function(){return f(function(e){return e.complete()})},h,function(){return d.clear()},function(){return g=!0,0===p});a.subscribe(m)})}},71932:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(18084),i=n(94975),o=n(70655),a=(n(1545),n(96798)),s=n(2566),l=n(33815),u=n(35700),c=n(90278);function d(e,t){var n=arguments.length>=2;return function(d){return d.pipe(e?(0,i.h)(function(t,n){return e(t,n,d)}):c.y,(0,a.e)(function(e,t){var n=[];e.subscribe((0,s.x)(t,function(e){n.push(e),1<n.length&&n.shift()},function(){var e,r;try{for(var i=(0,o.XA)(n),a=i.next();!a.done;a=i.next()){var s=a.value;t.next(s)}}catch(l){e={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.complete()},void 0,function(){n=null}))}),n?(0,u.d)(t):(0,l.T)(function(){return new r.K}))}}},29127:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(96798),i=n(2566);function o(e,t){return(0,r.e)(function(n,r){var o=0;n.subscribe((0,i.x)(r,function(n){r.next(e.call(t,n,o++))}))})}},93833:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(29127);function i(e){return(0,r.U)(function(){return e})}},44367:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(43994),i=n(90278);function o(e){return void 0===e&&(e=1/0),(0,r.z)(i.y,e)}},29007:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(87878),i=n(47845),o=n(2566);function a(e,t,n,a,s,l,u,c){var d=[],f=0,h=0,p=!1,g=function(){!p||d.length||f||t.complete()},m=function(e){return f<a?v(e):d.push(e)},v=function(e){l&&t.next(e),f++;var c=!1;(0,r.Xf)(n(e,h++)).subscribe((0,o.x)(t,function(e){null==s||s(e),l?m(e):t.next(e)},function(){c=!0},void 0,function(){if(c)try{for(f--;d.length&&f<a;)!function(){var e=d.shift();u?(0,i.f)(t,u,function(){return v(e)}):v(e)}();g()}catch(e){t.error(e)}}))};return e.subscribe((0,o.x)(t,m,function(){p=!0,g()})),function(){null==c||c()}}},43994:function(e,t,n){"use strict";n.d(t,{z:function(){return function e(t,n,l){return(void 0===l&&(l=1/0),(0,s.m)(n))?e(function(e,o){return(0,r.U)(function(t,r){return n(e,t,o,r)})((0,i.Xf)(t(e,o)))},l):("number"==typeof n&&(l=n),(0,o.e)(function(e,n){return(0,a.p)(e,n,t,l)}))}}});var r=n(29127),i=n(87878),o=n(96798),a=n(29007),s=n(58474)},48902:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(43994),i=n(58474);function o(e,t,n){return(void 0===n&&(n=1/0),(0,i.m)(t))?(0,r.z)(function(){return e},t,n):("number"==typeof t&&(n=t),(0,r.z)(function(){return e},n))}},18603:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(96798),i=n(29007);function o(e,t,n){return void 0===n&&(n=1/0),(0,r.e)(function(r,o){var a=t;return(0,i.p)(r,o,function(t,n){return e(a,t,n)},n,function(e){a=e},!1,void 0,function(){return a=null})})}},40148:function(e,t,n){"use strict";n.d(t,{_:function(){return h}});var r=n(70003),i=n(70655),o=n(19293),a=n(4222),s=n(30218),l=n(2566),u=n(96798),c=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,(0,u.A)(t)&&(r.lift=t.lift),r}return(0,i.ZT)(t,e),t.prototype._subscribe=function(e){return this.get
12Subject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new a.w0;var n=this.getSubject();t.add(this.source.subscribe((0,l.x)(n,void 0,function(){e._teardown(),n.complete()},function(t){e._teardown(),n.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=a.w0.EMPTY)}return t},t.prototype.refCount=function(){return(0,s.x)()(this)},t}(o.y),d=n(58474),f=(n(82649),n(87878));function h(e,t,n,i){n&&!(0,d.m)(n)&&(i=n);var a=(0,d.m)(n)?n:void 0;return function(n){var s,l,h;return(s=new r.t(e,t,i),l=a,h=(0,d.m)(s)?s:function(){return s},(0,d.m)(l)?(0,u.e)(function(e,t){var n=h();(0,f.Xf)(l(new o.y(function(e){return n.subscribe(e)}))).subscribe(t),t.add(e.subscribe(n))}):function(e){return new c(e,h)})(n)}}},77270:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n(71674),i=n(96798);function o(e,t){return(0,i.e)((0,r.U)(e,t,arguments.length>=2,!1,!0))}},30218:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(96798),i=n(2566);function o(){return(0,r.e)(function(e,t){var n=null;e._refCount++;var r=(0,i.x)(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount){n=null;return}var r=e._connection,i=n;n=null,r&&(!i||r===i)&&r.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}},56542:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r=n(96798),i=n(71674);function o(e,t){return(0,r.e)((0,i.U)(e,t,arguments.length>=2,!0))}},71674:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(2566);function i(e,t,n,i,o){return function(a,s){var l=n,u=t,c=0;a.subscribe((0,r.x)(s,function(t){var n=c++;u=l?e(u,t,n):(l=!0,t),i&&s.next(u)},o&&function(){l&&s.next(u),s.complete()}))}}},65583:function(e,t,n){"use strict";n.d(t,{B:function(){return l}});var r=n(70655),i=n(87878),o=n(82649),a=n(65044),s=n(96798);function l(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new o.x}:t,r=e.resetOnError,l=void 0===r||r,c=e.resetOnComplete,d=void 0===c||c,f=e.resetOnRefCountZero,h=void 0===f||f;return function(e){var t,r,o,c=0,f=!1,p=!1,g=function(){null==r||r.unsubscribe(),r=void 0},m=function(){g(),t=o=void 0,f=p=!1},v=function(){var e=t;m(),null==e||e.unsubscribe()};return(0,s.e)(function(e,s){c++,p||f||g();var y=o=null!=o?o:n();s.add(function(){0!=--c||p||f||(r=u(v,h))}),y.subscribe(s),!t&&c>0&&(t=new a.Hp({next:function(e){return y.next(e)},error:function(e){p=!0,g(),r=u(m,l,e),y.error(e)},complete:function(){f=!0,g(),r=u(m,d),y.complete()}}),(0,i.Xf)(e).subscribe(t))})(e)}}function u(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(!0===t){e();return}if(!1!==t){var s=new a.Hp({next:function(){s.unsubscribe(),e()}});return(0,i.Xf)(t.apply(void 0,(0,r.ev)([],(0,r.CR)(n)))).subscribe(s)}}},68515:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(70003),i=n(65583);function o(e,t,n){var o,a,s,l,u=!1;return e&&"object"==typeof e?(l=void 0===(o=e.bufferSize)?1/0:o,t=void 0===(a=e.windowTime)?1/0:a,u=void 0!==(s=e.refCount)&&s,n=e.scheduler):l=null!=e?e:1/0,(0,i.B)({connector:function(){return new r.t(l,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},47753:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(94975);function i(e){return(0,r.h)(function(t,n){return e<=n})}},98430:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var r=n(69243),i=n(22457),o=n(96798);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,i.yG)(e);return(0,o.e)(function(t,i){(n?(0,r.z)(e,t,n):(0,r.z)(e,t)).subscribe(i)})}},34978:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var r=n(87878),i=n(96798),o=n(2566);function a(e,t){return(0,i.e)(function(n,i){var a=null,s=0,l=!1,u=function(){return l&&!a&&i.complete()};n.subscribe((0,o.x)(i,function(n){null==a||a.unsubscribe();var l=0,c=s++;(0,r.Xf)(e(n,c)).subscribe(a=(0,o.x)(i,function(e){return i.next(t?t(n,e,c,l++):e)},function(){a=null,u()}))},function(){l=!0,u()}))})}},58550:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(34978),i=n(58474);
12function o(e,t){return(0,i.m)(t)?(0,r.w)(function(){return e},t):(0,r.w)(function(){return e})}},74727:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(1545),i=n(96798),o=n(2566);function a(e){return e<=0?function(){return r.E}:(0,i.e)(function(t,n){var r=0;t.subscribe((0,o.x)(n,function(t){++r<=e&&(n.next(t),e<=r&&n.complete())}))})}},83505:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(96798),i=n(2566),o=n(87878),a=n(22967);function s(e){return(0,r.e)(function(t,n){(0,o.Xf)(e).subscribe((0,i.x)(n,function(){return n.complete()},a.Z)),n.closed||t.subscribe(n)})}},42006:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});var r=n(58474),i=n(96798),o=n(2566),a=n(90278);function s(e,t,n){var s=(0,r.m)(e)||t||n?{next:e,error:t,complete:n}:e;return s?(0,i.e)(function(e,t){null===(n=s.subscribe)||void 0===n||n.call(s);var n,r=!0;e.subscribe((0,o.x)(t,function(e){var n;null===(n=s.next)||void 0===n||n.call(s,e),t.next(e)},function(){var e;r=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()},function(e){var n;r=!1,null===(n=s.error)||void 0===n||n.call(s,e),t.error(e)},function(){var e,t;r&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)}))}):a.y}},95978:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var r=n(96798),i=n(2566),o=n(87878);function a(e,t){return(0,r.e)(function(n,r){var a=null!=t?t:{},s=a.leading,l=void 0===s||s,u=a.trailing,c=void 0!==u&&u,d=!1,f=null,h=null,p=!1,g=function(){null==h||h.unsubscribe(),h=null,c&&(y(),p&&r.complete())},m=function(){h=null,p&&r.complete()},v=function(t){return h=(0,o.Xf)(e(t)).subscribe((0,i.x)(r,g,m))},y=function(){if(d){d=!1;var e=f;f=null,r.next(e),p||v(e)}};n.subscribe((0,i.x)(r,function(e){d=!0,f=e,h&&!h.closed||(l?y():v(e))},function(){p=!0,c&&d&&h&&!h.closed||r.complete()}))})}},9132:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(37991),i=n(95978),o=n(6222);function a(e,t,n){void 0===t&&(t=r.z);var a=(0,o.H)(e,t);return(0,i.P)(function(){return a},n)}},33815:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(18084),i=n(96798),o=n(2566);function a(e){return void 0===e&&(e=s),(0,i.e)(function(t,n){var r=!1;t.subscribe((0,o.x)(n,function(e){r=!0,n.next(e)},function(){return r?n.complete():n.error(e())}))})}function s(){return new r.K}},30062:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(77270),i=n(96798),o=function(e,t){return e.push(t),e};function a(){return(0,i.e)(function(e,t){(0,r.u)(o,[])(e).subscribe(t)})}},63428:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(70655),i=n(96798),o=n(2566),a=n(87878),s=n(90278),l=n(22967),u=n(22457);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,u.jO)(e);return(0,i.e)(function(t,i){for(var u=e.length,c=Array(u),d=e.map(function(){return!1}),f=!1,h=function(t){(0,a.Xf)(e[t]).subscribe((0,o.x)(i,function(e){c[t]=e,!f&&!d[t]&&(d[t]=!0,(f=d.every(s.y))&&(d=null))},l.Z))},p=0;p<u;p++)h(p);t.subscribe((0,o.x)(i,function(e){if(f){var t=(0,r.ev)([e],(0,r.CR)(c));i.next(n?n.apply(void 0,(0,r.ev)([],(0,r.CR)(t))):t)}}))})}},71477:function(e,t,n){"use strict";n.d(t,{x:function(){return b}});var r=n(87878),i=n(47845),o=n(96798),a=n(2566);function s(e,t){return void 0===t&&(t=0),(0,o.e)(function(n,r){n.subscribe((0,a.x)(r,function(n){return(0,i.f)(r,e,function(){return r.next(n)},t)},function(){return(0,i.f)(r,e,function(){return r.complete()},t)},function(n){return(0,i.f)(r,e,function(){return r.error(n)},t)}))})}function l(e,t){return void 0===t&&(t=0),(0,o.e)(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}var u=n(19293),c=n(39768),d=n(58474);function f(e,t){if(!e)throw Error("Iterable cannot be null");return new u.y(function(n){(0,i.f)(n,t,function(){var r=e[Symbol.asyncIterator]();(0,i.f)(n,t,function(){r.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}var h=n(71764),p=n(53841),g=n(45685),m=n(1837),v=n(58430),y=n(88729),w=n(48671);function b(e,t){if(null!=e){if((0,h.c)(e))return(0,r.Xf)(e).pipe(l(t),s(t));if((0,g.z)(e))return new u.y(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})});if((0,p.t)(e))return(0,r.Xf)(e).pipe(l(t),s(t));if((0,v.D)(e))return f(e,t);if((0,m.T)(e))return new u.y(function(n){var r;return(0,i.f)(n,t,function(){r=e[c.h](),(0,i.f)(n,t,function(){var e,t,i;try{t=(e=r.next()).value,i=e.done}catch(o){n.error(o);return}i?n.complete():n.next(t)},0,!0)}),function(){return(0,d.m)(null==r?void 0:r.return)&&r.return()}});if((0,w.L)(e))return f((0,w.Q)(e),t)}throw(0,y.z)(e)}},90489:function(e,t,n){"use strict";n.d(t,{o:function(){return s}});var r=n(70655),i=function(e){function t(t,n){return e.call(this)||this}return(0,r.ZT)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(4222).w0),o={setInterval:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=o.delegate;return(null==a?void 0:a.setInterval)?a.setInterval.apply(a,(0,r.ev)([e,t],(0,r.CR)(n))):setInterval.apply(void 0,(0,r.ev)([e,t],(0,r.CR)(n)))},clearInterval:function(e){var t=o.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},a=n(3699),s=function(e){function t(t,n){var r=e.call(this,t,n)||this;
12return r.scheduler=t,r.work=n,r.pending=!1,r}return(0,r.ZT)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n,r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),o.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,r=!1;try{this.work(e)}catch(i){r=!0,n=i||Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,a.P)(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(i)},87556:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(70655),i=n(94318),o=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=i.l.now,e}(),a=function(e){function t(t,n){void 0===n&&(n=o.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r}return(0,r.ZT)(t,e),t.prototype.flush=function(e){var t,n=this.actions;if(this._active){n.push(e);return}this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,t){for(;e=n.shift();)e.unsubscribe();throw t}},t}(o)},54107:function(e,t,n){"use strict";n.d(t,{E:function(){return p}});var r,i=n(70655),o=n(90489),a=1,s={};function l(e){return e in s&&(delete s[e],!0)}var u={setImmediate:function(e){var t=a++;return s[t]=!0,r||(r=Promise.resolve()),r.then(function(){return l(t)&&e()}),t},clearImmediate:function(e){l(e)}},c=u.setImmediate,d=u.clearImmediate,f={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=f.delegate;return((null==n?void 0:n.setImmediate)||c).apply(void 0,(0,i.ev)([],(0,i.CR)(e)))},clearImmediate:function(e){var t=f.delegate;return((null==t?void 0:t.clearImmediate)||d)(e)},delegate:void 0},h=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,i.ZT)(t,e),t.prototype.requestAsyncId=function(t,n,r){return(void 0===r&&(r=0),null!==r&&r>0)?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=f.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);var i,o=t.actions;null!=n&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(f.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))},t}(o.o),p=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(t,e),t.prototype.flush=function(e){this._active=!0;var t,n=this._scheduled;this._scheduled=void 0;var r=this.actions;e=e||r.shift();do if(t=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,t){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw t}},t}(n(87556).v))(h)},37991:function(e,t,n){"use strict";n.d(t,{P:function(){return o},z:function(){return i}});var r=n(90489),i=new(n(87556)).v(r.o),o=i},94318:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r={now:function(){return(r.delegate||Date).now()},delegate:void 0}},68380:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(70655),i={setTimeout:function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=i.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,(0,r.ev)([e,t],(0,r.CR)(n))):setTimeout.apply(void 0,(0,r.ev)([e,t],(0,r.CR)(n)))},clearTimeout:function(e){var t=i.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},39768:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},46766:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},18084:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var r=(0,n(1819).d)(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})},22457:function(e,t,n){"use strict";n.d(t,{_6:function(){return l},jO:function(){return a},yG:function(){return s}});var r=n(58474),i=n(64865);function o(e){return e[e.length-1]}function a(e){return(0,r.m)(o(e))?e.pop():void 0}function s(e){return(0,i.K)(o(e))?e.pop():void 0}function l(e,t){return"number"==typeof o(e)?e.pop():t}},3699:function(e,t,n){"use strict";function r(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{P:function(){return r}})},1819:function(e,t,n){"use strict";function r(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{d:function(){return r}})},68846:function(e,t,n){"use strict";n.d(t,{O:function(){return a},x:function(){return o}});var r=n(53912),i=null;function o(e){if(r.v.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var n=i,o=n.errorThrown,a=n.error;if(i=null,o)throw a}}else e()}function a(e){r.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},47845:function(e,t,n){"use strict";function r(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}n.d(t,{f:function(){return r}})},90278:function(e,t,n){"use strict";function r(e){return e}n.d(t,{y:function(){return r}})},45685:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},58430:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(58474);function i(e){return Symbol.asyncIterator&&(0,r.m)(null==e?void 0:e[Symbol.asyncIterator])}},58474:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{m:function(){return r}})},71764:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(46766),i=n(58474);function o(e){return(0,i.m)(e[r.L])}},1837:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(39768),i=n(58474);function o(e){return(0,i.m)(null==e?void 0:e[r.h])}},9141:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(19293),i=n(58474);function o(e){return!!e&&(e instanceof r.y||(0,i.m)(e.lift)&&(0,i.m)(e.subscribe))}},53841:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(58474);function i(e){return(0,r.m)(null==e?void 0:e.then)}},48671:function(e,t,n){"use strict";n.d(t,{L:function(){return a},Q:function(){return o}});var r=n(70655),i=n(58474);function o(e){return(0,r.FC)(this,arguments,function(){var t,n,i;return(0,r.Jh)(this,function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,(0,r.qq)(t.read())];case 3:if(i=(n=o.sent()).value,!n.done)return[3,5];return[4,(0,r.qq)(void 0)];case 4:return[2,o.sent()];case 5:return[4,(0,r.qq)(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function a(e){return(0,i.m)(null==e?void 0:e.getReader)}},64865:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(58474);function i(e){return e&&(0,r.m)(e.schedule)}},96798:function(e,t,n){"use strict";n.d(t,{A:function(){return i},e:function(){return o}});var r=n(58474);function i(e){return(0,r.m)(null==e?void 0:e.lift)}function o(e){return function(t){if(i(t))return t.lift(function(t){try{return e(t,this)}catch(n){this.error(n)}});throw TypeError("Unable to lift unknown Observable type")}}},53211:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(70655),i=n(29127),o=Array.isArray;function a(e){return(0,i.U)(function(t){return o(t)?e.apply(void 0,(0,r.ev)([],(0,r.CR)(t))):e(t)})}},22967:function(e,t,n){"use strict";function r(){}n.d(t,{Z:function(){return r}})},40005:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(53912),i=n(68380);function o(e){i.z.setTimeout(function(){var t=r.v.onUnhandledError;if(t)t(e);else throw e})}},88729:function(e,t,n){"use strict";function r(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invali
12d object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}n.d(t,{z:function(){return r}})},29043:function(e,t,n){"use strict";n.d(t,{C:function(){return v}});var r=n(52027);function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t,n){return(a=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&o(i,n.prototype),i}:Reflect.construct).apply(null,arguments)}function s(e){var t="function"==typeof Map?new Map:void 0;return(s=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return a(e,arguments,i(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)})(e)}function l(e){return e.reduce(function(e,t,n){if(Array.isArray(t))return e+"["+t.join(":")+"]";if("object"==typeof t&&"string"==typeof t._key)return e+'[_key=="'+t._key+'"]';if("number"==typeof t)return e+"["+t+"]";if(/^\d+$/.test(t))return e+'["'+t+'"]';if("string"==typeof t)return""+e+(0===n?"":".")+t;throw Error('Unsupported path segment "'+t+'"')},"")}var u=function(e){var t;function n(t,n,r){var i,o=l(n);return(i=e.call(this,t+" (at '"+o+"')")||this).path=n,i.serializedPath=o,i.value=r,i}return(t=n).prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,n}(s(Error)),c=/^[a-z0-9][a-z0-9_.-]+$/i,d=/^[a-zA-Z_][a-zA-Z0-9_]*$/,f=/^[a-z_]/i;
12function h(e,t,n){if(!f.test(e))throw new u("Keys must start with a letter (a-z)",n.concat(e),t);if(!d.test(e))throw new u("Keys can only contain letters, numbers and underscores",n.concat(e),t);if("_key"===e||"_ref"===e||"_type"===e){if("string"!=typeof t)throw new u("Keys must be strings",n.concat(e),t);if(!c.test(t))throw new u("Invalid key - use less exotic characters",n.concat(e),t)}return e}var p=["_id","_type","_createdAt","_updatedAt","_rev"],g=new r.diff_match_patch,m={hideWarnings:!1,diffMatchPatch:{enabled:!0,lengthThresholdAbsolute:30,lengthThresholdRelative:1.2}};function v(e,t,n,r,i){if(void 0===n&&(n=m),void 0===r&&(r=[]),void 0===i&&(i=[]),e===t)return i;var o,a,s,l,c=Array.isArray(e)?"array":typeof e,d=Array.isArray(t)?"array":typeof t,f="undefined"===c,p="undefined"===d;if(f&&!p)return i.push({op:"set",path:r,value:t}),i;if(!f&&p)return i.push({op:"unset",path:r}),i;var k=f?d:c;return"object"===k||"array"===k?c!==d?(i.push({op:"set",path:r,value:t}),i):"array"===k?function(e,t,n,r,i){if(t.length>e.length&&i.push({op:"insert",after:r.concat([-1]),items:t.slice(e.length).map(function(e,t){return C(e,r,t,n)})}),t.length<e.length){var o=e.length-t.length==1,a=e.slice(t.length);Boolean(n.ifRevisionID||n.ifRevisionId)||!b(a)?i.push({op:"unset",path:r.concat([o?t.length:[t.length,""]])}):i.push.apply(i,a.map(function(e){return{op:"unset",path:r.concat({_key:e._key})}}))}for(var s=0;s<t.length;s++)if(Array.isArray(t[s]))throw new u("Multi-dimensional arrays not supported",r.concat(s),t[s]);var l=Math.min(e.length,t.length),c=e.slice(0,l),d=t.slice(0,l);return b(c)&&b(d)?function(e,t,n,r,i){var o,a,s=x(e),l=x(t);if(o=s.keys,a=l.keys,!(o.length===a.length&&o.every(function(e,t){return a[t]===e})))return y(e,t,n,r,i);for(var u=0;u<l.keys.length;u++){var c=l.keys[u];v(s.index[c],C(l.index[c],r,u,n),n,r.concat({_key:c}),i)}return i}(c,d,n,r,i):y(c,d,n,r,i)}(e,t,n,r,i):function(e,t,n,r,i){for(var o=0===r.length,a=Object.keys(e).filter(o?w:E).map(function(t){return h(t,e[t],r)}),s=a.length,l=Object.keys(t).filter(o?w:E).map(function(e){return h(e,t[e],r)}),u=l.length,c=0;c<s;c++){var d=a[c];d in t||i.push({op:"unset",path:r.concat(d)})}for(var f=0;f<u;f++){var p=l[f];v(e[p],t[p],n,r.concat([p]),i)}return i}(e,t,n,r,i):(o=n,a=r,s=i,l=function(e,t,n,r){var i=n.diffMatchPatch,o=i.enabled,a=i.lengthThresholdRelative,s=i.lengthThresholdAbsolute,l=r[r.length-1];if(o&&"string"==typeof e&&"string"==typeof t&&("string"!=typeof l||"_"!==l[0])&&!(t.length<s)){var u="";try{var c=g.diff_main(e,t);g.diff_cleanupEfficiency(c),u=g.patch_toText(g.patch_make(c))}catch(d){return}return u.length>t.length*a?void 0:{op:"diffMatchPatch",path:r,value:u}}}(e,t,o,a),s.push(l||{op:"set",path:a,value:t}),s)}function y(e,t,n,r,i){for(var o=0;o<e.length;o++)v(e[o],C(t[o],r,o,n),n,r.concat(o),i);return i}function w(e){return -1===p.indexOf(e)}function b(e){for(var t=[],n=0;n<e.length;n++){var r,i="object"==typeof(r=e[n])&&null!==r&&r._key;if(!i||-1!==t.indexOf(i))return!1;t.push(i)}return!0}function x(e){return e.reduce(function(e,t){return e.keys.push(t._key),e.index[t._key]=t,e},{keys:[],index:{}})}function C(e,t,n,r){return void 0!==e?e:(r.hideWarnings||console.warn("undefined value in array converted to null (at '"+l(t.concat(n))+"')"),null)}function E(e){return!0}},88710:function(e,t,n){"use strict";let r;n.d(t,{AA:function(){return e1},Bh:function(){return tt},Cc:function(){return e8},HZ:function(){return eI},Oo:function(){return tN},P0:function(){return t1},PF:function(){return tH},PV:function(){return ti},RL:function(){return eD},Sg:function(){return nB},Ty:function(){return tj},V$:function(){return eO},X6:function(){return e7},Z3:function(){return tP},aL:function(){return eL},aR:function(){return tz},cO:function(){return tM},cp:function(){return tC},ec:function(){return e9},eu:function(){return eJ},fC:function(){return tf},hX:function(){return td},hb:function(){return eP},iJ:function(){return eS},lU:function(){return ex},nR:function(){return e0},ud:function(){return eM},yq:function(){return e2},zJ:function(){return t0},zc:function(){return t5}});var i,o,a,s,l,u,c,d,f,h,p,g,m,v,y,w,b,x,C,E,k,_,A=n(40168),R=n(67294),S=n(32932),j=n(85893),M=n(11636),P=n(50066),L=n(22401),I=n(6222),O=n(1545),D=n(328
1217),T=n(98430),N=n(29127),F=n(53741),H=n(34978),V=n(68515),z=n(79878),B=n(74855),U=n.n(B),Z=n(81763),W=n.n(Z),G=n(47037),q=n.n(G),$=n(28440),X=n(933),Y=n(57557),K=n.n(Y),J=n(66996),Q=n(43174),ee=n.n(Q),et=n(45578),en=n.n(et),er=n(42930),ei=n(93406),eo=n(68929),ea=n.n(eo),es=n(44908),el=n.n(es),eu=n(21804),ec=n.n(eu),ed=n(35937),ef=n.n(ed),eh=n(13311),ep=n.n(eh),eg=n(73955),em=n.n(eg),ev=n(59864),ey=n(18029),ew=n.n(ey);function eb(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ex(e){let{document:t}=e,n=(0,S.I_y)(),r=n.get(t._type),{error:i,value:o}=(0,S._2T)({schemaType:r,value:t});return r?i?(0,j.jsxs)(j.Fragment,{children:["Error: ",i.message]}):(0,j.jsx)(j.Fragment,{children:(null==o?void 0:o.title)||(0,j.jsx)("span",{style:{color:"var(--card-muted-fg-color)"},children:"Untitled"})}):(0,j.jsxs)("code",{children:["Unknown schema type: ",t._type]})}function eC(e){let{time:t}=e,n=(0,S.INm)(t);return(0,j.jsxs)("span",{title:n,children:[n," ago"]})}let eE=()=>(r||(r=(0,L.R)(document,"visibilitychange").pipe((0,T.O)(null),(0,N.U)(()=>"visible"===document.visibilityState),(0,F.x)(),(0,H.w)(e=>e?(0,I.H)(0,5e3):O.E),(0,V.d)({refCount:!0,bufferSize:1}))),r),ek=(0,S.ek8)(e=>{let[t,n]=e,r='{"references":'.concat("*[references($documentId)][0...100]{_id,_type}",',"totalCount":').concat("count(*[references($documentId)])","}");return n.listenQuery({fetch:r,listen:"*[references($documentId)]"},{documentId:t},{tag:"use-referring-documents",transitions:["appear","disappear"],throttleTime:5e3})}),e_=(0,S.ek8)(e=>{let[t,n]=e;return eE().pipe((0,H.w)(()=>(function(e,t){let{versionedClient:n}=t;return eE().pipe((0,H.w)(()=>(function(e,t){let{versionedClient:n}=t,r=(0,S.qyu)(e),i=(0,S.vsM)(e),o={uri:n.getDataUrl("doc","".concat(r,",").concat(i)),json:!0,query:{excludeContent:"true"},tag:"use-referring-documents.document-existence"};return n.observable.request(o).pipe((0,N.U)(e=>{let{omitted:t}=e,n=t.filter(e=>"existence"===e.reason);return 2===n.length?void 0:0===n.length?i:n.some(e=>e.id===r)?i:r}))})(e,t)),(0,H.w)(e=>{if(!e)return(0,D.of)({totalCount:0,references:[]});let t=n.config().dataset;return n.observable.request({url:"/data/references/".concat(t,"/documents/").concat(e,"/to?excludeInternalReferences=true&excludePaths=true"),tag:"use-referring-documents.external"}).pipe((0,z.K)(e=>{if("object"==typeof e&&e&&"statusCode"in e&&"response"in e&&404===e.statusCode)return(0,D.of)({totalCount:0,references:[]});throw e}))}))})(t,{versionedClient:n})))});function eA(e){let{document:t}=e,n=t&&"_updatedAt"in t&&t._updatedAt;return(0,j.jsx)(M.u,{portal:!0,content:(0,j.jsx)(M.xu,{padding:2,children:(0,j.jsx)(M.xv,{size:1,children:t?(0,j.jsxs)(j.Fragment,{children:["Published ",n&&(0,j.jsx)(eC,{time:n})]}):(0,j.jsx)(j.Fragment,{children:"Not published"})})}),children:(0,j.jsx)(S.LPT,{tone:"positive",dimmed:!t,muted:!t,size:1,children:(0,j.jsx)(A.EI4,{})})})}function eR(e){let{document:t}=e,n=t&&"_updatedAt"in t&&t._updatedAt;return(0,j.jsx)(M.u,{portal:!0,content:(0,j.jsx)(M.xu,{padding:2,children:(0,j.jsx)(M.xv,{size:1,children:t?(0,j.jsxs)(j.Fragment,{children:["Edited ",n&&(0,j.jsx)(eC,{time:n})]}):(0,j.jsx)(j.Fragment,{children:"No unpublished edits"})})}),children:(0,j.jsx)(S.LPT,{tone:"caution",dimmed:!t,muted:!t,size:1,children:(0,j.jsx)(A.dY8,{})})})}function eS(e){let{icon:t,layout:n,presence:r,schemaType:i,value:o}=e,a=(0,S.Uy$)(o.title)&&(0,R.isValidElement)(o.title)||q()(o.title)||W()(o.title)?o.title:null,{draft:s,published:l,isLoading:u}=(0,$.m2)(()=>(0,S.eLL)(e.documentPreviewStore,i,o._id,a),[e.documentPreviewStore,i,o._id,a]),c=u?null:(0,j.jsxs)(M.gF,{space:4,children:[r&&r.length>0&&(0,j.jsx)(S.mEJ,{presence:r}),(0,j.jsx)(eA,{document:l}),(0,j.jsx)(eR,{document:s})]});return(0,j.jsx)(S.ogX,{...(0,S.L_b)({value:o,draft:s,published:l}),isPlaceholder:u,icon:t,layout:n,status:c})}function ej(){throw Error("Pane is missing router context")}let eM=(0,R.createContext)({index:0,groupIndex:0,siblingIndex:0,payload:void 0,params:{},hasGroupSiblings:!1,groupLength:0,routerPanesState:[],BackLink:()=>ej(),ChildLink:()=>ej(),ReferenceChildLink:()=>ej(),handleEditReference:()=>ej(),ParameterizedLink:()=>ej(),replaceCurrent:()=>ej(),closeCurrent:()=>ej(),duplicateCurrent:()=>
12ej(),setView:()=>ej(),setParams:()=>ej(),setPayload:()=>ej(),navigateIntent:()=>ej()}),eP=(0,R.forwardRef)(function(e,t){let{routerPanesState:n,groupIndex:r}=(0,R.useContext)(eM),i=(0,R.useMemo)(()=>n.slice(0,r),[r,n]),o=(0,R.useMemo)(()=>({panes:i}),[i]);return(0,j.jsx)(X.Px,{...e,ref:t,state:o})}),eL=(0,R.forwardRef)(function(e,t){let{childId:n,childPayload:r,childParameters:i,...o}=e,{routerPanesState:a,groupIndex:s}=(0,R.useContext)(eM);return(0,j.jsx)(X.Px,{...o,ref:t,state:{panes:[...a.slice(0,s+1),[{id:n,params:i,payload:r}]]}})}),eI=(0,R.forwardRef)(function(e,t){let{documentId:n,documentType:r,parentRefPath:i,children:o,template:a,...s}=e;return(0,j.jsx)(eL,{...s,ref:t,childId:n,childPayload:null==a?void 0:a.params,childParameters:{type:r,parentRefPath:(0,J.BB)(i),...a&&{template:null==a?void 0:a.id}},children:o})}),eO=(0,R.forwardRef)(function(e,t){let{routerPanesState:n,groupIndex:r,siblingIndex:i}=(0,R.useContext)(eM),{params:o,payload:a,...s}=e,l=(0,S.BoV)(o),u=(0,S.BoV)(a),c=(0,R.useMemo)(()=>{let e=n[r],t=e[i],o={...t,params:null!=l?l:t.params,payload:null!=u?u:t.payload},a=[...e.slice(0,i),o,...e.slice(i+1)],s=[...n.slice(0,r),a,...n.slice(r+1)];return{panes:s}},[n,r,l,u,i]);return(0,j.jsx)(X.Px,{ref:t,...s,state:c})});function eD(){return(0,R.useContext)(eM)}let eT=[];function eN(e){let{onClick:t,type:n,value:r}=e,i=(0,S.vsM)(null==r?void 0:r._id),o=(0,S.Dqo)(i),a=(0,S.rq_)(),{ReferenceChildLink:s}=eD(),l=(0,R.useCallback)(function(e){return(0,j.jsx)(s,{documentId:null==r?void 0:r._id,documentType:null==n?void 0:n.name,parentRefPath:eT,...e})},[s,null==n?void 0:n.name,null==r?void 0:r._id]);return(0,j.jsx)(S.oUE,{__unstable_focusRing:!0,as:l,"data-as":"a",onClick:t,padding:2,radius:2,children:(0,j.jsx)(eS,{documentPreviewStore:a,icon:null==n?void 0:n.icon,layout:"default",presence:(null==o?void 0:o.length)>0?o:eT,schemaType:n,value:r})})}let eF=(0,P.ZP)(M.xu)(o||(o=eb(["\n margin-left: auto;\n"]))),eH=P.ZP.details(a||(a=eb(["\n flex: none;\n\n &[open] "," {\n transform: rotate(180deg);\n }\n"])),eF),eV=P.ZP.summary(s||(s=eb(["\n list-style: none;\n\n &::-webkit-details-marker {\n display: none;\n }\n"]))),ez=(0,P.ZP)(M.xu).attrs({paddingX:2,paddingBottom:2})(l||(l=eb(["\n overflow: auto;\n max-height: 150px;\n"]))),eB=P.ZP.table(u||(u=eb(["\n width: 100%;\n text-align: left;\n padding: 0 ",";\n border-collapse: collapse;\n\n th {\n padding: ",";\n }\n\n thead > tr {\n position: sticky;\n top: 0;\n background: var(--card-bg-color);\n z-index: 1;\n }\n\n td {\n padding: 0 ",";\n }\n\n tr > *:last-child {\n text-align: right;\n }\n"])),e=>{let{theme:t}=e;return(0,M.hO)(t.sanity.space[2])},e=>{let{theme:t}=e;return(0,M.hO)(t.sanity.space[1])},e=>{let{theme:t}=e;return(0,M.hO)(t.sanity.space[1])}),eU=(0,P.ZP)(M.kC)(c||(c=eb(["\n min-height: 35px;\n"]))),eZ=(0,P.ZP)(M.Zb).attrs({radius:2,shadow:1,marginBottom:4,flex:"auto"})(d||(d=eb(["\n overflow: hidden;\n min-height: 150px;\n"]))),eW=e=>{let t=e.totalCount-e.references.length;return t?(0,j.jsxs)(M.gF,{space:2,children:[(0,j.jsxs)(M.xv,{size:1,muted:!0,children:[t," other reference",1===t?"":"s"," not shown"," "]}),(0,j.jsx)(M.u,{portal:!0,placement:"top",content:(0,j.jsx)(M.W2,{width:0,children:(0,j.jsx)(M.xu,{padding:2,children:(0,j.jsx)(M.xv,{size:1,children:"We can't show metadata about these references because no token with access to the datasets they are in was found."})})}),children:(0,j.jsx)(M.xv,{size:1,muted:!0,children:(0,j.jsx)(A.hQ6,{})})})]}):null};function eG(e){let{crossDatasetReferences:t,internalReferences:n,documentTitle:r,totalCount:i,action:o,datasetNames:a,hasUnknownDatasetNames:s,onReferenceLinkClick:l}=e,u=(0,S.I_y)(),c=(0,M.pm)(),d=(0,R.useCallback)(e=>{let t=u.get(e._type);return t?(0,j.jsx)(eN,{type:t,value:e,onClick:l}):(0,j.jsx)(M.xu,{padding:2,children:(0,j.jsx)(S.ogX,{icon:A.Tzq,title:"Preview Unavailable",subtitle:"ID: ".concat(e._id),layout:"default"})})},[u,l]);if((null==n?void 0:n.totalCount)===0&&(null==t?void 0:t.totalCount)===0)return(0,j.jsxs)(M.xv,{as:"p",children:["Are you sure you want to delete ",(0,j.jsxs)("strong",{children:["â",r,"â"]}),"?"]});let f=1===t.totalCount?"1 document":"".concat(t.totalCount.toLocaleStr
12ing()," documents"),h=[...a,...s?["unavailable"]:[]],p=1===h.length?"another dataset":"".concat(h.length," datasets"),g="Dataset".concat(1===h.length?"":"s",": ").concat(h.join(", "));return s&&1===h.length&&(g="Unavailable dataset"),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(M.Zb,{padding:3,radius:2,tone:"caution",marginBottom:4,flex:"none",children:(0,j.jsxs)(M.kC,{children:[(0,j.jsx)(M.xv,{"aria-hidden":"true",size:1,children:(0,j.jsx)(A.foC,{})}),(0,j.jsx)(M.xu,{flex:1,marginLeft:3,children:(0,j.jsx)(M.xv,{size:1,children:1===i?(0,j.jsxs)(j.Fragment,{children:["1 document refers to â",r,"â"]}):(0,j.jsxs)(j.Fragment,{children:[i.toLocaleString()," documents refer to â",r,"â"]})})})]})}),(0,j.jsx)(M.xu,{flex:"none",marginBottom:4,children:(0,j.jsxs)(M.xv,{children:["You may not be able to ",o," â",r,"â because the following documents refer to it:"]})}),(0,j.jsx)(eZ,{children:(0,j.jsxs)(M.kC,{direction:"column",height:"fill",children:[n.totalCount>0&&(0,j.jsxs)(M.Kq,{as:"ul",padding:3,space:3,overflow:"auto","data-testid":"internal-references",children:[null==n?void 0:n.references.map(e=>(0,j.jsx)(M.xu,{as:"li",children:d(e)},e._id)),n.totalCount>n.references.length&&(0,j.jsx)(M.xu,{as:"li",padding:3,children:(0,j.jsx)(eW,{...n})})]}),t.totalCount>0&&(0,j.jsxs)(eH,{"data-testid":"cross-dataset-references",style:{borderTop:n.totalCount>0?"1px solid var(--card-shadow-outline-color)":void 0},children:[(0,j.jsx)(eV,{children:(0,j.jsxs)(M.kC,{padding:4,align:"center",children:[(0,j.jsx)(M.xu,{marginRight:4,children:(0,j.jsx)(M.xv,{size:3,children:(0,j.jsx)(A.TAM,{})})}),(0,j.jsxs)(M.kC,{marginRight:4,direction:"column",children:[(0,j.jsx)(M.xu,{marginBottom:2,children:(0,j.jsxs)(M.xv,{children:[f," in ",p]})}),(0,j.jsx)(M.xu,{children:(0,j.jsx)(M.xv,{title:g,textOverflow:"ellipsis",size:1,muted:!0,children:g})})]}),(0,j.jsx)(eF,{children:(0,j.jsx)(M.xv,{muted:!0,children:(0,j.jsx)(A.v4q,{})})})]})}),(0,j.jsxs)(ez,{children:[(0,j.jsxs)(eB,{children:[(0,j.jsx)("thead",{children:(0,j.jsxs)("tr",{children:[(0,j.jsx)("th",{children:(0,j.jsx)(M.__,{muted:!0,size:0,children:"Project ID"})}),(0,j.jsx)("th",{children:(0,j.jsx)(M.__,{muted:!0,size:0,children:"Dataset"})}),(0,j.jsx)("th",{children:(0,j.jsx)(M.__,{muted:!0,size:0,children:"Document ID"})})]})}),(0,j.jsx)("tbody",{children:t.references.filter(e=>"projectId"in e).map((e,t)=>{let{projectId:n,datasetName:r,documentId:i}=e;return(0,j.jsxs)("tr",{children:[(0,j.jsx)("td",{children:(0,j.jsx)(M.xv,{size:1,children:n})}),(0,j.jsx)("td",{children:(0,j.jsx)(M.xv,{size:1,children:r||"unavailable"})}),(0,j.jsx)("td",{children:(0,j.jsxs)(eU,{align:"center",gap:2,justify:"flex-end",children:[(0,j.jsx)(M.xv,{textOverflow:"ellipsis",size:1,children:i||"unavailable"}),i&&(0,j.jsx)(U(),{text:i,onCopy:()=>{c.push({title:"Copied document ID to clipboard!",status:"success"})},children:(0,j.jsx)(M.zx,{title:"Copy ID to clipboard",mode:"bleed",icon:A.Kmg,fontSize:0})})]})})]},"".concat(i,"-").concat(t))})})]}),(0,j.jsx)(M.xu,{padding:2,children:(0,j.jsx)(eW,{...t})})]})]})]})}),(0,j.jsx)(M.xu,{flex:"none",children:(0,j.jsxs)(M.xv,{children:["If you ",o," this document, documents that refer to it will no longer be able to access it."]})})]})}let eq=(0,P.ZP)(M.kC).attrs({padding:4,direction:"column",height:"fill"})(f||(f=eb(["\n box-sizing: border-box;\n"]))),e$=(0,P.ZP)(M.kC).attrs({align:"center",direction:"column",justify:"center"})(h||(h=eb(["\n height: 300px;\n"])));function eX(e){let{id:t,type:n,action:r="delete",onCancel:i,onConfirm:o}
12=e,a="deletion-confirmation-".concat((0,R.useId)()),{internalReferences:s,crossDatasetReferences:l,isLoading:u,totalCount:c,projectIds:d,datasetNames:f,hasUnknownDatasetNames:h}=function(e){let t=(0,S.m85)(S.Dr7),n=(0,S.H__)(),r=(0,S.vsM)(e),[i,o]=ek((0,R.useMemo)(()=>[r,n],[n,r])),[a,s]=e_((0,R.useMemo)(()=>[r,t],[r,t])),l=(0,R.useMemo)(()=>Array.from(new Set(null==a?void 0:a.references.map(e=>e.projectId).filter(Boolean))).sort(),[null==a?void 0:a.references]),u=(0,R.useMemo)(()=>Array.from(new Set(null==a?void 0:a.references.map(e=>(null==e?void 0:e.datasetName)||"").filter(e=>Boolean(e)&&""!==e))).sort(),[null==a?void 0:a.references]),c=(0,R.useMemo)(()=>Boolean(null==a?void 0:a.references.some(e=>"string"!=typeof e.datasetName)),[null==a?void 0:a.references]);return{totalCount:((null==i?void 0:i.totalCount)||0)+((null==a?void 0:a.totalCount)||0),projectIds:l,datasetNames:u,hasUnknownDatasetNames:c,internalReferences:i,crossDatasetReferences:a,isLoading:o||s}}(t),p="".concat(r.substring(0,1).toUpperCase()).concat(r.substring(1)),g=(0,j.jsx)(ex,{document:(0,R.useMemo)(()=>({_id:t,_type:n}),[t,n])}),m=!u;return(0,j.jsx)(M.Vq,{width:1,id:a,header:"".concat(p," document?"),footer:(0,j.jsxs)(M.rj,{columns:m?2:1,gap:2,paddingX:4,paddingY:3,children:[(0,j.jsx)(M.zx,{mode:"ghost",onClick:i,text:"Cancel"}),m&&(0,j.jsx)(M.zx,{"data-testid":"confirm-delete-button",text:c>0?"".concat(p," anyway"):"".concat(p," now"),tone:"critical",onClick:o})]}),onClose:i,onClickOutside:i,portal:"documentPanelPortalElement",children:(0,j.jsx)(eq,{children:l&&s&&!u?(0,j.jsx)(eG,{crossDatasetReferences:l,internalReferences:s,documentTitle:g,isLoading:u,totalCount:c,action:r,projectIds:d,datasetNames:f,hasUnknownDatasetNames:h,onReferenceLinkClick:i}):(0,j.jsxs)(e$,{"data-testid":"loading-container",children:[(0,j.jsx)(M.$j,{muted:!0}),(0,j.jsx)(M.xu,{marginTop:3,children:(0,j.jsx)(M.xv,{align:"center",muted:!0,size:1,children:"Looking for referring documentsâ¦"})})]})})})}function eY(e){let t=(0,R.useId)(),[n,r]=(0,R.useState)(null),i=(0,R.useCallback)(()=>r(null),[]);return n?(0,j.jsx)(M.Vq,{id:"dialog-error-".concat(t),"data-testid":"confirm-delete-error-dialog",header:"Error",footer:(0,j.jsx)(M.kC,{paddingX:4,paddingY:3,direction:"column",children:(0,j.jsx)(M.zx,{mode:"ghost",text:"Retry",onClick:i})}),onClose:e.onCancel,portal:"documentPanelPortalElement",children:(0,j.jsx)(M.xu,{padding:4,children:(0,j.jsx)(M.xv,{children:"An error occurred while loading referencing documents."})})}):(0,j.jsx)(M.SV,{onCatch:r,children:(0,j.jsx)(eX,{...e})})}let eK={constrainSize:!0,placement:"bottom",portal:!0,width:0};function eJ(e){let{items:t,itemGroups:n,onAction:r}=e,i=(0,R.useId)(),o=(0,R.useMemo)(()=>{if(!n||0===n.length)return[{id:"$default",items:t}];let e={id:"$default",items:[]},r=n.reduce((e,t)=>(e[t.id]={id:t.id,title:t.title,items:[]},e),{});for(let i of t){let o=r[i.group||"$default"]||e;o.items.push(i)}return Object.values(r).concat([e]).filter(e=>e.items.length>0)},[t,n]);return(0,j.jsx)(M.j2,{button:(0,j.jsx)(M.zx,{icon:A.zGg,mode:"bleed",padding:3,title:"Show menu"}),id:i,menu:(0,j.jsx)(M.v2,{children:o.map((e,t)=>(0,j.jsxs)(R.Fragment,{children:[t>0&&(0,j.jsx)(M.R,{}),e.title&&(0,j.jsx)(M.xu,{paddingX:3,paddingTop:3,paddingBottom:2,children:(0,j.jsx)(M.__,{muted:!0,children:e.title})}),e.items.map((e,t)=>(0,j.jsx)(eQ,{item:e,onAction:r},"".concat(t,"-").concat(e.title)))]},t))}),popover:eK})}function eQ(e){let{item:t,onAction:n}=e,r=(0,R.useCallback)(()=>{n(t)},[t,n]),i=(0,R.useMemo)(()=>{if(t.shortcut)return t.shortcut.split("+")},[t]),o=(0,R.forwardRef)((e,n)=>t.intent?(0,j.jsx)(X.nR,{...e,intent:t.intent.type,params:t.intent.params,ref:n}):(0,j.jsx)("button",{type:"button",...e}));return o.displayName="Link",(0,j.jsx)(M.sN,{as:o,"data-as":t.intent?"a":"button",hotkeys:i,icon:t.icon,onClick:r,text:t.title})}let e1=51,e0=4*e1,e5=(0,R.createContext)(null),e2=(0,R.createContext)(null);function e8(){let e=(0,R.useContext)(e2);if(!e)throw Error("PaneLayout: missing context value");return e}let e3=(0,P.ZP)(M.mh)(p||(p=eb(["\n position: relative;\n width: 1px;\n min-width: 1px;\n\n &:before {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 1px;\n background-color: var(--card-border-color);\n }\n\n &:not([data-disabled]) {\n cursor: ew-resize;\n width: 9px;\n min-width: 9px;\n margin: 0 -4px;\n\n &:before {\n left: 4px;\n }\n\n &:after {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 9px;\n bottom: 0;\n background-color: var(--card-border-color);\n opacity: 0;\n transition: opacity 150ms;\n }\n\n &[data-dragging]:after,\n &:hover:after {\n opacity: 0.2;\n }\n }\n"])));function e4(e){let{disabled:t,element:n}=e,{resize:r}=e8(),[i,o]=(0,R.useState)(!1),a=(0,R.useCallback)(e=>{if(!n)return;o(!0),e.preventDefault();let t=e.pageX;r("start",n,0);let i=e=>{e.preventDefault();let i=e.pageX-t;r("move",n,i)},a=e=>{e.preventDefault(),o(!1),window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",a),r("end",n,0)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",a)},[n,r]);return(0,j.jsx)(e3,{"data-disabled":t?"":void 0,"data-dragging":i?"":void 0,onMouseDown:a})}let e6=(0,P.ZP)(M.Zb)(g||(g=eb(["\n outline: none;\n\n // NOTE: This will render a border to the right side of each pane\n // without taking up physical space.\n box-shadow: 1px 0 0 var(--card-border-color);\n"]))),e7=(0,R.forwardRef)(function(e,t){var n,r,i;let{children:o,currentMinWidth:a,currentMaxWidth:s,flex:l=1,id:u,minWidth:c,maxWidth:d,selected:f=!1,...h}=e,[p,g]=(0,R.useState)(null),{collapse:m,collapsed:v,expand:y,exp
12andedElement:w,mount:b,panes:x}=e8(),C=x.find(e=>e.element===p),E=C&&x.indexOf(C),k="number"==typeof E?x[E+1]:void 0,_=E===x.length-1,A=!v&&((null==C?void 0:C.collapsed)||!1),P=(null==k?void 0:k.collapsed)||!1,L=(0,M.ts)(t),I=null!=(n=null==C?void 0:C.flex)?n:l,O=null!=(r=null==C?void 0:C.currentMinWidth)?r:a,D=null!=(i=null==C?void 0:C.currentMaxWidth)?i:s,T=(0,R.useCallback)(e=>{g(e),L.current=e},[L]);(0,R.useEffect)(()=>{if(p)return b(p,{currentMinWidth:a,currentMaxWidth:s,flex:l,id:u,minWidth:c,maxWidth:d})},[a,s,l,u,c,d,b,p]);let N=(0,R.useCallback)(()=>{p&&m(p)},[m,p]),F=(0,R.useCallback)(()=>{p&&y(p)},[y,p]),H=(0,R.useMemo)(()=>({collapse:N,collapsed:!v&&A,expand:F,index:E,isLast:_,rootElement:p}),[A,N,F,_,v,E,p]),V=(0,R.useMemo)(()=>v?void 0:A?e1:0===O||_?c||e0:O||c||e0,[A,O,_,v,c]),z=(0,R.useMemo)(()=>A?e1:v&&_?void 0:_?d?null!=D?D:d:void 0:null!=D?D:d,[A,D,_,v,d]),B=v&&!_,U=(0,R.useMemo)(()=>!_&&!v&&(0,j.jsx)(S.jr5,{zOffset:"paneResizer",children:(0,j.jsx)(e4,{disabled:A||P,element:p})}),[A,_,v,P,p]),Z=(0,R.useMemo)(()=>({flex:I,minWidth:V,maxWidth:z===1/0?void 0:z}),[I,V,z]);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(S.jr5,{zOffset:"pane",children:(0,j.jsx)(e5.Provider,{value:H,children:(0,j.jsxs)(e6,{"data-testid":"pane",tone:"inherit",hidden:B,id:u,overflow:v?void 0:"hidden",...h,"data-pane-collapsed":A?"":void 0,"data-pane-index":E,"data-pane-selected":f?"":void 0,ref:T,style:Z,children:[!1,(0,j.jsx)(M.NM,{element:p,children:!B&&(0,j.jsx)(M.kC,{direction:"column",height:"fill",children:o})})]})})}),U]})});function e9(){let e=(0,R.useContext)(e5);if(!e)throw Error("Pane: missing context value");return e}let te=(0,P.ZP)(M.Zb)(m||(m=eb(["\n position: relative;\n outline: none;\n"])));te.displayName="PaneContent__root";let tt=(0,R.forwardRef)(function(e,t){let{as:n,children:r,overflow:i,padding:o,...a}=e,{collapsed:s}=e9(),{collapsed:l}=e8();return(0,j.jsx)(te,{"data-testid":"pane-content",forwardedAs:n,...a,flex:1,hidden:s,overflow:l?void 0:i,padding:o,ref:t,tone:"inherit",children:r})}),tn=(0,P.ZP)(M.mh)(v||(v=eb(["\n position: sticky;\n bottom: 0;\n\n &:before {\n content: '';\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n top: -1px;\n border-bottom: 1px solid var(--card-shadow-outline-color);\n }\n"]))),tr=(0,P.ZP)(M.Zb)(y||(y=eb(["\n padding-bottom: env(safe-area-inset-bottom);\n"]))),ti=(0,R.forwardRef)(function(e,t){let{children:n,padding:r}=e,{collapsed:i}=e9();return(0,j.jsx)(S.jr5,{zOffset:"paneFooter",children:(0,j.jsx)(tn,{"data-testid":"pane-footer",hidden:i,ref:t,children:(0,j.jsx)(tr,{tone:"inherit",children:(0,j.jsx)(M.xu,{padding:r,children:n})})})})}),to=(0,P.ZP)(M.mh)(w||(w=eb(["\n line-height: 0;\n position: sticky;\n top: 0;\n\n &:not([data-collapsed]):after {\n content: '';\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n bottom: -1px;\n border-bottom: 1px solid var(--card-shadow-outline-color);\n }\n"]))),ta=(0,P.ZP)(M.kC)(b||(b=eb(["\n transform-origin: calc(51px / 2);\n\n [data-collapsed] > div > & {\n transform: rotate(90deg);\n }\n"]))),ts=(0,P.ZP)(M.xu)(x||(x=eb([""]))),tl=(0,P.ZP)(M.Qr)(C||(C=eb(["\n width: 66%;\n max-width: 175px;\n"]))),tu=(0,P.ZP)(M.xv)(E||(E=eb(["\n cursor: default;\n outline: none;\n"]))),tc=(0,P.ZP)(M.xu)(e=>{let{theme:t}=e,{color:n,space:r}=t.sanity;return(0,P.iv)(k||(k=eb(["\n margin: -","px 0 -","px -","px;\n overflow: hidden;\n position: relative;\n\n & > div {\n white-space: nowrap;\n padding: ","px 0 calc(","px + ","px) ","px;\n margin-bottom: ","px;\n overflow: auto;\n\n /* right padding */\n & > div:after {\n content: '';\n display: inline-block;\n top: 0;\n right: 0;\n bottom: 0;\n width: ","px;\n height: 1px;\n }\n }\n\n /* Gradient that makes it look like tabs disappear into nothing (looks nicer) */\n &:after {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(to right, ",", var(--card-bg-color));\n width: ","px;\n pointer-events: none;\n }\n "])),r[2],r[2],r[3],r[2],100,r[2],r[3],-100,r[3],(0,M.m4)(n.base.bg,0),r[3])}),td=(0,R.forwardRef)(function(e,t){let{actions:n,backButton:r,loading:i,subActions:o,tabs:a,title:s}=e,{collapse:l,collapsed:u,expand:c,rootElement:d}=e9(),f=(0,M.XL)(d||null),h=(0,R.useMemo)(()=>({width:u?(null==f?void 0:f.height)||window.innerHeight:void 0}),[u,f]),p=(0,R.useCallback)(()=>{u||l()},[l,u]),g=(0,R.useCallback)(()=>{u&&c()},[u,c]);return(0,j.jsx)(M.li,{zOffset:100,children:(0,j.jsx)(to,{"data-collapsed":u?"":void 0,"data-testid":"pane-header",ref:t,children:(0,j.jsx)(S.jr5,{zOffset:"paneHeader",children:(0,j.jsxs)(M.Zb,{"data-collapsed":u?"":void 0,tone:"inherit",children:[(0,j.jsxs)(ta,{onClick:g,padding:2,paddingBottom:a||o?0:2,sizing:"border",style:h,children:[r,(0,j.jsxs)(ts,{flex:1,onClick:p,paddingY:3,paddingLeft:r?1:3,children:[i&&(0,j.jsx)(tl,{animated:!0,radius:1}),!i&&(0,j.jsx)(tu,{tabIndex:0,textOverflow:"ellipsis",weight:"semibold",children:s})]}),n&&(0,j.jsx)(M.xu,{hidden:u,paddingLeft:1,children:(0,j.jsx)(S.jr5,{zOffset:"paneHeader",children:n})})]}),(a||o)&&(0,j.jsxs)(M.kC,{align:"center",hidden:u,paddingTop:1,paddingRight:2,paddingBottom:2,paddingLeft:3,overflow:"auto",children:[(0,j.jsx)(tc,{flex:1,marginRight:o?3:0,children:(0,j.jsx)("div",{children:a})}),o&&(0,j.jsx)(M.xu,{children:o})]})]})})})})}),tf=(0,P.ZP)(M.Zb)(_||(_=eb(["\n transition: opacity 200ms;\n position: relative;\n z-index: 1;\n padding-left: env(safe-area-inset-left);\n padding-right: env(safe-area-inset-right);\n opacity: 0;\n\n &:not([hidden]) {\n display: flex;\n }\n\n &:not([data-collapsed]) {\n overflow: auto;\n }\n\n &[data-mounted] {\n opacity: 1;\n }\n\n &[data-resizing] {\n pointer-events: none;\n }\n"]))),th=(0,R.forwardRef)(function(e,t){let{intent:n,...r}=e,i=(0,R.useMemo)(()=>(0,R.forwardRef)(function(e,t){return(0,j.jsx)(X.nR,{...e,intent:n.type,params:n.params,ref:t})}),[n]);return e.disabled?(0,j.jsx)(M.zx,{...e,as:"a",role:"link","aria-disabled":"true"}):(0,j.jsx)(M.zx,{...r,as:i,"data-as":"a",ref:t})});function tp(e){let{reveal:t,loading:n,children:r}=e,i=(0,S.xJ)();return t?(0,j.jsx)(M.u,{content:n?(0,j.jsx)(M.xu,{padding:2,children:(0,j.jsx)(M.xv,{children:"Loadingâ¦"})}):(0,j.jsx)(S.FMn,{currentUser:i}),portal:!0,children:(0,j.jsx)("div",{children:r})}):(0,j.jsx)(j.Fragment,{children:r})}let tg={constrainSize:!0,placement:"bottom",portal:!0}
12,tm=(e,t,n)=>{var r;let i=null==(r=t.find(e=>e.id===n.templateId))?void 0:r.schemaType;if(!i)return null;let o={template:n.templateId,type:i,id:n.initialDocumentId};return{type:"create",params:n.parameters?[o,n.parameters]:o}};function tv(e){let{templateItems:t}=e,n=(0,S.I_y)(),r=(0,S.zEW)(),[i,o]=(0,S.UMU)({templateItems:t}),a=(0,R.useMemo)(()=>!o&&(null==i?void 0:i.every(e=>!e.granted)),[o,i]),s=(0,R.useMemo)(()=>i?i.reduce((e,t)=>(e[t.id]=t,e),{}):{},[i]);if(a)return(0,j.jsx)(tp,{reveal:!0,loading:o,children:(0,j.jsx)(M.zx,{"aria-label":"Insufficient permissions",icon:A.j29,mode:"bleed",disabled:!0,"data-testid":"action-intent-button"})});if(1===t.length){let l=t[0],u=s[l.id],c=!(null==u?void 0:u.granted),d=tm(n,r,l);return d?(0,j.jsx)(tp,{reveal:c,loading:o,children:(0,j.jsx)(th,{"aria-label":l.title,icon:l.icon||A.j29,intent:d,mode:"bleed",disabled:c,"data-testid":"action-intent-button"})}):null}return(0,j.jsx)(M.j2,{button:(0,j.jsx)(M.zx,{icon:A.j29,mode:"bleed",padding:3,"data-testid":"multi-action-intent-button"}),id:"create-menu",menu:(0,j.jsxs)(M.v2,{children:[(0,j.jsx)(M.xu,{paddingX:3,paddingTop:3,paddingBottom:2,children:(0,j.jsx)(M.__,{muted:!0,children:"Create"})}),t.map((e,t)=>{let i=s[e.id],a=!(null==i?void 0:i.granted),l=tm(n,r,e),u=r.find(t=>t.id===e.templateId);if(!u||!l)return null;let c=(0,R.forwardRef)((e,t)=>a?(0,j.jsx)("button",{type:"button",disabled:!0,...e,ref:t}):(0,j.jsx)(X.nR,{...e,intent:l.type,params:l.params,ref:t}));return c.displayName="Link",(0,j.jsx)(tp,{reveal:a,loading:o,children:(0,j.jsx)(M.sN,{as:c,"data-as":a?"button":"a",text:e.title||u.title,"aria-label":a?"Insufficient permissions":e.title||u.title,disabled:a,"data-testid":"action-intent-button-".concat(t)})},e.id)})]}),popover:tg})}let ty=[],tw={};function tb(e){return null!=e}let tx=e=>{let t=e=>"object"==typeof e&&e?Array.isArray(e)?e.map(t):Object.entries(e).sort((e,t)=>{let[n]=e,[r]=t;return n.localeCompare(r,"en")}):e;return JSON.stringify(t(JSON.parse(JSON.stringify(e))))},tC=(0,R.memo)(e=>{let{initialValueTemplateItems:t=ty,menuItems:n=ty,menuItemGroups:r=ty,actionHandlers:i=tw}=e,o=(0,S.zEW)(),a=(0,R.useCallback)(e=>{if("string"==typeof e.action&&!(e.action in i))return console.warn("No handler for action:",e.action),!1;let t="function"==typeof e.action?e.action:"string"==typeof e.action?i[e.action]:null;return!!t&&(t(e.params),!0)},[i]),[s,l]=(0,R.useMemo)(()=>{let e=n.filter(e=>{var t;return(null==(t=e.intent)?void 0:t.type)!=="create"});return ee()(e,e=>e.showAsAction)},[n]),u=(0,R.useMemo)(()=>n.map((e,t)=>{var n;if((null==(n=e.intent)?void 0:n.type)!=="create")return null;let{params:r}=e.intent;if(!r)return null;let i=Array.isArray(r)?r[0]:r,a=Array.isArray(r)?r[1]:void 0,s=i.template||i.type;if(!s)return null;let l=o.find(e=>e.id===s);if(!l)return null;let u=i.id;return{item:e,template:l,templateParams:a,menuItemIndex:t,initialDocumentId:u}}).filter(tb).map(e=>{let{initialDocumentId:t,item:n,template:r,menuItemIndex:i,templateParams:o}=e,a={id:"menuItem".concat(i),initialDocumentId:t,templateId:r.id,type:"initialValueTemplateItem",title:n.title||r.title,icon:n.icon,description:r.description,parameters:o,schemaType:r.schemaType};return a}),[n,o]),c=(0,R.useMemo)(()=>en()([...u,...t],e=>tx([e.initialDocumentId,e.templateId,e.parameters])),[u,t]);return(0,j.jsx)(M.gF,{space:1,children:[Boolean(c.length)&&(0,j.jsx)(tv,{templateItems:c},"$CreateMenuButton"),...s.map((e,t)=>(0,j.jsx)(M.u,{content:(0,j.jsx)(M.xu,{padding:2,children:(0,j.jsx)(M.xv,{size:1,children:e.title})}),placement:"bottom",children:e.intent?(0,j.jsx)(th,{intent:e.intent,"aria-label":e.title,icon:e.icon||A.Tzq,mode:"bleed"}):(0,j.jsx)(M.zx,{"aria-label":e.title,icon:e.icon||A.Tzq,mode:"bleed",onClick:()=>a(e)})},"".concat(t,"-").concat(e.title))),Boolean(l.length)&&(0,j.jsx)(eJ,{items:l,itemGroups:r,onAction:a},"$ContextMenu")]})});tC.displayName="PaneHeaderActions";let tE={NOTHING_TO_DELETE:"This document doesnât yet exist or is already deleted"},tk=e=>{let{id:t,type:n,draft:r,onComplete:i}=e,{delete:o}=(0,S.d9t)(t,n),[a,s]=(0,R.useState)(!1),[l,u]=(0,R.useState)(!1),c=(0,R.useCallback)(()=>{u(!1),i()},[i]),d=(0,R.useCallback)(()=>{s(!0),u(!1),o.execute(),i()},[o,i]),f=(0,R.useCallback)(()=>{u(!0)},[]),[h,p]=(0,S.hHf)({id:t,type:n,permission:"delete"}),g=(0,S.xJ)();return p||(null==h?void 0:h.granted)?{tone:"critical",icon:A.XHJ,disabled:a||Boolean(o.disabled)||p,title:o.disabled&&tE[o.disabled]||"",label:a?"Deletingâ¦":"Delete",shortcut:"Ctrl+Alt+D",onHandle:f,dialog:l&&{type:"dialog",onClose:i,content:(0,j.jsx)(eY,{action:"delete",id:(null==r?void 0:r._id)||t,type:n,onCancel:c,onConfirm:d})}}
12:{tone:"critical",icon:A.XHJ,disabled:!0,label:"Delete",title:(0,j.jsx)(S.FMn,{operationLabel:"delete this document",currentUser:g})}};tk.action="delete";let t_={NO_CHANGES:"This document has no unpublished changes",NOT_PUBLISHED:"This document is not published"},tA=e=>{let{id:t,type:n,published:r,liveEdit:i,onComplete:o}=e,{discardChanges:a}=(0,S.d9t)(t,n),[s,l]=(0,R.useState)(!1),[u,c]=(0,S.hHf)({id:t,type:n,permission:"discardDraft"}),d=(0,S.xJ)(),f=(0,R.useCallback)(()=>{a.execute(),o()},[a,o]),h=(0,R.useCallback)(()=>{l(!0)},[]),p=(0,R.useMemo)(()=>s&&{type:"confirm",tone:"critical",onCancel:o,onConfirm:f,message:(0,j.jsx)(j.Fragment,{children:"Are you sure you want to discard all changes since last published?"})},[f,s,o]);return!r||i?null:c||(null==u?void 0:u.granted)?{tone:"critical",icon:A.X5P,disabled:Boolean(a.disabled)||c,title:a.disabled&&t_[a.disabled]||"",label:"Discard changes",onHandle:h,dialog:p}:{tone:"critical",icon:A.X5P,disabled:!0,label:"Discard changes",title:(0,j.jsx)(S.FMn,{operationLabel:"discard changes in this document",currentUser:d})}};tA.action="discardChanges";let tR={NOTHING_TO_DUPLICATE:"This document doesnât yet exist so thereâs nothing to duplicate"},tS=e=>{let{id:t,type:n,onComplete:r}=e,{duplicate:i}=(0,S.d9t)(t,n),o=(0,X.tv)(),[a,s]=(0,R.useState)(!1),[l,u]=(0,S.hHf)({id:t,type:n,permission:"duplicate"}),c=(0,S.xJ)(),d=(0,R.useCallback)(()=>{let e=(0,ei.Z)();s(!0),i.execute(e),o.navigateIntent("edit",{id:e,type:n}),r()},[i,r,o,n]);return u||(null==l?void 0:l.granted)?{icon:A.TIy,disabled:a||Boolean(i.disabled)||u,label:a?"Duplicatingâ¦":"Duplicate",title:i.disabled&&tR[i.disabled]||"",onHandle:d}:{icon:A.TIy,disabled:!0,label:"Duplicate",title:(0,j.jsx)(S.FMn,{operationLabel:"duplicate this document",currentUser:c})}};tS.action="duplicate";let tj=e=>{let{id:t,type:n,revision:r,onComplete:i}=e,{restore:o}=(0,S.d9t)(t,n),a=(0,X.tv)(),[s,l]=(0,R.useState)(!1),u=(0,R.useCallback)(()=>{o.execute(r),a.navigateIntent("edit",{id:t,type:n}),i()},[r,o,a,i,t,n]),c=(0,R.useCallback)(()=>{l(!0)},[]),d=(0,R.useMemo)(()=>s?{type:"confirm",tone:"critical",onCancel:i,onConfirm:u,message:(0,j.jsx)(j.Fragment,{children:"Are you sure you want to restore this document?"})}:null,[u,s,i]),f="@initial"===r;return void 0===r?null:{label:"Restore",color:"primary",onHandle:c,title:f?"You can't restore to the initial version":"Restore to this version",icon:A.vaD,dialog:d,disabled:f}};tj.action="restore";let tM=(0,R.createContext)(null);function tP(){let e=(0,R.useContext)(tM);if(!e)throw Error("DocumentPane: missing context value");return e}let tL={LIVE_EDIT_ENABLED:"Cannot publish since liveEdit is enabled for this document type",ALREADY_PUBLISHED:"Already published",NO_CHANGES:"No unpublished changes",NOT_READY:"Operation not ready"},tI=e=>{var t,n,r;let{id:i,type:o,liveEdit:a,draft:s,published:l}=e,[u,c]=(0,R.useState)(null),{publish:d}=(0,S.d9t)(i,o),f=(0,S.a3k)(i,o),h=(0,S.nuD)(i,o),{changesOpen:p,onHistoryOpen:g,documentId:m,documentType:v}=tP(),y=(0,S.iav)(m,v),w=((null==y?void 0:y.draft)||(null==y?void 0:y.published)||{})._rev,b=f.validation.some(er.YN),[x,C]=(0,R.useState)(!1),E=h.isSyncing,k=f.isValidating,[_,M]=(0,S.hHf)({id:i,type:o,permission:"publish"}),P=(0,S.xJ)(),L=d.disabled?(n=d.disabled,r=(l||{})._updatedAt,("ALREADY_PUBLISHED"===n&&r?(0,j.jsx)(j.Fragment,{children:(0,j.jsxs)("span",{children:["Published ",(0,j.jsx)(eC,{time:r})]})}):tL[n])||""):b?"There are validation errors that need to be fixed before this document can be published":"",I=Boolean(s),O=(0,R.useCallback)(()=>{d.execute(),c("publishing")},[d]);(0,R.useEffect)(()=>{let e=!1===f.isValidating&&f.revision!==w;x&&!E&&e&&(b||O(),C(!1))},[E,O,b,x,f.revision,w,k,f.isValidating]),(0,R.useEffect)(()=>{let e="publishing"===u&&!I;e&&p&&g();let t=e?"published":null,n=setTimeout(()=>{c(t)},e?200:4e3);return()=>clearTimeout(n)},[p,u,I,g]);let D=(0,R.useCallback)(()=>{h.isSyncing||f.isValidating||f.revision!==w?C(!0):O()},[h.isSyncing,f.isValidating,f.revision,w,O]);
12if(a)return{tone:"positive",label:"Publish",title:"Live Edit is enabled for this content type and publishing happens automatically as you make changes",disabled:!0};if(!M&&!(null==_?void 0:_.granted))return{tone:"positive",label:"Publish",title:(0,j.jsx)(S.FMn,{operationLabel:"publish this document",currentUser:P}),disabled:!0};let T=Boolean(x||(null==(t=null==y?void 0:y.transactionSyncLock)?void 0:t.enabled)||"publishing"===u||"published"===u||b||d.disabled);return{disabled:T||M,tone:"positive",label:"published"===u?"Published":x||"publishing"===u?"Publishingâ¦":"Publish",icon:"published"===u?A.KML:A.EI4,title:x?"Waiting for tasks to finish before publishing":"published"===u||"publishing"===u?null:L,shortcut:T||x?null:"Ctrl+Alt+P",onHandle:D}};tI.action="publish";let tO={NOT_PUBLISHED:"This document is not published"},tD=e=>{let{id:t,type:n,draft:r,onComplete:i,liveEdit:o}=e,{unpublish:a}=(0,S.d9t)(t,n),[s,l]=(0,R.useState)(!1),[u,c]=(0,S.hHf)({id:t,type:n,permission:"unpublish"}),d=(0,S.xJ)(),f=(0,R.useCallback)(()=>{l(!1),i()},[i]),h=(0,R.useCallback)(()=>{l(!1),a.execute(),i()},[i,a]),p=(0,R.useMemo)(()=>s?{type:"dialog",onClose:i,content:(0,j.jsx)(eY,{id:(null==r?void 0:r._id)||t,type:n,action:"unpublish",onCancel:f,onConfirm:h})}:null,[r,t,f,h,s,i,n]);return o?null:c||(null==u?void 0:u.granted)?{tone:"critical",icon:A.xEY,disabled:Boolean(a.disabled)||c,label:"Unpublish",title:a.disabled?tO[a.disabled]:"",onHandle:()=>l(!0),dialog:p}:{tone:"critical",icon:A.xEY,label:"Unpublish",title:(0,j.jsx)(S.FMn,{operationLabel:"unpublish this document",currentUser:d}),disabled:!0}};tD.action="unpublish";let tT=e=>{let{liveEdit:t}=e;return t?{label:"Live",color:"danger"}:null},tN=!1,tF={},tH=Symbol("LOADING_PANE"),tV={activePanes:[]};function tz(e){tV.activePanes=e}function tB(e,t,n,r){var i;let o=(null==n?void 0:n.panes)||[],a=tV.activePanes||[],s=t.id||(0,ei.Z)(),l="create"===e&&t.template;for(let u=a.length-1;u>=0;u--){let c=a[u];if("object"==typeof c&&((null==(i=c.canHandleIntent)?void 0:i.call(c,e,t,{pane:c,index:u}))||"documentList"===c.type&&c.schemaTypeName===t.type&&"_type == $type"===c.options.filter)){let d=l?{template:t.template}:tF;return{panes:o.slice(0,u).concat([[{id:s,params:d,payload:r}]])}}}return{intent:e,params:t,payload:r}}let tU={},tZ=X.BC.create("/",[X.BC.intents("/intent"),X.BC.create("/edit/:type/:editDocumentId",[X.BC.create({path:"/:params",transform:{params:{toState:function(e){try{return JSON.parse(decodeURIComponent(e))}catch(t){return console.warn("Failed to parse JSON parameters"),{}}},toPath:function(e){return JSON.stringify(e)}}}})]),X.BC.create({path:"/:panes",children:[X.BC.create("/:action",X.BC.create("/:legacyEditDocumentId"))],transform:{panes:{toState:function(e){var t;return -1!==(t=decodeURIComponent(e)).indexOf(",{")?function(e){let t=[],n=e;for(;n.length;){let[r,i,o]=n.match(tW)||[];if(!r){n=n.slice(1);continue}let a=o&&tK(o);t.push({id:i,payload:a}),n=n.slice(r.length)}return[t]}(t):t.split(";").map(e=>{let[t,...n]=e.split("|").map(e=>{let[t,...n]=e.split(",");return n.reduce((e,t)=>{if(tG(t)){let n=t.slice(0,t.indexOf("=")),r=t.slice(n.length+1);e.params={...e.params,[decodeURIComponent(n)]:decodeURIComponent(r)}}else tq(t)?e.payload=t?tK(atob(t)):void 0:console.warn("Unknown pane segment: %s - skipping",t);return e},{id:t,params:tU,payload:void 0})});return[t,...n.map(e=>({...t,...e,id:e.id||t.id,params:{...K()(t.params,t$),...e.params},payload:e.payload||t.payload}))]}).filter(e=>e.length>0)},toPath:function(e){return(e||[]).map(e=>e.map(tY).join("|")).map(encodeURIComponent).join(";")}}}})]),tW=/^([.a-z0-9_-]+),?({.*?})?(?:(;|$))/i,tG=e=>/^[a-z0-9]+=[^=]+/i.test(e),tq=e=>/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e),t$=["view","since","rev"],tX=Boolean;function tY(e,t,n){let{payload:r,params:i={},id:o}=e,[a]=n,s=e===a,l=0!==t&&o===a.id,u=void 0===r?void 0:btoa(JSON.stringify(r)),c=Object.entries(i).filter(e=>{var t;let[n,r]=e;if(!r)return!1;if(s)return!0;let i=null==(t=a.params)?void 0:t[n];return!!(r!==i||t$.includes(n))}).map(e=>{let[t,n]=e;return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n))});return[l?"":o].concat([c.length>0&&c,u].filter(tX).flat()).join(",")||","}function tK(e){try{return JSON.parse(e)}catch(t){console.warn("Failed to parse parameters: ".concat(t.message));return}}let tJ=[tI,tD,tA,tS,tk,tj],tQ=[tT],t1=(0,S.Cw0)(e=>({name:"@sanity/desk-tool",document:{actions:e=>{let t=e.slice(0);for(let n of tJ)t.includes(n)||t.push(n);return t},badges:e=>{let t=e.slice(0);for(let n of tQ)t.includes(n)||t.push(n);return t}},tools:[{name:(null==e?void 0:e.name)||"desk",title:(null==e?void 0:e.title)||"Desk",icon:(null==e?void 0:e.icon)||A.kLv,component:(0,R.lazy)(()=>Promise.all([n.e(410),n.e(245),n.e(870)]).then(n.bind(n,44838)).then(function(e){return e.index})),canHandleIntent:(e,t)=>
12Boolean("edit"===e&&t.id||"create"===e&&t.type||"create"===e&&t.template),getIntentState:tB,options:e,router:tZ}]})),t0=(0,R.createContext)(null);class t5 extends Error{constructor(e,t,n,r){super(e);let i=void 0===n?"<unknown>":"".concat(n);this.path=(t||[]).concat(r?"".concat(i," (").concat(r,")"):i)}withHelpUrl(e){return this.helpId=e,this}}var t2=((i=t2||{}).ID_REQUIRED="structure-node-id-required",i.TITLE_REQUIRED="structure-title-required",i.FILTER_REQUIRED="structure-filter-required",i.INVALID_LIST_ITEM="structure-invalid-list-item",i.COMPONENT_REQUIRED="structure-view-component-required",i.DOCUMENT_ID_REQUIRED="structure-document-id-required",i.DOCUMENT_TYPE_REQUIRED="structure-document-type-required",i.SCHEMA_TYPE_REQUIRED="structure-schema-type-required",i.SCHEMA_TYPE_NOT_FOUND="structure-schema-type-not-found",i.LIST_ITEMS_MUST_BE_ARRAY="structure-list-items-must-be-array",i.QUERY_PROVIDED_FOR_FILTER="structure-query-provided-for-filter",i.ACTION_OR_INTENT_REQUIRED="structure-action-or-intent-required",i.LIST_ITEM_IDS_MUST_BE_UNIQUE="structure-list-item-ids-must-be-unique",i.ACTION_AND_INTENT_MUTUALLY_EXCLUSIVE="structure-action-and-intent-mutually-exclusive",i);let t8=["_id","_type","_createdAt","_updatedAt","_rev"],t3={title:"Last edited",name:"lastEditedDesc",by:[{field:"_updatedAt",direction:"desc"}]},t4=[t3,{title:"Created",name:"lastCreatedDesc",by:[{field:"_createdAt",direction:"desc"}]}];function t6(e,t,n){return e instanceof t7?e.serialize({path:n,index:t}):e}class t7{constructor(e,t){this._context=e,this.spec=t||{}}action(e){return this.clone({action:e})}getAction(){return this.spec.action}intent(e){return this.clone({intent:e})}getIntent(){return this.spec.intent}title(e){return this.clone({title:e})}getTitle(){return this.spec.title}group(e){return this.clone({group:e})}getGroup(){return this.spec.group}icon(e){return this.clone({icon:e})}getIcon(){return this.spec.icon}params(e){return this.clone({params:e})}getParams(){return this.spec.params}showAsAction(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return this.clone({showAsAction:Boolean(e)})}getShowAsAction(){return this.spec.showAsAction}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},{title:t,action:n,intent:r}=this.spec;if(!t)throw new t5("`title` is required for menu item",e.path,e.index,"string"==typeof n?'action: "'.concat(n,'"'):void 0).withHelpUrl(t2.TITLE_REQUIRED);if(!n&&!r)throw new t5("`action` or `intent` required for menu item with title ".concat(this.spec.title),e.path,e.index,'"'.concat(t,'"')).withHelpUrl(t2.ACTION_OR_INTENT_REQUIRED);if(r&&n)throw new t5("cannot set both `action` AND `intent`",e.path,e.index,'"'.concat(t,'"')).withHelpUrl(t2.ACTION_AND_INTENT_MUTUALLY_EXCLUSIVE);return{...this.spec,title:t}}clone(e){let t=new t7(this._context);return t.spec={...this.spec,...e||{}},t}}function t9(e,t,n){return new t7(e).group("sorting").title("Sort by ".concat(t.title)).icon(A.fzI).action("setSortOrder").params({by:t.by,extendedProjection:n})}function ne(e,t){let{schema:n}=e,r="string"==typeof t?n.get(t):t;return r&&"orderings"in r?(r.orderings?r.orderings.concat(t4):t4).map(t=>t9(e,t,t.by.map(e=>(function e(t,n){let[r,...i]=n;if(!("fields"in t))return"";let o=t.fields.find(e=>e.name===r);if(!o)return t8.includes(r)||console.warn('The current ordering config targeted the nonexistent field "%s" on schema type "%s". It should be one of %o',r,t.name,t.fields.map(e=>e.name)),"";if("to"in o.type&&"reference"===o.type.name){let a=o.type.to;return"".concat(r,"->{").concat(a.map(t=>e(t,i)).join(","),"}")}let s=i.length>0&&e(o.type,i);return i.length>0?"".concat(r).concat(s?"{".concat(s,"}"):""):r})(r,e.field.split("."))).join(", "))):[]}function nt(e,t,n){return e instanceof nn?e.serialize({path:n,index:t}):e}class nn{constructor(e,t){this._context=e,this._id=t?t.id:"",this._title=t?t.title:""}id(e){return new nn(this._context,{id:e,title:this._title})}getId(){return this._id}title(e){return new nn(this._context,{id:this._id,title:e})}getTitle(){return this._title}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},{_id:t,_title:n}=this;if(!t)throw new t5("`id` is required for a menu item group",e.path,e.index,n).withHelpUrl(t2.ID_REQUIRED);if(!n)throw new t5("`title` is required for a menu item group",e.path,t).withHelpUrl(t2.TITLE_REQUIRED);return{id:t,title:n}}}let nr=/([^A-Za-z0-9-_.])/;function ni(e,t,n){if("string"!=typeof e)throw new t5("Structure node id must be of type string, got ".concat(typeof e),t,n);let[r]=e.match(nr)||[];if(r)throw new t5('Structure node id cannot contain character "'.concat(r,'"'),t,n);if(e.startsWith("__edit__"))throw new t5("Structure node id cannot start with __edit__",t,n);return e}class no{constructor(e){this.spec={options:{},...e||{}}}id(e){return this.clone({id:e})}getId(){return this.spec.id}
12title(e){return this.clone({title:e,id:this.spec.id||ea()(e)})}getTitle(){return this.spec.title}child(e){return this.clone({child:e})}getChild(){return this.spec.child}component(e){return this.clone({component:e})}getComponent(){return this.spec.component}options(e){return this.clone({options:e})}getOptions(){return this.spec.options||{}}menuItems(e){return this.clone({menuItems:e})}getMenuItems(){return this.spec.menuItems}menuItemGroups(e){return this.clone({menuItemGroups:e})}getMenuItemGroups(){return this.spec.menuItemGroups}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},{id:t,title:n,child:r,options:i,component:o}=this.spec;if(!t)throw new t5("`id` is required for `component` structure item",e.path,e.index).withHelpUrl(t2.ID_REQUIRED);if(!o)throw new t5("`component` is required for `component` structure item",e.path,e.index).withHelpUrl(t2.ID_REQUIRED);return{id:ni(t,e.path,e.index),title:n,type:"component",child:r,component:o,options:i||{},menuItems:(this.spec.menuItems||[]).map((t,n)=>t6(t,n,e.path)),menuItemGroups:(this.spec.menuItemGroups||[]).map((t,n)=>nt(t,n,e.path))}}clone(e){let t=new no;return t.spec={...this.spec,...e||{}},t}}class na{constructor(){this.spec={}}id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e,id:this.spec.id||ec()(e)})}getTitle(){return this.spec.title}icon(e){return this.clone({icon:e})}getIcon(){return this.spec.icon}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},{id:t,title:n,icon:r}=this.spec;if(!t)throw new t5("`id` is required for view item",e.path,e.index).withHelpUrl(t2.ID_REQUIRED);if(!n)throw new t5("`title` is required for view item",e.path,e.index).withHelpUrl(t2.TITLE_REQUIRED);return{id:ni(t,e.path,e.index),title:n,icon:r}}}function ns(e,t,n){return"function"==typeof e.serialize?e.serialize({path:n,index:t}):e}let nl=e=>(0,S.Uy$)(e)&&"component"===e.type;class nu extends na{constructor(e){let t=nl(e)?{...e}:{options:{}};super(),this.spec=t;let n="function"==typeof e?e:this.spec.component;n&&(this.spec=this.component(n).spec)}component(e){return this.clone({component:e})}getComponent(){return this.spec.component}options(e){return this.clone({options:e})}getOptions(){return this.spec.options||{}}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},t=super.serialize(e),n=this.spec.component;if("function"!=typeof n)throw new t5("`component` is required and must be a function for `component()` view item",e.path,e.index).withHelpUrl(t2.COMPONENT_REQUIRED);return{...t,component:n,options:this.spec.options||{},type:"component"}}clone(e){let t=new nu;return t.spec={...this.spec,...e||{}},t}}class nc extends na{constructor(e){super(),this.spec={id:"editor",title:"Editor",...e||{}}}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]};return{...super.serialize(e),type:"form"}}clone(e){let t=new nc;return t.spec={...this.spec,...e||{}},t}}let nd=e=>new nc(e),nf=e=>new nu(e);var nh=Object.freeze({__proto__:null,ComponentViewBuilder:nu,FormViewBuilder:nc,GenericViewBuilder:na,component:nf,form:nd,maybeSerializeView:ns});let np=e=>{let{resolveDocumentNode:t}=e;return(e,n)=>{let{params:r,path:i}=n,{type:o}=r,a=i.slice(0,i.length-1),s=i[i.length-1];if(!o)throw new t5("Invalid link. Your link must contain a `type`.",a,s);return t({documentId:e,schemaType:o})}};class ng{constructor(e,t){this._context=e,this.spec=t||{}}id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e,id:this.spec.id||ea()(e)})}getTitle(){return this.spec.title}child(e){return this.clone({child:e})}getChild(){return this.spec.child}documentId(e){let t=this.spec.id||e;return this.clone({id:t,options:{...this.spec.options||{},id:e}})}getDocumentId(){var e;return null==(e=this.spec.options)?void 0:e.id}schemaType(e){return this.clone({options:{...this.spec.options||{},type:"string"==typeof e?e:e.name}})}getSchemaType(){var e;return null==(e=this.spec.options)?void 0:e.type}initialValueTemplate(e,t){return this.clone({options:{...this.spec.options||{},template:e,templateParameters:t}})}getInitialValueTemplate(){var e;return null==(e=this.spec.options)?void 0:e.template}getInitialValueTemplateParameters(){var e;return null==(e=this.spec.options)?void 0:e.templateParameters}views(e){return this.clone({views:e})}getViews(){return this.spec.views||[]}serialize(){let{path:e=[],index:t,hint:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},r=e[t||e.length-1],i=this.spec.id||r&&"".concat(r)||"",o={id:i,type:void 0,template:void 0,templateParameters:void 0,...this.spec.options};if("string"!=typeof i||!i)throw new t5("`id` is required for document nodes",e,t,n).withHelpUrl(t2.ID_REQUIRED);if(!o||!o.id)throw new t5("document id (`id`) is required for document nodes",e,i,n).withHelpUrl(t2.DOCUMENT_ID_REQUIRED);if(!o||!o.type)throw new t5("document type (`schemaType`) is required for document nodes",e,i,n);let a=(this.spec.views&&this.spec.views.length>0?this.spec.views:[nd()]).map((t,n)=>ns(t,n,e)),s=a.map(e=>e.id),l=el()(s.filter((e,t)=>
12s.includes(e,t+1)));if(l.length>0)throw new t5("document node has views with duplicate IDs: ".concat(l.join(", ")),e,i,n);return{...this.spec,child:this.spec.child||np(this._context),id:ni(i,e,t),type:"document",options:function(e){let t={id:e.id||"",type:e.type||"*"};return e.template&&(t.template=e.template),e.templateParameters&&(t.templateParameters=e.templateParameters),t}(o),views:a}}clone(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new ng(this._context),n={...this.spec.options||{},...e.options||{}};return t.spec={...this.spec,...e,options:n},t}}let nm=["default","card","media","detail","block"],nv=Symbol("Document type list canHandleIntent"),ny=(e,t,n)=>{var r,i;let{pane:o}=n,a="create"===e,s=(null==(r=o.options)?void 0:r.filter)||"",l=(null==(i=o.options)?void 0:i.params)||{},u=o.schemaTypeName?[o.schemaTypeName]:nR(s,l),c=o.initialValueTemplates||[];return a&&t.template?c.some(e=>e.templateId===t.template):"edit"===e&&t.id&&u.includes(t.type)||a&&u.includes(t.type)};ny.identity=nv;class nw{constructor(e,t){this._context=e,this.spec=t||{}}id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e})}getTitle(){return this.spec.title}description(e){return this.clone({description:e})}getDescription(){return this.spec.description}templateId(e){let t=this.spec.id||e;return this.clone({id:t,templateId:e})}getTemplateId(){return this.spec.templateId}parameters(e){return this.clone({parameters:e})}getParameters(){return this.spec.parameters}serialize(){let{path:e=[],index:t,hint:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},{spec:r,_context:i}=this,{templates:o}=i;if("string"!=typeof r.id||!r.id)throw new t5("`id` is required for initial value template item nodes",e,t,n).withHelpUrl(t2.ID_REQUIRED);if(!r.templateId)throw new t5("template id (`templateId`) is required for initial value template item nodes",e,r.id,n).withHelpUrl(t2.ID_REQUIRED);let a=o.find(e=>e.id===r.templateId);if(!a)throw new t5("template id (`templateId`) is required for initial value template item nodes",e,r.id,n).withHelpUrl(t2.ID_REQUIRED);return{id:r.id,templateId:r.id,schemaType:a.schemaType,type:"initialValueTemplateItem",description:r.description||a.description,title:r.title||a.title,subtitle:r.subtitle,icon:r.icon||a.icon,initialDocumentId:r.initialDocumentId,parameters:r.parameters}}clone(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new nw(this._context);return t.spec={...this.spec,...e},t}}function nb(){}let nx=(e,t,n)=>{let{pane:r,index:i}=n;return i<=1&&ny(e,t,{pane:r,index:i})};class nC{constructor(){this.initialValueTemplatesSpecified=!1,this.spec={}}id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e,id:this.spec.id||ea()(e)})}getTitle(){return this.spec.title}defaultLayout(e){return this.clone({defaultLayout:e})}getDefaultLayout(){return this.spec.defaultLayout}menuItems(e){return this.clone({menuItems:e})}getMenuItems(){return this.spec.menuItems}menuItemGroups(e){return this.clone({menuItemGroups:e})}getMenuItemGroups(){return this.spec.menuItemGroups}child(e){return this.clone({child:e})}getChild(){return this.spec.child}canHandleIntent(e){return this.clone({canHandleIntent:e})}getCanHandleIntent(){return this.spec.canHandleIntent}showIcons(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return this.clone({displayOptions:{...this.spec.displayOptions||{},showIcons:e}})}getShowIcons(){return this.spec.displayOptions?this.spec.displayOptions.showIcons:void 0}initialValueTemplates(e){return this.initialValueTemplatesSpecified=!0,this.clone({initialValueTemplates:Array.isArray(e)?e:[e]})}getInitialValueTemplates(){return this.spec.initialValueTemplates}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},t=this.spec.id||"",n=e.path,r=this.spec.defaultLayout;if(r&&!nm.includes(r))throw new t5("`layout` must be one of ".concat(nm.map(e=>'"'.concat(e,'"')).join(", ")),n,t||e.index,this.spec.title);let i=(this.spec.initialValueTemplates||[]).map((e,t)=>
12e instanceof nw?e.serialize({path:n,index:t}):e);return{id:ni(t,e.path,t||e.index),title:this.spec.title,type:"genericList",defaultLayout:r,child:this.spec.child||nb,canHandleIntent:this.spec.canHandleIntent||nx,displayOptions:this.spec.displayOptions,initialValueTemplates:i,menuItems:(this.spec.menuItems||[]).map((e,t)=>t6(e,t,n)),menuItemGroups:(this.spec.menuItemGroups||[]).map((e,t)=>nt(e,t,n))}}}let nE=async(e,t)=>{let n=t.replace(/^drafts\./,""),r=await e(S.Dr7).fetch("*[_id in [$documentId, $draftId]]._type",{documentId:n,draftId:"drafts.".concat(n)},{tag:"structure.resolve-type"});return r[0]},nk=(e,t)=>{var n;let r=(null==(n=e.options)?void 0:n.filter.trim())||"";if(["*","{"].includes(r[0]))throw new t5("`filter` cannot start with `".concat(r[0],"` - looks like you are providing a query, not a filter"),t.path,e.id,e.title).withHelpUrl(t2.QUERY_PROVIDED_FOR_FILTER);return r},n_=e=>(t,n)=>{var r;let i=n.parent,o=(null==(r=n.params)?void 0:r.template)?e.templates.find(e=>e.id===n.params.template):void 0,a=o?o.schemaType:i.schemaTypeName||nE(e.getClient,t);return Promise.resolve(a).then(n=>n?e.resolveDocumentNode({schemaType:n,documentId:t}):new ng(e).id("editor").documentId(t).schemaType(""))};class nA extends nC{constructor(e,t){super(),this._context=e,this.spec=t||{},this.initialValueTemplatesSpecified=Boolean(null==t?void 0:t.initialValueTemplates)}apiVersion(e){return this.clone({options:{...this.spec.options||{filter:""},apiVersion:e}})}getApiVersion(){var e;return null==(e=this.spec.options)?void 0:e.apiVersion}filter(e){return this.clone({options:{...this.spec.options||{},filter:e}})}getFilter(){var e;return null==(e=this.spec.options)?void 0:e.filter}schemaType(e){let t="string"==typeof e?e:e.name;return this.clone({schemaTypeName:t})}getSchemaType(){return this.spec.schemaTypeName}params(e){return this.clone({options:{...this.spec.options||{filter:""},params:e}})}getParams(){var e;return null==(e=this.spec.options)?void 0:e.params}defaultOrdering(e){if(!Array.isArray(e))throw Error("`defaultOrdering` must be an array of order clauses");return this.clone({options:{...this.spec.options||{filter:""},defaultOrdering:e}})}getDefaultOrdering(){var e;return null==(e=this.spec.options)?void 0:e.defaultOrdering}serialize(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]};if("string"!=typeof this.spec.id||!this.spec.id)throw new t5("`id` is required for document lists",t.path,t.index,this.spec.title).withHelpUrl(t2.ID_REQUIRED);if(!this.spec.options||!this.spec.options.filter)throw new t5("`filter` is required for document lists",t.path,this.spec.id,this.spec.title).withHelpUrl(t2.FILTER_REQUIRED);return{...super.serialize(t),type:"documentList",schemaTypeName:this.spec.schemaTypeName,child:this.spec.child||n_(this._context),options:{...this.spec.options,apiVersion:this.spec.options.apiVersion||((null==(e=this.spec.options)?void 0:e.filter)==="_type == $type"?"2021-06-07":"1"),filter:nk(this.spec,t)}}}clone(e){let t=new nA(this._context);return t.spec={...this.spec,...e||{}},this.initialValueTemplatesSpecified||(t.spec.initialValueTemplates=function(e,t){let{document:n}=e,{schemaTypeName:r,options:i}=t,{filter:o,params:a}=i||{filter:"",params:{}},s=r?[r]:Array.from(new Set(nR(o,a)));if(0!==s.length)return s.flatMap(e=>n.resolveNewDocumentOptions({type:"structure",schemaType:e})).map(e=>({...e,icon:A.j29}))}(this._context,t.spec)),t.spec.schemaTypeName||(t.spec.schemaTypeName=function(e){let{options:t}=e,{filter:n,params:r}=t||{filter:"",params:{}},i=nR(n,r);return 1===i.length?i[0]:void 0}(t.spec)),t}getSpec(){return this.spec}}function nR(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=/\b_type\s*==\s*(['"].*?['"]|\$.*?(?:\s|$))|\B(['"].*?['"]|\$.*?(?:\s|$))\s*==\s*_type/g,i=[];for(;null!==(t=r.exec(e));)i.push(t[1]||t[2]);return i.map(e=>{let t="$"===e[0]?n[e.slice(1)]:e,r=(t||"").trim().replace(/^["']|["']$/g,"");return r}).filter(Boolean)}(e,t);return 0===n.length&&(n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(/\b_type\s+in\s+\[(.*?)\]/);
12return n?n[1].split(/,\s*/).map(e=>e.trim().replace(/^["']+|["']+$/g,"")).map(e=>"$"===e[0]?t[e.slice(1)]:e).filter(Boolean):[]}(e,t)),n}let nS=e=>e instanceof nL?"ListBuilder":(0,S.Uy$)(e)&&"function"==typeof e.then?"Promise":Array.isArray(e)?"array":typeof e,nj=e=>"listItem"===e.type,nM=(e,t,n)=>{let r=n.pane,i=r.items||[];return i.filter(nT).some(e=>e.schemaType.name===t.type&&e._id===t.id)||nx(e,t,n)},nP=(e,t)=>{let n=t.parent,r=n.items.filter(nj),i=(r.find(t=>t.id===e)||{child:void 0}).child;return i&&"function"==typeof i&&"function"==typeof i?i(e,t):i};class nL extends nC{constructor(e,t){super(),this._context=e,this.spec=t||{},this.initialValueTemplatesSpecified=Boolean(t&&t.initialValueTemplates)}items(e){return this.clone({items:e})}getItems(){return this.spec.items}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},t=this.spec.id;if("string"!=typeof t||!t)throw new t5("`id` is required for lists",e.path,e.index).withHelpUrl(t2.ID_REQUIRED);let n=void 0===this.spec.items?[]:this.spec.items;if(!Array.isArray(n))throw new t5("`items` must be an array of items",e.path,e.index).withHelpUrl(t2.LIST_ITEMS_MUST_BE_ARRAY);let r=(e.path||[]).concat(t),i=n.map((e,t)=>(function(e,t,n){if(e instanceof nI)return e.serialize({path:n,index:t});if(e&&"divider"===e.type)return e;if(!e||"listItem"!==e.type){let r=e&&e.type||nS(e);throw new t5('List items must be of type "listItem", got "'.concat(r,'"').concat("array"===r?" - did you forget to spread (...moreItems)?":""),n,t).withHelpUrl(t2.INVALID_LIST_ITEM)}return e})(e,t,r)),o=i.filter((e,t)=>ep()(i,{id:e.id},t+1));if(o.length>0){let a=o.map(e=>e.id).slice(0,5),s=o.length>5?"".concat(a.join(", "),"..."):a.join(", ");throw new t5("List items with same ID found (".concat(s,")"),e.path,e.index).withHelpUrl(t2.LIST_ITEM_IDS_MUST_BE_UNIQUE)}return{...super.serialize(e),type:"list",canHandleIntent:this.spec.canHandleIntent||nM,child:this.spec.child||nP,items:i}}clone(e){let t=new nL(this._context);return t.spec={...this.spec,...e||{}},t}}class nI{constructor(e,t){this._context=e,this.spec=t||{}}id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e,id:this.spec.id||ea()(e)})}getTitle(){return this.spec.title}icon(e){return this.clone({icon:e})}showIcon(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return this.clone({displayOptions:{...this.spec.displayOptions||{},showIcon:e}})}getShowIcon(){return this.spec.displayOptions?this.spec.displayOptions.showIcon:void 0}getIcon(){return this.spec.icon}child(e){return this.clone({child:e})}getChild(){return this.spec.child}schemaType(e){return this.clone({schemaType:e})}getSchemaType(){let e=this.spec.schemaType;return"string"==typeof e?this._context.schema.get(e):this.spec.schemaType}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},{id:t,title:n,child:r}=this.spec;if("string"!=typeof t||!t)throw new t5("`id` is required for list items",e.path,e.index).withHelpUrl(t2.ID_REQUIRED);if(!e.titleIsOptional&&("string"!=typeof n||!n))throw new t5("`title` is required for list items",e.path,t).withHelpUrl(t2.TITLE_REQUIRED);let i=this.spec.schemaType;if("string"==typeof i){let o=this._context.schema.get(i);if(!o)throw new t5('Could not find type "'.concat(i,'" in schema'),e.path,t).withHelpUrl(t2.SCHEMA_TYPE_NOT_FOUND);i=o}let a={path:e.path.concat(t),hint:"child"},s=r instanceof no||r instanceof nA||r instanceof ng||r instanceof nL?r.serialize(a):r;if("function"==typeof s){let l=s;s=(e,t)=>l(e,{...t,serializeOptions:a})}return{...this.spec,id:ni(t,e.path,e.index),schemaType:i,child:s,title:n,type:"listItem"}}clone(e){let t=new nI(this._context);return t.spec={...this.spec,...e||{}},t}}let nO=(e,t)=>n=>{let r=t.schemaType&&("string"==typeof t.schemaType?t.schemaType:t.schemaType.name);return r?e.resolveDocumentNode({schemaType:r,documentId:n}):new ng(e).id("documentEditor").documentId(n)};class nD extends nI{constructor(e,t){super(e,t),this._context=e,this.spec=t||{}}serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:[]},t=super.serialize({...e,titleIsOptional:!0});if(!t.schemaType)throw new t5("`schemaType` is required for document list items",e.path,e.index).withHelpUrl(t2.SCHEMA_TYPE_REQUIRED);let n=t.child||nO(this._context,t);return{...t,child:n,schemaType:t.schemaType,_id:t.id}}clone(e){let t=new nD(this._context);return t.spec={...this.spec,...e||{}},t}}function nT(e){return(0,S.Uy$)(e)&&void 0!==e.schemaType&&"string"==typeof e._id}class nN extends nA{constructor(e,t){super(e),this._context=e,this.spec=t||{}}child(e){return this.cloneWithoutDefaultIntentHandler({child:e})}clone(e){let t=super.clone(e),n=new nN(this._context);return n.spec={...this.spec,...t.getSpec(),...e||{}},n}cloneWithoutDefaultIntentHandler(e){let t=super.clone(e),n=new nN(this._context),r=this.spec.canHandleIntent,i=r&&r.identity===nv;return n.spec={...t.getSpec(),...this.spec,...e||{},...i?{canHandleIntent:void 0}:{}},n}}let nF=["sanity.imageAsset","sanity.fileAsset"];function nH(e){let t=function(e){let{schema:t}=e;return t.getTypeNames().filter(e=>{var n;let r=t.get(e);return r&&(null==(n=r.type)?void 0:n.name)==="document"}).filter(e=>!nF.includes(e))}(e);return t.map(t=>nV(e,t))}function nV(e,t){let{schema:n}=e,r=n.get(t);if(!r)throw Error('Schema type with name "'.concat(t,'" not found'));let i=r.title||ew()(t);return new nI(e).id(t).title(i).schemaType(r).child((n,r)=>{let i=r.parent,o="list"===i.type?i.items.find(e=>e.id===n):null,a=nz(e,t);return o&&o.title&&(a=a.title(o.title)),a})}function nz(e,t){let{schema:n,resolveDocumentNode:r}
12=e,i="string"==typeof t?t:t.schemaType,o="string"==typeof i?i:i.name,a="string"==typeof t?{schemaType:i}:t,s=n.get(o);if(!s)throw Error('Schema type with name "'.concat(o,'" not found'));let l=s.title||ew()(o),u=function(e){let t=e.preview;return Boolean(t&&(t.prepare||t.select&&t.select.media))}(s);return new nN(e).id(a.id||o).title(a.title||l).filter("_type == $type").params({type:o}).schemaType(s).showIcons(u).defaultOrdering(t3.by).menuItemGroups(a.menuItemGroups||[{id:"sorting",title:"Sort"},{id:"layout",title:"Layout"},{id:"actions",title:"Actions"}]).child(a.child||(e=>r({schemaType:o,documentId:e}))).canHandleIntent(a.canHandleIntent||ny).menuItems(a.menuItems||[...ne(e,s),new t7(e).group("layout").title("Compact view").icon(A.reJ).action("setLayout").params({layout:"default"}),new t7(e).group("layout").title("Detailed view").icon(A.cMY).action("setLayout").params({layout:"detail"})])}function nB(e){let{defaultDocumentNode:t,structure:n,children:r}=e,[i,o]=(0,R.useState)(!1),a=(0,S.Lky)(),s=(0,S.Q3k)(a),l=(0,S.H__)(),u=(0,R.useMemo)(()=>(function(e){let{defaultDocumentNode:t,source:n}=e,r=(0,S.nqf)(n),i={...n,getStructureBuilder:()=>o,resolveDocumentNode:e=>{let n=(null==t?void 0:t(o,{...e,...r}))||new ng(i);return n.getId()||(n=n.id("documentEditor")),e.documentId&&(n=n.documentId((0,S.vsM)(e.documentId))),n.schemaType(e.schemaType)}},o={defaults:()=>(function(e){let t=nH(e);return new nL(e).id("__root__").title("Content").items(t).showIcons(t.some(e=>{var t;return!!(t=e.getSchemaType())&&"string"!=typeof t&&Boolean(t.icon)}))})(i),documentTypeList:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return nz(i,...t)},documentTypeListItem:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return nV(i,...t)},documentTypeListItems:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return nH(i,...t)},document:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new ng(i,...t)},documentWithInitialValueTemplate:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n){let{resolveDocumentNode:r,templates:i}=e,o=i.find(e=>e.id===t);if(!o)throw Error('Template with ID "'.concat(t,'" not defined'));return r({schemaType:o.schemaType}).initialValueTemplate(t,n)}(i,...t)},defaultDocument:i.resolveDocumentNode,list:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new nL(i,...t)},listItem:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new nI(i,...t)},menuItem:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new t7(i,...t)},menuItemGroup:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new nn(i,...t)},menuItemsFromInitialValueTemplateItems:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t){let{schema:n,templates:r}=e;return t.map(t=>{let i=r.find(e=>e.id===t.templateId),o=t.title||(null==i?void 0:i.title)||"Create new",a=ef()({type:i&&i.schemaType,template:t.templateId},Boolean),s=t.parameters?[a,t.parameters]:a,l=i&&n.get(i.schemaType);return new t7(e).title(o).icon(i&&i.icon||(null==l?void 0:l.icon)||A.j29).intent({type:"create",params:s}).serialize()})}(i,...t)},documentList:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new nA(i,...t)},documentListItem:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new nD(i,...t)},orderingMenuItem:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t9(i,...t)},orderingMenuItemsForType:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return ne(i,...t)},editor:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t){let n=(null==t?void 0:t.type)?e.resolveDocumentNode({schemaType:t.type}):new ng(e);
12if(!t)return n;let{id:r,type:i,template:o,templateParameters:a}=t.options;return n=n.id(t.id).documentId(r),i&&(n=n.schemaType(i)),o&&(n=n.initialValueTemplate(o,a)),t.child&&(n=n.child(t.child)),n}(i,...t)},defaultInitialValueTemplateItems:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){let{schema:t,getStructureBuilder:n,templates:r}=e,i=t.getTypeNames(),o=r.filter(e=>{var t;return!(null==(t=e.parameters)?void 0:t.length)}).sort((e,t)=>i.indexOf(e.schemaType)-i.indexOf(t.schemaType));return o.map(e=>n().initialValueTemplateItem(e.id))}(i,...t)},initialValueTemplateItem:(e,t)=>new nw(i,{id:e,parameters:t,templateId:e}),component:e=>(0,ev.isValidElementType)(e)?new no().component(e):new no(e),divider:()=>({id:em()("__divider__"),type:"divider"}),view:nh,context:i};return o})({defaultDocumentNode:t,source:a}),[t,a]),c=(0,R.useMemo)(()=>n?n(u,{...s,documentStore:l}):u.defaults(),[u,n,s,l]);return(0,j.jsx)(t0.Provider,{value:(0,R.useMemo)(()=>({features:{backButton:i,reviewChanges:!i,splitPanes:!i,splitViews:!i},layoutCollapsed:i,setLayoutCollapsed:o,rootPaneNode:c,structureContext:u.context}),[i,c,u.context]),children:r})}},60506:function(e,t,n){"use strict";n.d(t,{P0:function(){return r.P0}});var r=n(88710);n(85893),n(67294),n(32932),n(933),n(57557),n(66996),n(81763),n(47037),n(28440)},933:function(e,t,n){"use strict";n.d(t,{BC:function(){return z},NZ:function(){return R},PM:function(){return E},Px:function(){return P},nR:function(){return k},pG:function(){return S},rJ:function(){return M},tv:function(){return x},z:function(){return q}});var r,i=n(85893),o=n(67294),a=n(90634),s=n.n(a),l=n(85564),u=n.n(l),c=n(91966),d=n.n(c),f=n(25325),h=n.n(f),p=n(68630),g=n.n(p),m=n(78718),v=n.n(m),y=n(6557),w=n.n(y);let b=o.createContext(null);function x(){let e=(0,o.useContext)(b);if(!e)throw Error("Router: missing context value");return e}function C(e){let{onClick:t,href:n,target:r,replace:i=!1}=e,{navigateUrl:a}=x(),s=(0,o.useCallback)(e=>{!e.isDefaultPrevented()&&n&&(t&&t(e),!e.metaKey&&!e.altKey&&!e.ctrlKey&&!e.shiftKey&&0===e.button&&!r&&(e.preventDefault(),a({path:n,replace:i})))},[n,a,t,i,r]);return{onClick:s}}function E(e){let{intent:t,onClick:n,params:r,replace:i,target:o}=e,{resolveIntentLink:a}=x(),s=a(t,r),{onClick:l}=C({href:s,onClick:n,replace:i,target:o});return{onClick:l,href:s}}let k=(0,o.forwardRef)(function(e,t){let{intent:n,params:r,target:o,...a}=e,{onClick:s,href:l}=E({intent:n,params:r,target:o,onClick:e.onClick});return(0,i.jsx)("a",{...a,href:l,onClick:s,ref:t,target:o})});(0,o.forwardRef)(function(e,t){let{onClick:n,href:r,target:o,replace:a,...s}=e,{onClick:l}=C({onClick:n,href:r,target:o,replace:a});return(0,i.jsx)("a",{...s,onClick:l,href:r,target:o,ref:t})});let _=Object.prototype.hasOwnProperty,A=_.call.bind(_);function R(e){let{children:t,scope:n}=e,r=x(),{resolvePathFromState:a,navigate:s}=r,l=(0,o.useCallback)(e=>{var t;let i=!function(e){for(let t in e)if(A(e,t))return!1;return!0}(e)?(t=r.state,e&&{...t,[n]:e}):{};return a(i)},[a,r.state,n]),u=(0,o.useCallback)((e,t)=>{var i;let o=(i=r.state,e&&{...i,[n]:e});s(o,t)},[s,r.state,n]),c=(0,o.useMemo)(()=>({...r,navigate:u,resolvePathFromState:l,state:r.state[n]}),[u,r,l,n]);return(0,i.jsx)(b.Provider,{value:c,children:t})}function S(e){let{onNavigate:t,router:n,state:r}=e,a=(0,o.useCallback)(e=>{t(e)},[t]),s=(0,o.useCallback)((e,t)=>{let[r,i]=Array.isArray(t)?t:[t];return n.encode({intent:e,params:r,payload:i})},[n]),l=(0,o.useCallback)(e=>n.encode(e),[n]),u=(0,o.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a({path:l(e),replace:t.replace})},[a,l]),c=(0,o.useCallback)(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};a({path:s(e,t),replace:n.replace})},[a,s]),d=(0,o.useMemo)(()=>({navigate:u,navigateIntent:c,navigateUrl:a,resolveIntentLink:s,resolvePathFromState:l,state:r}),[u,c,a,s,l,r]);return(0,i.jsx)(b.Provider,{value:d,children:e.children})}let j={};function M(e){let{onClick:t,replace:n,state:r,target:i,toIndex:a=!1}=e;if(r&&a)throw Error("Passing both `state` and `toIndex={true}
12` as props to StateLink is invalid");r||a||console.error(Error("No state passed to StateLink. If you want to link to an empty state, its better to use the the `toIndex` property"));let{resolvePathFromState:s}=x(),l=(0,o.useMemo)(()=>s(a?j:r||j),[s,r,a]),{onClick:u}=C({href:l,onClick:t,replace:n,target:i});return{onClick:u,href:l}}let P=(0,o.forwardRef)(function(e,t){let{onClick:n,replace:r,state:o,target:a,toIndex:s=!1,...l}=e,{onClick:u,href:c}=M({onClick:n,replace:r,state:o,target:a,toIndex:s});return(0,i.jsx)("a",{...l,href:c,onClick:u,ref:t})}),L=/^[a-zA-Z0-9_-]+$/;function I(e){if(!e)return null;if(e.startsWith(":")){let t=e.substring(1);if(!L.test(t)){let n=e.includes("*")?" Splats are not supported. Consider using child routes instead":"";console.error(Error('Warning: Param segments "'.concat(e,'" includes invalid characters.').concat(n)))}return{type:"param",name:t}}return{type:"dir",name:e}}let O=s()("state-router");function D(e){return Array.isArray(e)?e:e?[e]:[]}function T(e,t,n){return{nodes:e,missing:t,remaining:n}}function N(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=decodeURIComponent(e);if(!t)return{};try{return JSON.parse(atob(t))}catch(n){}try{return JSON.parse(t)}catch(r){console.warn("Failed to parse JSON parameters")}return{}}function F(e){return e?btoa(JSON.stringify(e)):""}function H(e){return e.split(";").reduce((e,t)=>{let[n,r]=t.split("=");return e[decodeURIComponent(n)]=decodeURIComponent(r),e},{})}function V(e){return Object.entries(e).filter(e=>{let[,t]=e;return null!=t}).map(e=>{let[t,n]=e;return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n))}).join(";")}let z={create:function(e,t,n){return G(U(e,t,n))},scope:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let i=U(...n);return G({...i,scope:e})},intents:function(e){let t=(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((e,t)=>e.concat(t.split("/")),[]).filter(Boolean)})(e).join("/");return z.create("".concat(t,"/:intent"),[z.create(":params",{transform:{params:{toState:H,toPath:V}}},[z.create(":payload",{transform:{payload:{toState:N,toPath:F}}})])])}};function B(e){return Array.isArray(e)||"function"==typeof e?e:e?[e]:[]}function U(e,t,n){return"object"==typeof e?e:Array.isArray(t)||"function"==typeof t||t&&"_isRoute"in t?{path:e,children:B(t)}:n?{path:e,...t,children:B(n)}:{path:e,...t}}let Z={};function W(e){return e.split("/").every(e=>!e)}function G(e){let{path:t,scope:n,transform:r,children:i}=e;if(!t)throw TypeError("Missing path");let o=function(e){let[t]=e.split("?"),n=t.split("/").map(I).filter(Boolean);return{raw:e,segments:n}}(t);return{_isRoute:!0,scope:n,route:o,children:i||[],transform:r,encode(e){return function(e,t){O("Resolving path from state %o",t);let n=function e(t,n){if(!n)return T([],[],[]);let r=t.scope?n[t.scope]:n,i=t.route.segments.filter(e=>"param"===e.type).map(e=>e.name),o=g()(r)?Object.keys(r):[],a=h()(o,i),s=d()(i,a),l=d()(o,a);if(s.length>0)return T([],s,[]);if(0===l.length)return T([t],[],[]);let u=D(("function"==typeof t.children?t.children(g()(r)?r:{}):t.children)||[]);if(l.length>0&&0===u.length)return T([],l,[]);
12let c=v()(r,l),f={nodes:[],remaining:[],missing:[]};return(D(u).some(t=>(f=e(t,c)).nodes.length>0),0===f.nodes.length)?T([],s,l):T([t,...f.nodes],f.missing,f.remaining)}(e,t);if(n.remaining.length>0){let r=n.remaining;throw Error("Unable to find matching route for state. Could not map the following state key".concat(1==r.length?"":"s"," to a valid url: ").concat(r.join(", ")))}if(0===n.nodes.length)throw Error("Unable to resolve path from given state: ".concat(JSON.stringify(t)));let i=t,o=u()(n.nodes.map(e=>(e.scope&&e.scope in i&&(i=i[e.scope]),e.route.segments.map(t=>{if("dir"===t.type)return t.name;let n=e.transform&&e.transform[t.name];return n?n.toPath(i[t.name]):i[t.name]})))).join("/");return O("Resolved to /%s",o),"/".concat(o)}(this,e)},decode(e){return function(e,t){O("resolving state from path %s",t);let n=function e(t,n){let r=n.split("/").filter(Boolean),i=t.route.segments.length;if(r.length<i)return null;let o={},a=t.route.segments.every((e,n)=>{if("dir"===e.type)return e.name===r[n];let i=t.transform&&t.transform[e.name];return o[e.name]=i?i.toState(r[n]):r[n],!0});if(!a)return null;let s=r.slice(i),l=null,u="function"==typeof t.children?D(t.children(o)):t.children;if(u.some(t=>{if(t)return l=e(t,s.join("/"))}),s.length>0&&!l)return null;let c={...o,...l||{}};return t.scope?{[t.scope]:c}:c}(e,t.split("?")[0]);return O("resolved: %o",n||null),n||null}(this,e)},isRoot:W,isNotFound(e){return null===this.decode(e)},getBasePath(){return this.encode(Z)},getRedirectBase(e){if(W(e)){let t=this.getBasePath();if(e!==t)return t}return null}}}function q(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w(),{state:t}=x(),[n,r]=(0,o.useState)(()=>e(t));return(0,o.useEffect)(()=>r(e(t)),[e,t]),n}(r=e=>e.children(e.router)).displayName||r.name},90634:function(e,t,n){"use strict";var r=n(34155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return("undefined"==typeof console?"undefined":i(console))==="object"&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#F
12F6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(5529)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},5529:function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];var o=a,s=Number(new Date),l=s-(n||s);o.diff=l,o.prev=n,o.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;u++;var i=r.formatters[n];if("function"==typeof i){var a=t[u];e=i.call(o,a),t.splice(u,1),u--}return e}),r.formatArgs.call(o,t),(o.log||r.log).apply(o,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=i,a.extend=o,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function i(){var e=r.instances.indexOf(this);return -1!==e&&(r.instances.splice(e,1),!0)}function o(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){r.enable("")},r.enable=function(e){r.save(e),r.names=[],r.skips=[];var t,n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(RegExp("^"+e.substr(1)+"$")):r.names.push(RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var o=r.instances[t];o.enabled=r.enabled(o.namespace)}},r.enabled=function(e){var t,n;if("*"===e[e.length-1])return!0;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(57824),Object.keys(e).forEach(function(t){r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},93735:function(e,t,n){"use strict";n.d(t,{Q:function(){return ah},k:function(){return ak}});class r{constructor(e,t,n){this.visitor=e,this.string=t,this.marks=n,this.index=0}hasMark(e){return void 0===e&&(e=0),this.index+e<this.marks.length}getMark(e){return void 0===e&&(e=0),this.marks[this.index+e]}shift(){this.index+=1}process(){var e=this.marks[this.index];this.shift();var t=this.visitor[e.name];if(!t)throw Error("Unknown handler: "+e.name);return t.call(this.visitor,this,e)}processString(){return this.shift(),this.processStringEnd()}processStringEnd(){var e=this.marks[this.index-1],t=this.marks[this.index];return this.shift(),this.string.slice(e.position,t.position)}}function i(e){var t;if("undefined"!=typeof Symbol&&(Symbol.asyncIterator&&null!=(t=e[Symbol.asyncIterator])||Symbol.iterator&&null!=(t=e[Symbol.iterator])))return t.call(e);throw TypeError("Object is not async iterable")}function o(e){this.wrapped=e}function a(e){var t,n;function r(t,n){try{var a=e[t](n),s=a.value,l=s instanceof o;Promise.resolve(l?s.wrapped:s).then(function(e){if(l){r("return"===t?"return":"next",e);return}i(a.done?"return":"normal",e)},function(e){r("throw",e)})}catch(u){i("throw",u)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(o,a){var s={key:e,arg:i,resolve:o,reject:a,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},"function"!=typeof e.return&&(this.return=void 0)}function s(e){return function(){return new a(e.apply(this,arguments))}}function l(e){return new o(e)}function u(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){n(u);return}s.done?t(l):Promise.resolve(l).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)})}}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e){return null==e?"null":Array.isArray(e)?"array":e instanceof z?"range":e instanceof B?"pair":e instanceof U?"path":typeof e}"function"==typeof Symbol&&Symbol.asyncIterator&&(a.prototype[Symbol.asyncIterator]=function(){return this}),a.prototype.next=function(e){return this._invoke("next",e)},a.prototype.throw=function(e){return this._invoke("throw",e)},a.prototype.return=function(e){return this._invoke("return",e)};class g{constructor(e){this.data=e}getType(){return p(this.data)}get(){var e=this;return c(function*(){return e.data})()}[Symbol.asyncIterator](){if(Array.isArray(this.data))return function*(e){for(var t,n=h(e);!(t=n()).done;)yield new g(t.value)}(this.data);throw Error("Cannot iterate over: "+this.getType())}getBoolean(){return"boolean"==typeof this.data&&!0===this.data}}var m,v,y,w,b,x,C,E,k,_,A,R,S,j,M,P,L,I,O,D,T=new g(null),N=new g(!0),F=new g(!1);class H{constructor(e){this.generator=e,this.ticker=null,this.isDone=!1,this.data=[]}getType(){return"array"}get(){var e=this;return c(function*(){var t=[],n=!0,r=!1;try{for(var o,a,s,l=i(e);n=(a=yield l.next()).done,s=yield a.value,!n;n=!0)t.push((yield s.get()))}catch(u){r=!0,o=u}finally{try{n||null==l.return||(yield l.return())}finally{if(r)throw o}}return t})()}[Symbol.asyncIterator](){var e=this;return s(function*(){for(var t=0;;){for(;t<e.data.length;t++)yield e.data[t];if(e.isDone)return;yield l(e._nextTick())}})()}getBoolean(){return!1}_nextTick(){var e,t,n=this;if(this.ticker)return this.ticker;var r=()=>{this.ticker=new Promise(e=>{t=e})},o=()=>{t(),r()},a=(e=c(function*(){var e=!0,t=!1;try{for(var r,a,s,l=i(n.generator());e=(a=yield l.next()).done,s=yield a.value,!e;e=!0)n.data.push(s),o()}catch(u){t=!0,r=u}finally{try{e||null==l.return||(yield l.return())}finally{if(t)throw r}}n.isDone=!0,o()}),function(){return e.apply(this,arguments)});return r(),a(),this.ticker}}class V{constructor(e){this.value=e}getType(){return"array"}get(){var e=this;return c(function*(){return yield e.value.get()})()}[Symbol.asyncIterator](){return this.value[Symbol.asyncIterator].call(this.value)}getBoolean(){return!1}}class z{constructor(e,t,n){this.left=e,this.right=t,this.exclusive=n}static isConstructible(e,t){return e===t&&("number"===e||"string"===e||"boolean"===e)}isExclusive(){return this.exclusive}toJSON(){return[this.left,this.right]}}class B{constructor(e,t){this.first=e,this.second=t}toJSON(){return[this.first,this.second]}}class U{constructor(e){this.pattern=e,this.patternRe=function(e){for(var t,n=[],r=h(e.split("."));!(t=r()).done;){var i=t.value;"*"===i?n.push("[^.]+"):"**"===i?n.push(".*"):n.push(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))}return RegExp("^"+n.join(".")+"$")}(e)}matches(e){return this.patternRe.test(e)}toJSON(){return this.pattern}}function Z(e){return Number.isFinite(e)?new g(e):T}function W(e){return e&&"function"==typeof e.next?new H(s(function*(){var t=!0,n=!1;try{for(var r,o,a,s=i(e);t=(o=yield l(s.next())).done,a=yield l(o.value),!t;t=!0)yield new g(a)}catch(u){n=!0,r=u}finally{try{t||null==s.return||(yield l(s.return()))}finally{if(n)throw r}}})):null==e?T:new g(e)}var G={number:1,string:2,boolean:3};function q(e,t){var n=p(e);if(n!==p(t))return null;switch(n){case"number":case"boolean":return e-t;case"string":return e<t?-1:e>t?1:0}return null}var $={};
12$.coalesce=(m=c(function*(e,t,n){for(var r,i=h(e);!(r=i()).done;){var o=yield n(r.value,t);if("null"!==o.getType())return o}return T}),function(e,t,n){return m.apply(this,arguments)}),$.count=(v=c(function*(e,t,n){var r=yield n(e[0],t);if("array"!==r.getType())return T;var o=0,a=!0,s=!1;try{for(var l,u,c=i(r);a=(u=yield c.next()).done,yield u.value,!a;a=!0)o++}catch(d){s=!0,l=d}finally{try{a||null==c.return||(yield c.return())}finally{if(s)throw l}}return new g(o)}),function(e,t,n){return v.apply(this,arguments)}),$.count.arity=1,$.defined=(y=c(function*(e,t,n){return"null"===(yield n(e[0],t)).getType()?F:N}),function(e,t,n){return y.apply(this,arguments)}),$.defined.arity=1,$.identity=(w=c(function*(e){return new g("me")}),function(e){return w.apply(this,arguments)}),$.identity.arity=0,$.length=(b=c(function*(e,t,n){var r=yield n(e[0],t);return"string"===r.getType()?Z(function(e){for(var t=0,n=0;n<e.length;n++){var r=e.charCodeAt(n);(!(r>=55296)||!(r<=56319))&&t++}return t}((yield r.get()))):T}),function(e,t,n){return b.apply(this,arguments)}),$.length.arity=1,$.path=(x=c(function*(e,t,n){var r=yield n(e[0],t);if("string"!==r.getType())return T;var i=yield r.get();return new g(new U(i))}),function(e,t,n){return x.apply(this,arguments)}),$.path.arity=1,$.select=(C=c(function*(e,t,n){for(var r,i=!1,o=h(e);!(r=o()).done;){var a=r.value;if(i)return T;"Pair"===a.type||(i=!0)}for(var s,l=h(e);!(s=l()).done;){var u=s.value;if("Pair"!==u.type)return yield n(u,t);if((yield n(u.left,t)).getBoolean())return yield n(u.right,t)}return T}),function(e,t,n){return C.apply(this,arguments)}),$.references=(E=c(function*(e,t,n){var r=yield n(e[0],t);if("string"!==r.getType())return F;var i=yield r.get();return!function e(t,n){switch(p(t)){case"array":for(var r,i=h(t);!(r=i()).done;)if(e(r.value,n))return!0;break;case"object":if(t._ref===n)return!0;for(var o=0,a=Object.values(t);o<a.length;o++)if(e(a[o],n))return!0}return!1}(t.value,i)?F:N}),function(e,t,n){return E.apply(this,arguments)}),$.references.arity=1,$.round=(k=c(function*(e,t,n){var r=yield n(e[0],t);if("number"!==r.getType())return T;var i=yield r.get(),o=0;if(2===e.length){var a=yield n(e[1],t);if("number"!==a.getType())return T;o=yield a.get()}return 0===o?Z(Math.round(i)):Z(Number(i.toFixed(o)))}),function(e,t,n){return k.apply(this,arguments)}),$.round.arity=e=>e>=1&&e<=2,$.now=(_=c(function*(e,t){return new g(t.timestamp)}),function(e,t){return _.apply(this,arguments)}),$.now.arity=0;var X={};function Y(){}function K(e,t){this.token=e,this.position=t,this.nextFrames=[],this.acceptedContexts=[],this.callers={}}function J(){this.returns=[]}function Q(e,t){this.caller=e,this.marks=t}function ee(e){this.context=e,this.nextStates=[]}function et(e,t,n){for(var r=new K(e,t),i=0;i<n.length;i++)!function(e,t){var n=t.copy();t.eachNextState(function(t){t.p(e,n)}),en(e,n)}(r,n[i]);return r}function en(e,t){t.hasNextStates()&&e.addNextFrame(t)}X.order=(A=c(function*(e,t,n,r){if(yield!0,"array"!==e.getType())return T;for(var o,a=[],s=[],l=0,u=h(t);!(o=u()).done;){var c=o.value,d="asc";"Desc"===c.type?(d="desc",c=c.base):"Asc"===c.type&&(c=c.base),a.push(c),s.push(d),l++}var f=[],m=!0,v=!1;try{for(var y,w,b,x=i(e);m=(w=yield x.next()).done,b=yield w.value,!m;m=!0){for(var C=n.createNested(b),E=[(yield b.get())],k=0;k<l;k++){var _=yield r(a[k],C);E.push((yield _.get()))}f.push(E)}}catch(A){v=!0,y=A}finally{try{m||null==x.return||(yield x.return())}finally{if(v)throw y}}return f.sort((e,t)=>{for(var n=0;n<l;n++){var r=function(e,t){var n=p(e),r=p(t),i=G[n]||100,o=G[r]||100;if(i!==o)return i-o;var a=q(e,t);return null===a&&(a=0),a}(e[n+1],t[n+1]);if("desc"===s[n]&&(r=-r),0!==r)return r}return 0}),new g(f.map(e=>e[0]))}),function(e,t,n,r){return A.apply(this,arguments)}),X.order.arity=e=>e>=1,K.prototype.hasNextFrames=function(){return this.nextFrames.length>0},K.prototype.addNextFrame=function(e){this.nextFrames.push(e)},K.prototype.wasAccepted=function(){return this.acceptedContexts.length>0},K.prototype.addAccept=function(e){this.acceptedContexts.push(e)},K.prototype.addMark=function(e,t,n){var r={type:"mark",name:e,position:this.position},i=t.marks?{type:"concat",left:t.marks,right:r}:r,o=new Q(t.caller,i),a=new ee(o);n.p(this,a),en(this,a)},K.prototype.startCall=function(e){var t=this.callers[e];if(!t){t=new J,this.callers[e]=t;for(var n=new Q(t,null),r=new ee(n),i=ar[e],o=0;o<i.length;o++)i[o].p(this,r);en(this,r)}return t},K.prototype.returnCall=function(e,t){for(var n=t.context.caller.returns,r=0;r<n.length;r++){var i=n[r],o=i[0],a=i[1],s=o.marks,l=t.context.marks,u=s&&l?{type:"concat",left:o.marks,right:t.context.marks}:s||l,c=new Q(o.caller,u),d=new ee(c);a.p(this,d),en(this,d)}},J.prototype.addReturn=function(e,t){this.returns.push([e,t])},ee.prototype.addNextState=function(e){this.nextStates.push(e)}
12,ee.prototype.eachNextState=function(e){this.nextStates.forEach(e)},ee.prototype.hasNextStates=function(){return this.nextStates.length>0},ee.prototype.copy=function(){return new ee(this.context,this.marks)};var er=new Y,ei=new Y,eo=new Y,ea=new Y,es=new Y,el=new Y,eu=new Y,ec=new Y,ed=new Y,ef=new Y,eh=new Y,ep=new Y,eg=new Y,em=new Y,ev=new Y,ey=new Y,ew=new Y,eb=new Y,ex=new Y,eC=new Y,eE=new Y,ek=new Y,e_=new Y,eA=new Y,eR=new Y,eS=new Y,ej=new Y,eM=new Y,eP=new Y,eL=new Y,eI=new Y,eO=new Y,eD=new Y,eT=new Y,eN=new Y,eF=new Y,eH=new Y,eV=new Y,ez=new Y,eB=new Y,eU=new Y,eZ=new Y,eW=new Y,eG=new Y,eq=new Y,e$=new Y,eX=new Y,eY=new Y,eK=new Y,eJ=new Y,eQ=new Y,e1=new Y,e0=new Y,e5=new Y,e2=new Y,e8=new Y,e3=new Y,e4=new Y,e6=new Y,e7=new Y,e9=new Y,te=new Y,tt=new Y,tn=new Y,tr=new Y,ti=new Y,to=new Y,ta=new Y,ts=new Y,tl=new Y,tu=new Y,tc=new Y,td=new Y,tf=new Y,th=new Y,tp=new Y,tg=new Y,tm=new Y,tv=new Y,ty=new Y,tw=new Y,tb=new Y,tx=new Y,tC=new Y,tE=new Y,tk=new Y,t_=new Y,tA=new Y,tR=new Y,tS=new Y,tj=new Y,tM=new Y,tP=new Y,tL=new Y,tI=new Y,tO=new Y,tD=new Y,tT=new Y,tN=new Y,tF=new Y,tH=new Y,tV=new Y,tz=new Y,tB=new Y,tU=new Y,tZ=new Y,tW=new Y,tG=new Y,tq=new Y,t$=new Y,tX=new Y,tY=new Y,tK=new Y,tJ=new Y,tQ=new Y,t1=new Y,t0=new Y,t5=new Y,t2=new Y,t8=new Y,t3=new Y,t4=new Y,t6=new Y,t7=new Y,t9=new Y,ne=new Y,nt=new Y,nn=new Y,nr=new Y,ni=new Y,no=new Y,na=new Y,ns=new Y,nl=new Y,nu=new Y,nc=new Y,nd=new Y,nf=new Y,nh=new Y,np=new Y,ng=new Y,nm=new Y,nv=new Y,ny=new Y,nw=new Y,nb=new Y,nx=new Y,nC=new Y,nE=new Y,nk=new Y,n_=new Y,nA=new Y,nR=new Y,nS=new Y,nj=new Y,nM=new Y,nP=new Y,nL=new Y,nI=new Y,nO=new Y,nD=new Y,nT=new Y,nN=new Y,nF=new Y,nH=new Y,nV=new Y,nz=new Y,nB=new Y,nU=new Y,nZ=new Y,nW=new Y,nG=new Y,nq=new Y,n$=new Y,nX=new Y,nY=new Y,nK=new Y,nJ=new Y,nQ=new Y,n1=new Y,n0=new Y,n5=new Y,n2=new Y,n8=new Y,n3=new Y,n4=new Y,n6=new Y,n7=new Y,n9=new Y,re=new Y,rt=new Y,rn=new Y,rr=new Y,ri=new Y,ro=new Y,ra=new Y,rs=new Y,rl=new Y,ru=new Y,rc=new Y,rd=new Y,rf=new Y,rh=new Y,rp=new Y,rg=new Y,rm=new Y,rv=new Y,ry=new Y,rw=new Y,rb=new Y,rx=new Y,rC=new Y,rE=new Y,rk=new Y,r_=new Y,rA=new Y,rR=new Y,rS=new Y,rj=new Y,rM=new Y,rP=new Y,rL=new Y,rI=new Y,rO=new Y,rD=new Y,rT=new Y,rN=new Y,rF=new Y,rH=new Y,rV=new Y,rz=new Y,rB=new Y,rU=new Y,rZ=new Y,rW=new Y,rG=new Y,rq=new Y,r$=new Y,rX=new Y,rY=new Y,rK=new Y,rJ=new Y,rQ=new Y,r1=new Y,r0=new Y,r5=new Y,r2=new Y,r8=new Y,r3=new Y,r4=new Y,r6=new Y,r7=new Y,r9=new Y,ie=new Y,it=new Y,ir=new Y,ii=new Y,io=new Y,ia=new Y,is=new Y,il=new Y,iu=new Y,ic=new Y,id=new Y,ih=new Y,ip=new Y,ig=new Y,im=new Y,iv=new Y,iy=new Y,iw=new Y,ib=new Y,ix=new Y,iC=new Y,iE=new Y,ik=new Y,i_=new Y,iA=new Y,iR=new Y,iS=new Y,ij=new Y,iM=new Y,iP=new Y,iL=new Y,iI=new Y,iO=new Y,iD=new Y,iT=new Y,iN=new Y,iF=new Y,iH=new Y,iV=new Y,iz=new Y,iB=new Y,iU=new Y,iZ=new Y,iW=new Y,iG=new Y,iq=new Y,i$=new Y,iX=new Y,iY=new Y,iK=new Y,iJ=new Y,iQ=new Y,i1=new Y,i0=new Y,i5=new Y,i2=new Y,i8=new Y,i3=new Y,i4=new Y,i6=new Y,i7=new Y,i9=new Y,oe=new Y,ot=new Y,on=new Y,or=new Y,oi=new Y,oo=new Y,oa=new Y,os=new Y,ol=new Y,ou=new Y,oc=new Y,od=new Y,of=new Y,oh=new Y,op=new Y,og=new Y,om=new Y,ov=new Y,oy=new Y,ow=new Y,ob=new Y,ox=new Y,oC=new Y,oE=new Y,ok=new Y,o_=new Y,oA=new Y,oR=new Y,oS=new Y,oj=new Y,oM=new Y,oP=new Y,oL=new Y,oI=new Y,oO=new Y,oD=new Y,oT=new Y,oN=new Y,oF=new Y,oH=new Y,oV=new Y,oz=new Y,oB=new Y,oU=new Y,oZ=new Y,oW=new Y,oG=new Y,oq=new Y,o$=new Y,oX=new Y,oY=new Y,oK=new Y,oJ=new Y,oQ=new Y,o1=new Y,o0=new Y,o5=new Y,o2=new Y,o8=new Y,o3=new Y,o4=new Y,o6=new Y,o7=new Y,o9=new Y;er.p=function(e,t){e.startCall("main").addReturn(t.context,ei)},er.id=0,ei.p=function(e,t){e.addAccept(t.context)},ei.id=1,eo.p=function(e,t){e.startCall("IGN").addReturn(t.context,ea),e.startCall("EXPR^1").addReturn(t.context,es)},eo.id=2,ea.p=function(e,t){e.startCall("IGN").addReturn(t.context,ea),e.startCall("EXPR^1").addReturn(t.context,es)},ea.id=3,es.p=function(e,t){e.startCall("IGN").addReturn(t.context,el),e.returnCall("main",t)},es.id=4,el.p=function(e,t){e.startCall("IGN").addReturn(t.context,el),e.returnCall("main",t)},el.id=5,eu.p=function(e,t){var n=e.token;9===n&&t.addNextState(ec),10===n&&t.addNextState(ed),11===n&&t.addNextState(ef),12===n&&t.addNextState(eh),13===n&&t.addNextState(ep),32===n&&t.addNextState(eg),133===n&&t.addNextState(em),160===n&&t.addNextState(ev)},eu.id=6,ec.p=function(e,t){e.returnCall("SPACE",t)},ec.id=7,ed.p=function(e,t){e.returnCall("SPACE",t)},ed.id=8,ef.p=function(e,t){e.returnCall("SPACE",t)},ef.id=9,eh.p=function(e,t){e.returnCall("SPACE",t)},eh.id=10,ep.p=function(e,t){e.returnCall("SPACE",t)},ep.id=11,eg.p=function(e,t){e.returnCall("SPACE",t)},eg.id=12,em.p=function(e,t){e.returnCall("SPACE",t)},em.id=13,ev.p=function(e,t){e.returnCall("SPACE",t)},ev.id=14,ey.p=function(e,t){47===e.token&&t.addNextState(ew)},ey.id=15,ew.p=function(e,t){47===e.token&&t.addNextState(eb)},ew.id=16,eb.p=function(e,t){var n=e.token;n<=9&&t.addNextState(ex),n>=11&&t.addNextState(eC)},eb.id=17,ex.p=function(e,t){var n=e.token;n<=9&&t.addNextState(ex),n>=11&&t.addNextState(eC),e.startCall("COMMENT_END").addReturn(t.context,eE)},ex.id=18,eC.p=function(e,t){var n=e.token;n<=9&&t.addNextState(ex),n>=11&&t.addNextState(eC),e.startCall("COMMENT_END").addReturn(t.context,eE)},eC.id=19,eE.p=function(e,t){e.returnCall("COMMENT",t)},eE.id=20,ek.p=function(e,t){10===e.token&&t.addNextState(e_)},ek.id=21,e_.p=function(e,t){e.returnCall("COMMENT_END",t)},e_.id=22,eA.p=function(e,t){e.startCall("SPACE").addReturn(t.context,eR),e.startCall("COMMENT").addReturn(t.context,eS)},eA.id=23,eR.p=function(e,t){e.returnCall("IGN",t)},eR.id=24,eS.p=function(e,t){e.returnCall("IGN",t)},eS.id=25,ej.p=function(e,t){124===e.token&&t.addNextState(eM)},ej.id=26,eM.p=function(e,t){e.startCall("IGN").addReturn(t.context,eP),e.returnCall("PIPE",t)},eM.id=27,eP.p=function(e,t){e.startCall("IGN").addReturn(t.context,eP),e.returnCall("PIPE",t)},eP.id=28,eL.p=function(e,t){e.addMark("parent",t.context,eI),e.addMark("dblparent",t.context,eO)},eL.id=29,eI.p=function(e,t){94===e.token&&t.addNextState(eD)},eI.id=30,eO.p=function(e,t){e.startCall("PARENT").addReturn(t.context,eT)},eO.id=31,eD.p=function(e,t){e.returnCall("PARENT",t)},eD.id=32,eT.p=function(e,t){46===e.token&&t.addNextState(eN)},eT.id=33,eN.p=function(e,t){94===e.token&&t.addNextState(eF)},eN.id=34,eF.p=function(e,t){e.returnCall("PARENT",t)},eF.id=35,eH.p=function(e,t){var n=e.token;n>=97&&n<=122&&t.addNextState(eV),n>=65&&n<=90&&t.addNextState(ez),95===n&&t.addNextState(eB)},eH.id=36,eV.p=function(e,t){e.returnCall("IDENT_FST",t)},eV.id=37,ez.p=function(e,t){e.returnCall("IDENT_FST",t)},ez.id=38,eB.p=function(e,t){e.returnCall("IDENT_FST",t)},eB.id=39,eU.p=function(e,t){var n=e.token;e.startCall("IDENT_FST").addReturn(t.context,eZ),n>=48&&n<=57&&t.addNextState(eW)},eU.id=40,eZ.p=function(e,t){e.returnCall("IDENT_REST",t)},eZ.id=41,eW.p=function(e,t){e.returnCall("IDENT_REST",t)},eW.id=42,eG.p=function(e,t){e.startCall("IDENT_FST").addReturn(t.context,eq)},eG.id=43,eq.p=function(e,t){var n=e.token;e.startCall("IDENT_REST").addReturn(t.context,e$),(n<=96||n>=123)&&(n<=64||n>=91)&&(n<=47||n>=58)&&e.returnCall("IDENT",t)},eq.id=44,e$.p=function(e,t){var n=e.token;e.startCall("IDENT_REST").addReturn(t.context,e$),(n<=96||n>=123)&&(n<=64||n>=91)&&(n<=47||n>=58)&&e.returnCall("IDENT",t)},e$.id=45,eX.p=function(e,t){42===e.token&&t.addNextState(eY)},eX.id=46,eY.p=function(e,t){var n=e.token;(n<=41||n>=43)&&e.returnCall("STAR",t)},eY.id=47,eK.p=function(e,t){var n=e.token;61===n&&t.addNextState(eJ),33===n&&t.addNextState(eQ),62===n&&t.addNextState(e1),62===n&&t.addNextState(e0),60===n&&t.addNextState(e5),60===n&&t.addNextState(e2),105===n&&t.addNextState(e8),109===n&&t.addNextState(e3)},eK.id=48,eJ.p=function(e,t){61===e.token&&t.addNextState(e4)},eJ.id=49,eQ.p=function(e,t){61===e.token&&t.addNextState(e6)},eQ.id=50,e1.p=function(e,t){61===e.token&&t.addNextState(e7)},e1.id=51,e0.p=function(e,t){e.returnCall("COMP_OP",t)},e0.id=52,e5.p=function(e,t){61===e.token&&t.addNextState(e9)},e5.id=53,e2.p=function(e,t){e.returnCall("COMP_OP",t)},e2.id=54,e8.p=function(e,t){110===e.token&&t.addNextState(te)},e8.id=55,e3.p=function(e,t){97===e.token&&t.addNextState(tt)},e3.id=56,e4.p=function(e,t){e.returnCall("COMP_OP",t)},e4.id=57,e6.p=function(e,t){e.returnCall("COMP_OP",t)},e6.id=58,e7.p=function(e,t){e.returnCall("COMP_OP",t)},e7.id=59,e9.p=function(e,t){e.returnCall("COMP_OP",t)},e9.id=60,te.p=function(e,t){e.returnCall("COMP_OP",t)},te.id=61,tt.p=function(e,t){116===e.token&&t.addNextState(tn)},tt.id=62,tn.p=function(e,t){99===e.token&&t.addNextState(tr)},tn.id=63,tr.p=function(e,t){104===e.token&&t.addNextState(ti)},tr.id=64,ti.p=function(e,t){e.returnCall("COMP_OP",t)},ti.id=65,to.p=function(e,t){e.addMark("func_call",t.context,ta)},to.id=66,ta.p=function(e,t){e.startCall("IDENT").addReturn(t.context,ts)},ta.id=67,ts.p=function(e,t){e.addMark("func_name_end",t.context,tl)},ts.id=68,tl.p=function(e,t){40===e.token&&t.addNextState(tu)},tl.id=69,tu.p=function(e,t){e.startCall("IGN").addReturn(t.context,tc),e.startCall("FUNC_ARGS").addReturn(t.context,td),e.addMark("func_args_end",t.context,tf)},tu.id=70,tc.p=function(e,t){e.startCall("IGN").addReturn(t.context,tc),e.startCall("FUNC_ARGS").addReturn(t.context,td),e.addMark("func_args_end",t.context,tf)},tc.id=71,td.p=function(e,t){e.addMark("func_args_end",t.context,tf)},td.id=72,tf.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,th),41===n&&t.addNextState(tp)},tf.id=73,th.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,th),41===n&&t.addNextState(tp)},th.id=74,tp.p=function(e,t){e.returnCall("FUNC_CALL",t)},tp.id=75,tg.p=function(e,t){e.startCall("EXPR^1").addReturn(t.context,tm)},tg.id=76,tm.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,tv),44===n&&t.addNextState(tw),e.returnCall("FUNC_ARGS",t)}
12,tm.id=77,tv.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,tv),44===n&&t.addNextState(tw),e.returnCall("FUNC_ARGS",t)},tv.id=78,ty.p=function(e,t){e.startCall("IGN").addReturn(t.context,ty),e.startCall("EXPR^1").addReturn(t.context,tb)},ty.id=79,tw.p=function(e,t){e.startCall("IGN").addReturn(t.context,ty),e.startCall("EXPR^1").addReturn(t.context,tb)},tw.id=80,tb.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,tx),44===n&&t.addNextState(tw),e.returnCall("FUNC_ARGS",t)},tb.id=81,tx.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,tx),44===n&&t.addNextState(tw),e.returnCall("FUNC_ARGS",t)},tx.id=82,tC.p=function(e,t){e.addMark("sci",t.context,tE),e.addMark("float",t.context,tk),e.addMark("integer",t.context,t_)},tC.id=83,tE.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tA)},tE.id=84,tk.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tO)},tk.id=85,t_.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tF)},t_.id=86,tA.p=function(e,t){var n=e.token;e.startCall("DIGIT").addReturn(t.context,tA),46===n&&t.addNextState(tS),101===n&&t.addNextState(tj),69===n&&t.addNextState(tM)},tA.id=87,tR.p=function(e,t){var n=e.token;e.startCall("DIGIT").addReturn(t.context,tR),101===n&&t.addNextState(tj),69===n&&t.addNextState(tM)},tR.id=88,tS.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tR)},tS.id=89,tj.p=function(e,t){e.startCall("SIGN").addReturn(t.context,tP),e.startCall("DIGIT").addReturn(t.context,tL)},tj.id=90,tM.p=function(e,t){e.startCall("SIGN").addReturn(t.context,tP),e.startCall("DIGIT").addReturn(t.context,tL)},tM.id=91,tP.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tL)},tP.id=92,tL.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tL),e.addMark("sci_end",t.context,tI)},tL.id=93,tI.p=function(e,t){e.returnCall("NUMBER",t)},tI.id=94,tO.p=function(e,t){var n=e.token;e.startCall("DIGIT").addReturn(t.context,tO),46===n&&t.addNextState(tD)},tO.id=95,tD.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tT)},tD.id=96,tT.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tT),e.addMark("float_end",t.context,tN)},tT.id=97,tN.p=function(e,t){e.returnCall("NUMBER",t)},tN.id=98,tF.p=function(e,t){e.startCall("DIGIT").addReturn(t.context,tF),e.addMark("integer_end",t.context,tH)},tF.id=99,tH.p=function(e,t){e.returnCall("NUMBER",t)},tH.id=100,tV.p=function(e,t){var n=e.token;n>=48&&n<=57&&t.addNextState(tz)},tV.id=101,tz.p=function(e,t){e.returnCall("DIGIT",t)},tz.id=102,tB.p=function(e,t){var n=e.token;43===n&&t.addNextState(tU),45===n&&t.addNextState(tZ)},tB.id=103,tU.p=function(e,t){e.returnCall("SIGN",t)},tU.id=104,tZ.p=function(e,t){e.returnCall("SIGN",t)},tZ.id=105,tW.p=function(e,t){var n=e.token;34===n&&t.addNextState(tG),39===n&&t.addNextState(tq)},tW.id=106,tG.p=function(e,t){e.addMark("str_begin",t.context,t$)},tG.id=107,tq.p=function(e,t){e.addMark("str_begin",t.context,tJ)},tq.id=108,t$.p=function(e,t){e.startCall("DSTRING_CHAR").addReturn(t.context,tX),e.addMark("str_end",t.context,tY)},t$.id=109,tX.p=function(e,t){e.startCall("DSTRING_CHAR").addReturn(t.context,tX),e.addMark("str_end",t.context,tY)},tX.id=110,tY.p=function(e,t){34===e.token&&t.addNextState(tK)},tY.id=111,tK.p=function(e,t){e.returnCall("STRING",t)},tK.id=112,tJ.p=function(e,t){e.startCall("SSTRING_CHAR").addReturn(t.context,tQ),e.addMark("str_end",t.context,t1)},tJ.id=113,tQ.p=function(e,t){e.startCall("SSTRING_CHAR").addReturn(t.context,tQ),e.addMark("str_end",t.context,t1)},tQ.id=114,t1.p=function(e,t){39===e.token&&t.addNextState(t0)},t1.id=115,t0.p=function(e,t){e.returnCall("STRING",t)},t0.id=116,t5.p=function(e,t){var n=e.token;92===n&&t.addNextState(t2),(n<=33||n>=35)&&(n<=91||n>=93)&&t.addNextState(t8)},t5.id=117,t2.p=function(e,t){t.addNextState(t3)},t2.id=118,t8.p=function(e,t){e.returnCall("DSTRING_CHAR",t)},t8.id=119,t3.p=function(e,t){e.returnCall("DSTRING_CHAR",t)},t3.id=120,t4.p=function(e,t){var n=e.token;92===n&&t.addNextState(t6),(n<=38||n>=40)&&(n<=91||n>=93)&&t.addNextState(t7)},t4.id=121,t6.p=function(e,t){t.addNextState(t9)}
12,t6.id=122,t7.p=function(e,t){e.returnCall("SSTRING_CHAR",t)},t7.id=123,t9.p=function(e,t){e.returnCall("SSTRING_CHAR",t)},t9.id=124,ne.p=function(e,t){e.addMark("array",t.context,nt)},ne.id=125,nt.p=function(e,t){91===e.token&&t.addNextState(nn)},nt.id=126,nn.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nr),e.startCall("ARRAY_ELEMENT").addReturn(t.context,no),93===n&&t.addNextState(nf)},nn.id=127,nr.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nr),e.startCall("ARRAY_ELEMENT").addReturn(t.context,no),93===n&&t.addNextState(nf)},nr.id=128,ni.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,ni),44===n&&t.addNextState(ns),44===n&&t.addNextState(nd),93===n&&t.addNextState(nf)},ni.id=129,no.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,ni),44===n&&t.addNextState(ns),44===n&&t.addNextState(nd),93===n&&t.addNextState(nf)},no.id=130,na.p=function(e,t){e.startCall("IGN").addReturn(t.context,na),e.startCall("ARRAY_ELEMENT").addReturn(t.context,nl)},na.id=131,ns.p=function(e,t){e.startCall("IGN").addReturn(t.context,na),e.startCall("ARRAY_ELEMENT").addReturn(t.context,nl)},ns.id=132,nl.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nu),44===n&&t.addNextState(ns),44===n&&t.addNextState(nd),93===n&&t.addNextState(nf)},nl.id=133,nu.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nu),44===n&&t.addNextState(ns),44===n&&t.addNextState(nd),93===n&&t.addNextState(nf)},nu.id=134,nc.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nc),93===n&&t.addNextState(nf)},nc.id=135,nd.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nc),93===n&&t.addNextState(nf)},nd.id=136,nf.p=function(e,t){e.addMark("array_end",t.context,nh)},nf.id=137,nh.p=function(e,t){e.returnCall("ARRAY",t)},nh.id=138,np.p=function(e,t){e.addMark("array_splat",t.context,ng),e.startCall("EXPR^1").addReturn(t.context,nm)},np.id=139,ng.p=function(e,t){46===e.token&&t.addNextState(nv)},ng.id=140,nm.p=function(e,t){e.returnCall("ARRAY_ELEMENT",t)},nm.id=141,nv.p=function(e,t){46===e.token&&t.addNextState(ny)},nv.id=142,ny.p=function(e,t){46===e.token&&t.addNextState(nw)},ny.id=143,nw.p=function(e,t){e.startCall("IGN").addReturn(t.context,nb),e.startCall("EXPR^1").addReturn(t.context,nm)},nw.id=144,nb.p=function(e,t){e.startCall("IGN").addReturn(t.context,nb),e.startCall("EXPR^1").addReturn(t.context,nm)},nb.id=145,nx.p=function(e,t){e.addMark("object",t.context,nC)},nx.id=146,nC.p=function(e,t){123===e.token&&t.addNextState(nE)},nC.id=147,nE.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nk),e.startCall("OBJECT_PAIR").addReturn(t.context,nA),125===n&&t.addNextState(nI)},nE.id=148,nk.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nk),e.startCall("OBJECT_PAIR").addReturn(t.context,nA),125===n&&t.addNextState(nI)},nk.id=149,n_.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,n_),44===n&&t.addNextState(nS),44===n&&t.addNextState(nL),125===n&&t.addNextState(nI)},n_.id=150,nA.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,n_),44===n&&t.addNextState(nS),44===n&&t.addNextState(nL),125===n&&t.addNextState(nI)},nA.id=151,nR.p=function(e,t){e.startCall("IGN").addReturn(t.context,nR),e.startCall("OBJECT_PAIR").addReturn(t.context,nj)},nR.id=152,nS.p=function(e,t){e.startCall("IGN").addReturn(t.context,nR),e.startCall("OBJECT_PAIR").addReturn(t.context,nj)},nS.id=153,nj.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nM),44===n&&t.addNextState(nS),44===n&&t.addNextState(nL),125===n&&t.addNextState(nI)},nj.id=154,nM.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nM),44===n&&t.addNextState(nS),44===n&&t.addNextState(nL),125===n&&t.addNextState(nI)},nM.id=155,nP.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nP),125===n&&t.addNextState(nI)},nP.id=156,nL.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nP),125===n&&t.addNextState(nI)},nL.id=157,nI.p=function(e,t){e.addMark("object_end",t.context,nO)},nI.id=158,nO.p=function(e,t){e.returnCall("OBJECT",t)},nO.id=159,nD.p=function(e,t){e.addMark("object_pair",t.context,nT),e.addMark("object_expr",t.context,nN),e.addMark("object_splat_this",t.context,nF),e.addMark("object_splat",t.context,nH)},nD.id=160,nT.p=function(e,t){e.startCall("STRING").addReturn(t.context,nV)},nT.id=161,nN.p=function(e,t){e.startCall("EXPR^1").addReturn(t.context,nW)},nN.id=162,nF.p=function(e,t){46===e.token&&t.addNextState(nG)},nF.id=163,nH.p=function(e,t){46===e.token&&t.addNextState(nX)},nH.id=164,nV.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nz),58===n&&t.addNextState(nB)},nV.id=165,nz.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,nz),58===n&&t.addNextState(nB)},nz.id=166,nB.p=function(e,t){e.startCall("IGN").addReturn(t.context,nU),e.startCall("EXPR^1").addReturn(t.context,nZ)},nB.id=167,nU.p=function(e,t){e.startCall("IGN").addReturn(t.context,nU),e.startCall("EXPR^1").addReturn(t.context,nZ)},nU.id=168,nZ.p=function(e,t){e.returnCall("OBJECT_PAIR",t)},nZ.id=169,nW.p=function(e,t){e.returnCall("OBJECT_PAIR",t)},nW.id=170,nG.p=function(e,t){46===e.token&&t.addNextState(nq)},nG.id=171,nq.p=function(e,t){46===e.token&&t.addNextState(n$)},nq.id=172,n$.p=function(e,t){e.returnCall("OBJECT_PAIR",t)},n$.id=173,nX.p=function(e,t){46===e.token&&t.addNextState(nY)},nX.id=174,nY.p=function(e,t){46===e.token&&t.addNextState(nK)},nY.id=175,nK.p=function(e,t){e.startCall("IGN").addReturn(t.context,nJ),e.startCall("EXPR^1").addReturn(t.context,nQ)},nK.id=176,nJ.p=function(e,t){e.startCall("IGN").addReturn(t.context,nJ),e.startCall("EXPR^1").addReturn(t.context,nQ)},nJ.id=177,nQ.p=function(e,t){e.returnCall("OBJECT_PAIR",t)},nQ.id=178,n1.p=function(e,t){e.addMark("pair",t.context,n0),e.startCall("EXPR^2").addReturn(t.context,n5)},n1.id=179,n0.p=function(e,t){e.startCall("EXPR^2").addReturn(t.context,n2)},n0.id=180,n5.p=function(e,t){e.returnCall("EXPR^1",t)},n5.id=181,n2.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,n8),61===n&&t.addNextState(n3)},n2.id=182,n8.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,n8),61===n&&t.addNextState(n3)},n8.id=183,n3.p=function(e,t){62===e.token&&t.addNextState(n4)},n3.id=184,n4.p=function(e,t){e.startCall("IGN").addReturn(t.context,n6),e.startCall("EXPR^2").addReturn(t.context,n7)},n4.id=185,n6.p=function(e,t){e.startCall("IGN").addReturn(t.context,n6),e.startCall("EXPR^2").addReturn(t.context,n7)},n6.id=186,n7.p=function(e,t){e.returnCall("EXPR^1",t)},n7.id=187,n9.p=function(e,t){e.addMark("or",t.context,re),e.startCall("EXPR^3").addReturn(t.context,rt)},n9.id=188,re.p=function(e,t){e.startCall("EXPR^2").addReturn(t.context,rn
12)},re.id=189,rt.p=function(e,t){e.returnCall("EXPR^2",t)},rt.id=190,rn.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rr),124===n&&t.addNextState(ri)},rn.id=191,rr.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rr),124===n&&t.addNextState(ri)},rr.id=192,ri.p=function(e,t){124===e.token&&t.addNextState(ro)},ri.id=193,ro.p=function(e,t){e.startCall("IGN").addReturn(t.context,ra),e.startCall("EXPR^3").addReturn(t.context,rs)},ro.id=194,ra.p=function(e,t){e.startCall("IGN").addReturn(t.context,ra),e.startCall("EXPR^3").addReturn(t.context,rs)},ra.id=195,rs.p=function(e,t){e.returnCall("EXPR^2",t)},rs.id=196,rl.p=function(e,t){e.addMark("and",t.context,ru),e.startCall("EXPR^4").addReturn(t.context,rc)},rl.id=197,ru.p=function(e,t){e.startCall("EXPR^3").addReturn(t.context,rd)},ru.id=198,rc.p=function(e,t){e.returnCall("EXPR^3",t)},rc.id=199,rd.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rf),38===n&&t.addNextState(rh)},rd.id=200,rf.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rf),38===n&&t.addNextState(rh)},rf.id=201,rh.p=function(e,t){38===e.token&&t.addNextState(rp)},rh.id=202,rp.p=function(e,t){e.startCall("IGN").addReturn(t.context,rg),e.startCall("EXPR^4").addReturn(t.context,rm)},rp.id=203,rg.p=function(e,t){e.startCall("IGN").addReturn(t.context,rg),e.startCall("EXPR^4").addReturn(t.context,rm)},rg.id=204,rm.p=function(e,t){e.returnCall("EXPR^3",t)},rm.id=205,rv.p=function(e,t){e.addMark("comp",t.context,ry),e.addMark("asc",t.context,rw),e.addMark("desc",t.context,rb),e.startCall("EXPR^5").addReturn(t.context,rx)},rv.id=206,ry.p=function(e,t){e.startCall("EXPR^5").addReturn(t.context,rC)},ry.id=207,rw.p=function(e,t){e.startCall("EXPR^4").addReturn(t.context,rj)},rw.id=208,rb.p=function(e,t){e.startCall("EXPR^4").addReturn(t.context,rO)},rb.id=209,rx.p=function(e,t){e.returnCall("EXPR^4",t)},rx.id=210,rC.p=function(e,t){e.startCall("IGN").addReturn(t.context,rE),e.addMark("op",t.context,rk)},rC.id=211,rE.p=function(e,t){e.startCall("IGN").addReturn(t.context,rE),e.addMark("op",t.context,rk)},rE.id=212,rk.p=function(e,t){e.startCall("COMP_OP").addReturn(t.context,r_)},rk.id=213,r_.p=function(e,t){e.addMark("end",t.context,rA)},r_.id=214,rA.p=function(e,t){e.startCall("IGN").addReturn(t.context,rR),e.startCall("EXPR^5").addReturn(t.context,rS)},rA.id=215,rR.p=function(e,t){e.startCall("IGN").addReturn(t.context,rR),e.startCall("EXPR^5").addReturn(t.context,rS)},rR.id=216,rS.p=function(e,t){e.returnCall("EXPR^4",t)},rS.id=217,rj.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rM),97===n&&t.addNextState(rP)},rj.id=218,rM.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rM),97===n&&t.addNextState(rP)},rM.id=219,rP.p=function(e,t){115===e.token&&t.addNextState(rL)},rP.id=220,rL.p=function(e,t){99===e.token&&t.addNextState(rI)},rL.id=221,rI.p=function(e,t){e.returnCall("EXPR^4",t)},rI.id=222,rO.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rD),100===n&&t.addNextState(rT)},rO.id=223,rD.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rD),100===n&&t.addNextState(rT)},rD.id=224,rT.p=function(e,t){101===e.token&&t.addNextState(rN)},rT.id=225,rN.p=function(e,t){115===e.token&&t.addNextState(rF)},rN.id=226,rF.p=function(e,t){99===e.token&&t.addNextState(rH)},rF.id=227,rH.p=function(e,t){e.returnCall("EXPR^4",t)},rH.id=228,rV.p=function(e,t){e.addMark("inc_range",t.context,rz),e.addMark("exc_range",t.context,rB),e.startCall("EXPR^6").addReturn(t.context,rU)},rV.id=229,rz.p=function(e,t){e.startCall("EXPR^6").addReturn(t.context,rZ)},rz.id=230,rB.p=function(e,t){e.startCall("EXPR^6").addReturn(t.context,rY)},rB.id=231,rU.p=function(e,t){e.returnCall("EXPR^5",t)},rU.id=232,rZ.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rW),46===n&&t.addNextState(rG)},rZ.id=233,rW.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rW),46===n&&t.addNextState(rG)},rW.id=234,rG.p=function(e,t){46===e.token&&t.addNextState(rq)},rG.id=235,rq.p=function(e,t){e.startCall("IGN").addReturn(t.context,r$),e.startCall("EXPR^6").addReturn(t.context,rX)},rq.id=236,r$.p=function(e,t){e.startCall("IGN").addReturn(t.context,r$),e.startCall("EXPR^6").addReturn(t.context,rX)},r$.id=237,rX.p=function(e,t){e.returnCall("EXPR^5",t)},rX.id=238,rY.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rK),46===n&&t.addNextState(rJ)},rY.id=239,rK.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,rK),46===n&&t.addNextState(rJ)},rK.id=240,rJ.p=function(e,t){46===e.token&&t.addNextState(rQ)},rJ.id=241,rQ.p=function(e,t){46===e.token&&t.addNextState(r1)},rQ.id=242,r1.p=function(e,t){e.startCall("IGN").addReturn(t.context,r0),e.startCall("EXPR^6").addReturn(t.context,r5)},r1.id=243,r0.p=function(e,t){e.startCall("IGN").addReturn(t.context,r0),e.startCall("EXPR^6").addReturn(t.context,r5)},r0.id=244,r5.p=function(e,t){e.returnCall("EXPR^5",t)},r5.id=245,r2.p=function(e,t){e.addMark("add",t.context,r8),e.addMark("sub",t.context,r3),e.startCall("EXPR^7").addReturn(t.context,r4)},r2.id=246,r8.p=function(e,t){e.startCall("EXPR^6").addReturn(t.context,r6)},r8.id=247,r3.p=function(e,t){e.startCall("EXPR^6").addReturn(t.context,ir)}
12,r3.id=248,r4.p=function(e,t){e.returnCall("EXPR^6",t)},r4.id=249,r6.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,r7),43===n&&t.addNextState(r9)},r6.id=250,r7.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,r7),43===n&&t.addNextState(r9)},r7.id=251,r9.p=function(e,t){e.startCall("IGN").addReturn(t.context,ie),e.startCall("EXPR^7").addReturn(t.context,it)},r9.id=252,ie.p=function(e,t){e.startCall("IGN").addReturn(t.context,ie),e.startCall("EXPR^7").addReturn(t.context,it)},ie.id=253,it.p=function(e,t){e.returnCall("EXPR^6",t)},it.id=254,ir.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,ii),45===n&&t.addNextState(io)},ir.id=255,ii.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,ii),45===n&&t.addNextState(io)},ii.id=256,io.p=function(e,t){e.startCall("IGN").addReturn(t.context,ia),e.startCall("EXPR^7").addReturn(t.context,is)},io.id=257,ia.p=function(e,t){e.startCall("IGN").addReturn(t.context,ia),e.startCall("EXPR^7").addReturn(t.context,is)},ia.id=258,is.p=function(e,t){e.returnCall("EXPR^6",t)},is.id=259,il.p=function(e,t){e.addMark("mul",t.context,iu),e.addMark("div",t.context,ic),e.addMark("mod",t.context,id),e.startCall("EXPR^9").addReturn(t.context,ih)},il.id=260,iu.p=function(e,t){e.startCall("EXPR^7").addReturn(t.context,ip)},iu.id=261,ic.p=function(e,t){e.startCall("EXPR^7").addReturn(t.context,iw)},ic.id=262,id.p=function(e,t){e.startCall("EXPR^7").addReturn(t.context,ik)},id.id=263,ih.p=function(e,t){e.returnCall("EXPR^7",t)},ih.id=264,ip.p=function(e,t){e.startCall("IGN").addReturn(t.context,ig),e.startCall("STAR").addReturn(t.context,im)},ip.id=265,ig.p=function(e,t){e.startCall("IGN").addReturn(t.context,ig),e.startCall("STAR").addReturn(t.context,im)},ig.id=266,im.p=function(e,t){e.startCall("IGN").addReturn(t.context,iv),e.startCall("EXPR^9").addReturn(t.context,iy)},im.id=267,iv.p=function(e,t){e.startCall("IGN").addReturn(t.context,iv),e.startCall("EXPR^9").addReturn(t.context,iy)},iv.id=268,iy.p=function(e,t){e.returnCall("EXPR^7",t)},iy.id=269,iw.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,ib),47===n&&t.addNextState(ix)},iw.id=270,ib.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,ib),47===n&&t.addNextState(ix)},ib.id=271,ix.p=function(e,t){e.startCall("IGN").addReturn(t.context,iC),e.startCall("EXPR^9").addReturn(t.context,iE)},ix.id=272,iC.p=function(e,t){e.startCall("IGN").addReturn(t.context,iC),e.startCall("EXPR^9").addReturn(t.context,iE)},iC.id=273,iE.p=function(e,t){e.returnCall("EXPR^7",t)},iE.id=274,ik.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,i_),37===n&&t.addNextState(iA)},ik.id=275,i_.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,i_),37===n&&t.addNextState(iA)},i_.id=276,iA.p=function(e,t){e.startCall("IGN").addReturn(t.context,iR),e.startCall("EXPR^9").addReturn(t.context,iS)},iA.id=277,iR.p=function(e,t){e.startCall("IGN").addReturn(t.context,iR),e.startCall("EXPR^9").addReturn(t.context,iS)},iR.id=278,iS.p=function(e,t){e.returnCall("EXPR^7",t)},iS.id=279,ij.p=function(e,t){e.addMark("pow",t.context,iM),e.startCall("EXPR^11").addReturn(t.context,iP)},ij.id=280,iM.p=function(e,t){e.startCall("EXPR^11").addReturn(t.context,iL)},iM.id=281,iP.p=function(e,t){e.returnCall("EXPR^9",t)},iP.id=282,iL.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,iI),42===n&&t.addNextState(iO)},iL.id=283,iI.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,iI),42===n&&t.addNextState(iO)},iI.id=284,iO.p=function(e,t){42===e.token&&t.addNextState(iD)},iO.id=285,iD.p=function(e,t){e.startCall("IGN").addReturn(t.context,iT),e.startCall("EXPR^9").addReturn(t.context,iN)},iD.id=286,iT.p=function(e,t){e.startCall("IGN").addReturn(t.context,iT),e.startCall("EXPR^9").addReturn(t.context,iN)},iT.id=287,iN.p=function(e,t){e.returnCall("EXPR^9",t)},iN.id=288,iF.p=function(e,t){var n=e.token;e.startCall("NUMBER").addReturn(t.context,iH),e.startCall("STRING").addReturn(t.context,iV),e.startCall("ARRAY").addReturn(t.context,iz),e.startCall("OBJECT").addReturn(t.context,iB),e.addMark("star",t.context,iU),e.addMark("this",t.context,iZ),e.startCall("PARENT").addReturn(t.context,iW),e.addMark("paren",t.context,iG),36===n&&t.addNextState(iq),e.addMark("ident",t.context,i$),e.startCall("FUNC_CALL").addReturn(t.context,iX),e.addMark("neg",t.context,iY),e.addMark("pos",t.context,iK),e.addMark("not",t.context,iJ),105===n&&t.addNextState(iQ),e.addMark("deref",t.context,i1),e.addMark("attr_cond",t.context,i0),e.addMark("attr_ident",t.context,i5),e.addMark("pipecall",t.context,i2),e.addMark("project",t.context,i8),e.addMark("filter",t.context,i3),e.addMark("arr_expr",t.context,i4)},iF.id=289,iH.p=function(e,t){e.returnCall("EXPR^11",t)},iH.id=290,iV.p=function(e,t){e.returnCall("EXPR^11",t)},iV.id=291,iz.p=function(e,t){e.returnCall("EXPR^11",t)},iz.id=292,iB.p=function(e,t){e.returnCall("EXPR^11",t)},iB.id=293,iU.p=function(e,t){e.startCall("STAR").addReturn(t.context,i6)},iU.id=294,iZ.p=function(e,t){64===e.token&&t.addNextState(i7)},iZ.id=295,iW.p=function(e,t){e.returnCall("EXPR^11",t)},iW.id=296,iG.p=function(e,t){40===e.token&&t.addNextState(i9)}
12,iG.id=297,iq.p=function(e,t){e.addMark("param",t.context,oi)},iq.id=298,i$.p=function(e,t){e.startCall("IDENT").addReturn(t.context,os)},i$.id=299,iX.p=function(e,t){e.returnCall("EXPR^11",t)},iX.id=300,iY.p=function(e,t){45===e.token&&t.addNextState(ou)},iY.id=301,iK.p=function(e,t){43===e.token&&t.addNextState(of)},iK.id=302,iJ.p=function(e,t){33===e.token&&t.addNextState(og)},iJ.id=303,iQ.p=function(e,t){115===e.token&&t.addNextState(oy)},iQ.id=304,i1.p=function(e,t){e.startCall("EXPR^11").addReturn(t.context,ox)},i1.id=305,i0.p=function(e,t){e.startCall("EXPR^11").addReturn(t.context,oS)},i0.id=306,i5.p=function(e,t){e.startCall("EXPR^11").addReturn(t.context,oN)},i5.id=307,i2.p=function(e,t){e.startCall("EXPR^11").addReturn(t.context,oU)},i2.id=308,i8.p=function(e,t){e.startCall("EXPR^11").addReturn(t.context,oq)},i8.id=309,i3.p=function(e,t){e.startCall("EXPR^11").addReturn(t.context,oK)},i3.id=310,i4.p=function(e,t){e.startCall("EXPR^11").addReturn(t.context,o3)},i4.id=311,i6.p=function(e,t){e.returnCall("EXPR^11",t)},i6.id=312,i7.p=function(e,t){e.returnCall("EXPR^11",t)},i7.id=313,i9.p=function(e,t){e.startCall("IGN").addReturn(t.context,oe),e.startCall("EXPR^1").addReturn(t.context,ot)},i9.id=314,oe.p=function(e,t){e.startCall("IGN").addReturn(t.context,oe),e.startCall("EXPR^1").addReturn(t.context,ot)},oe.id=315,ot.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,on),41===n&&t.addNextState(or)},ot.id=316,on.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,on),41===n&&t.addNextState(or)},on.id=317,or.p=function(e,t){e.returnCall("EXPR^11",t)},or.id=318,oi.p=function(e,t){e.startCall("IDENT").addReturn(t.context,oo)},oi.id=319,oo.p=function(e,t){e.addMark("param_end",t.context,oa)},oo.id=320,oa.p=function(e,t){e.returnCall("EXPR^11",t)},oa.id=321,os.p=function(e,t){e.addMark("ident_end",t.context,ol)},os.id=322,ol.p=function(e,t){e.returnCall("EXPR^11",t)},ol.id=323,ou.p=function(e,t){e.startCall("IGN").addReturn(t.context,oc),e.startCall("EXPR^9").addReturn(t.context,od)},ou.id=324,oc.p=function(e,t){e.startCall("IGN").addReturn(t.context,oc),e.startCall("EXPR^9").addReturn(t.context,od)},oc.id=325,od.p=function(e,t){e.returnCall("EXPR^11",t)},od.id=326,of.p=function(e,t){e.startCall("IGN").addReturn(t.context,oh),e.startCall("EXPR^11").addReturn(t.context,op)},of.id=327,oh.p=function(e,t){e.startCall("IGN").addReturn(t.context,oh),e.startCall("EXPR^11").addReturn(t.context,op)},oh.id=328,op.p=function(e,t){e.returnCall("EXPR^11",t)},op.id=329,og.p=function(e,t){e.startCall("IGN").addReturn(t.context,om),e.startCall("EXPR^11").addReturn(t.context,ov)},og.id=330,om.p=function(e,t){e.startCall("IGN").addReturn(t.context,om),e.startCall("EXPR^11").addReturn(t.context,ov)},om.id=331,ov.p=function(e,t){e.returnCall("EXPR^11",t)},ov.id=332,oy.p=function(e,t){e.startCall("IGN").addReturn(t.context,ow),e.startCall("EXPR^11").addReturn(t.context,ob)},oy.id=333,ow.p=function(e,t){e.startCall("IGN").addReturn(t.context,ow),e.startCall("EXPR^11").addReturn(t.context,ob)},ow.id=334,ob.p=function(e,t){e.returnCall("EXPR^11",t)},ob.id=335,ox.p=function(e,t){45===e.token&&t.addNextState(oC)},ox.id=336,oC.p=function(e,t){62===e.token&&t.addNextState(oE)},oC.id=337,oE.p=function(e,t){e.startCall("IGN").addReturn(t.context,ok),e.addMark("deref_field",t.context,o_),e.returnCall("EXPR^11",t)},oE.id=338,ok.p=function(e,t){e.startCall("IGN").addReturn(t.context,ok),e.addMark("deref_field",t.context,o_)},ok.id=339,o_.p=function(e,t){e.startCall("IDENT").addReturn(t.context,oA)},o_.id=340,oA.p=function(e,t){e.addMark("end",t.context,oR)},oA.id=341,oR.p=function(e,t){e.returnCall("EXPR^11",t)},oR.id=342,oS.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oj),46===n&&t.addNextState(oM)},oS.id=343,oj.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oj),46===n&&t.addNextState(oM)},oj.id=344,oM.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oP),91===n&&t.addNextState(oL)},oM.id=345,oP.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oP),91===n&&t.addNextState(oL)},oP.id=346,oL.p=function(e,t){e.startCall("IGN").addReturn(t.context,oI),e.startCall("EXPR^1").addReturn(t.context,oO)},oL.id=347,oI.p=function(e,t){e.startCall("IGN").addReturn(t.context,oI),e.startCall("EXPR^1").addReturn(t.context,oO)},oI.id=348,oO.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oD),93===n&&t.addNextState(oT)},oO.id=349,oD.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oD),93===n&&t.addNextState(oT)},oD.id=350,oT.p=function(e,t){e.returnCall("EXPR^11",t)},oT.id=351,oN.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oF),46===n&&t.addNextState(oH)},oN.id=352,oF.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oF),46===n&&t.addNextState(oH)},oF.id=353,oH.p=function(e,t){e.addMark("ident",t.context,oV)},oH.id=354,oV.p=function(e,t){e.startCall("IDENT").addReturn(t.context,oz)},oV.id=355,oz.p=function(e,t){e.addMark("ident_end",t.context,oB)},oz.id=356,oB.p=function(e,t){e.returnCall("EXPR^11",t)},oB.id=357,oU.p=function(e,t){e.startCall("IGN").addReturn(t.context,oZ),e.startCall("PIPE").addReturn(t.context,oW)},oU.id=358,oZ.p=function(e,t){e.startCall("IGN").addReturn(t.context,oZ),e.startCall("PIPE").addReturn(t.context,oW)},oZ.id=359,oW.p=function(e,t){e.startCall("FUNC_CALL").addReturn(t.context,oG)},oW.id=360,oG.p=function(e,t){e.returnCall("EXPR^11",t)},oG.id=361,oq.p=function(e,t){e.startCall("IGN").addReturn(t.context,o$),e.startCall("PIPE").addReturn(t.context,oX),e.startCall("OBJECT").addReturn(t.context,oY)},oq.id=362,o$.p=function(e,t){e.startCall("IGN").addReturn(t.context,o$),e.startCall("PIPE").addReturn(t.context,oX),e.startCall("OBJECT").addReturn(t.context,oY)},o$.id=363,oX.p=function(e,t){e.startCall("OBJECT").addReturn(t.context,oY)},oX.id=364,oY.p=function(e,t){e.returnCall("EXPR^11",t)},oY.id=365,oK.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oJ),e.startCall("PIPE").addReturn(t.context,oQ),91===n&&t.addNextState(o1)},oK.id=366,oJ.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,oJ),e.startCall("PIPE").addReturn(t.context,oQ),91===n&&t.addNextState(o1)},oJ.id=367,oQ.p=function(e,t){91===e.token&&t.addNextState(o1)},oQ.id=368,o1.p=function(e,t){e.startCall("IGN").addReturn(t.context,o0),e.startCall("EXPR^1").addReturn(t.context,o5)},o1.id=369,o0.p=function(e,t){e.startCall("IGN").addReturn(t.context,o0),e.startCall("EXPR^1").addReturn(t.context,o5)},o0.id=370,o5.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,o2),93===n&&t.addNextState(o8)},o5.id=371,o2.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,o2),93===n&&t.addNextState(o8)},o2.id=372,o8.p=function(e,t){e.returnCall("EXPR^11",t)},o8.id=373,o3.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,o4),e.startCall("PIPE").addReturn(t.context,o6),91===n&&t.addNextState(o7)},o3.id=374,o4.p=function(e,t){var n=e.token;e.startCall("IGN").addReturn(t.context,o4),e.startCall("PIPE").addReturn(t.context,o6),91===n&&t.addNextState(o7)},o4.id=375,o6.p=function(e,t){91===e.token&&t.addNextState(o7)},o6.id=376,o7.p=function(e,t){93===e.token&&t.addNextState(o9)},o7.id=377,o9.p=function(e,t){e.returnCall("EXPR^11",t)},o9.id=378;var ae=new Q(null,null),at=new ee(ae);at.addNextState(er);var an=[at],ar={};function ai(e){return"Value"===e.type}function ao(e){return ai(e)&&"number"==typeof e.value}ar.main=[eo],ar.SPACE=[eu],ar.COMMENT=[ey],ar.COMMENT_END=[ek],ar.IGN=[eA],ar.PIPE=[ej],ar.PARENT=[eL],ar.IDENT_FST=[eH],ar.IDENT_REST=[eU],ar.IDENT=[eG],ar.STAR=[eX],ar.COMP_OP=[eK],ar.FUNC_CALL=[to
12],ar.FUNC_ARGS=[tg],ar.NUMBER=[tC],ar.DIGIT=[tV],ar.SIGN=[tB],ar.STRING=[tW],ar.DSTRING_CHAR=[t5],ar.SSTRING_CHAR=[t4],ar.ARRAY=[ne],ar.ARRAY_ELEMENT=[np],ar.OBJECT=[nx],ar.OBJECT_PAIR=[nD],ar["EXPR^1"]=[n1],ar["EXPR^2"]=[n9],ar["EXPR^3"]=[rl],ar["EXPR^4"]=[rv],ar["EXPR^5"]=[rV],ar["EXPR^6"]=[r2],ar["EXPR^7"]=[il],ar["EXPR^9"]=[ij],ar["EXPR^11"]=[iF];var aa={"'":"'",'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:" "};function as(e){return String.fromCharCode(parseInt(e,16))}class al extends Error{}var au={paren:e=>({type:"Parenthesis",base:e.process()}),filter(e){var t=e.process(),n=e.process();return ao(n)?{type:"Element",base:t,index:n}:ai(n)&&"string"==typeof n.value?{type:"Attribute",base:t,name:n.value}:"Range"===n.type?{type:"Slice",base:t,left:n.left,right:n.right,isExclusive:n.isExclusive}:{type:"Filter",base:t,query:n}},project(e){var t=e.process(),n=e.process();return{type:"Projection",base:t,query:n}},star:()=>({type:"Star"}),this:()=>({type:"This"}),parent:()=>({type:"Parent",n:1}),dblparent:e=>({type:"Parent",n:e.process().n+1}),ident(e){var t=e.processStringEnd();return"null"===t?{type:"Value",value:null}:"true"===t?{type:"Value",value:!0}:"false"===t?{type:"Value",value:!1}:{type:"Identifier",name:t}},attr_ident(e){var t=e.process(),n=e.processString();return{type:"Attribute",base:t,name:n}},arr_expr(e){var t=e.process();return{type:"Mapper",base:t}},inc_range(e){var t=e.process(),n=e.process();return{type:"Range",left:t,right:n,isExclusive:!1}},exc_range(e){var t=e.process(),n=e.process();return{type:"Range",left:t,right:n,isExclusive:!0}},neg(e){var t=e.process();return"Value"===t.type&&"number"==typeof t.value?{type:"Value",value:-t.value}:{type:"Neg",base:t}},pos(e){var t=e.process();return ao(t)?{type:"Value",value:+t.value}:{type:"Pos",base:t}},add(e){var t=e.process(),n=e.process();return{type:"OpCall",op:"+",left:t,right:n}},sub(e){var t=e.process(),n=e.process();return{type:"OpCall",op:"-",left:t,right:n}},mul(e){var t=e.process(),n=e.process();return{type:"OpCall",op:"*",left:t,right:n}},div(e){var t=e.process(),n=e.process();return{type:"OpCall",op:"/",left:t,right:n}},mod(e){var t=e.process(),n=e.process();return{type:"OpCall",op:"%",left:t,right:n}},pow(e){var t=e.process(),n=e.process();return{type:"OpCall",op:"**",left:t,right:n}},deref(e){var t=e.process(),n=e.getMark(),r={type:"Deref",base:t};if(n&&"deref_field"===n.name){var i=e.processString();return{type:"Attribute",base:r,name:i}}return r},comp(e){var t=e.process();return{type:"OpCall",op:e.processString(),left:t,right:e.process()}},str_begin:e=>({type:"Value",value:e.processStringEnd().replace(/\\(['"/\\bfnrt]|u([A-Fa-f0-9]{4})|u\{([A-Fa-f0-9]+)\})/g,(e,t,n,r)=>n?as(n):r?as(r):aa[t])}),integer:e=>({type:"Value",value:Number(e.processStringEnd())}),float:e=>({type:"Value",value:Number(e.processStringEnd())}),sci:e=>({type:"Value",value:Number(e.processStringEnd())}),pair(e){var t=e.process(),n=e.process();return{type:"Pair",left:t,right:n}},object(e){for(var t=[];"object_end"!==e.getMark().name;)t.push(e.process());return e.shift(),{type:"Object",attributes:t}},object_expr(e){var t=e.process();return"Pair"===t.type?{type:"ObjectConditionalSplat",condition:t.left,value:t.right}:{type:"ObjectAttribute",key:{type:"Value",value:function e(t){if("Identifier"===t.type)return t.name;if(ac.includes(t.type))return e(t.base);throw new al("Cannot determine property key for type: "+t.type)}(t)},value:t}},object_pair:e=>({type:"ObjectAttribute",key:e.process(),value:e.process()}),object_splat(e){var t=e.process();return{type:"ObjectSplat",value:t}},object_splat_this:()=>({type:"ObjectSplat",value:{type:"This"}}),array(e){for(var t=[];"array_end"!==e.getMark().name;){var n=!1;"array_splat"===e.getMark().name&&(n=!0,e.shift());var r=e.process();t.push({type:"ArrayElement",value:r,isSplat:n})}return e.shift(),{type:"Array",elements:t}},func_call(e){for(var t=e.processStringEnd(),n=[];"func_args_end"!==e.getMark().name;)n.push(e.process());e.shift();var r=$[t];if(!r)throw new al("Undefined function: "+t);return ad(t,r.arity,n.length),{type:"FuncCall",func:r,name:t,args:n}},pipecall(e){for(var t=e.process(),n=e.processString(),r=[];;){var i=e.getMark().name;if("func_args_end"===i)break;if("order"===n){if("asc"===i){e.shift(),r.push({type:"Asc",base:e.process()});continue}if("desc"===i){e.shift(),r.push({type:"Desc",base:e.process()});continue}}r.push(e.process())}e.shift();var o=X[n];if(!o)throw new al("Undefined pipe function: "+n);return ad(n,o.arity,r.length),{type:"PipeFuncCall",func:o,base:t,name:o.name,args:r}},and(e){var t=e.process(),n=e.process();return{type:"And",left:t,right:n}},or(e){var t=e.process(),n=e.process();return{type:"Or",left:t,right:n}},not(e){var t=e.process();return{type:"Not",base:t}},asc(e){throw new al("unexpected asc")},desc(e){throw new al("unexpected desc")},param(e){var t=e.processStringEnd();return{type:"Parameter",name:t}}},ac=["Deref","Projection","Mapper","Filter","Element","Slice"];
12function ad(e,t,n){if("number"==typeof t){if(n!==t)throw new al("Incorrect number of arguments to function "+e+"(). Expected "+t+", got "+n+".")}else if(t&&!t(n))throw new al("Incorrect number of arguments to function "+e+"().")}class af extends Error{constructor(e){super("Syntax error in GROQ query at position "+e),this.name="GroqSyntaxError",this.position=e}}function ah(e){var t=function(e){for(var t=an,n=0;n<e.length;n++){var r=et(e.charCodeAt(n),n,t);if(!r.hasNextFrames())return{type:"error",position:n};t=r.nextFrames}return(r=et(null,n,t)).wasAccepted()?{type:"success",marks:function(e){if(!e)return[];for(var t=[e],n=[];t.length;){var r=t.shift();if("concat"===r.type)t.unshift(r.left,r.right);else if("mark"===r.type)n.push(r);else throw Error("unknown mark type: "+r.type)}return n}(r.acceptedContexts[0].marks)}:{type:"error",position:n}}(e);if("error"===t.type)throw new af(t.position);return new r(au,e,t.marks).process()}var ap=function(e,t){return ag.apply(this,arguments)};function ag(){return(ag=c(function*(e,t){var n=e.getType();return n===t.getType()&&("number"===n||"string"===n||"boolean"===n||"null"===n)&&(yield e.get())===(yield t.get())})).apply(this,arguments)}function am(e,t){return av.apply(this,arguments)}function av(){return(av=c(function*(e,t){switch(e.getType()){case"string":return t((yield e.get())),!0;case"array":var n=!0,r=!0,o=!1;try{for(var a,s,l,u=i(e);r=(s=yield u.next()).done,l=yield s.value,!r;r=!0)"string"===l.getType()?t((yield l.get())):n=!1}catch(c){o=!0,a=c}finally{try{r||null==u.return||(yield u.return())}finally{if(o)throw a}}return n;default:return!1}})).apply(this,arguments)}var ay={"==":(R=c(function*(e,t,n,r){return(yield ap((yield r(e,n)),(yield r(t,n))))?N:F}),function(e,t,n,r){return R.apply(this,arguments)}),"!=":(S=c(function*(e,t,n,r){return(yield ap((yield r(e,n)),(yield r(t,n))))?F:N}),function(e,t,n,r){return S.apply(this,arguments)}),">":(j=c(function*(e,t,n,r){var i=q((yield(yield r(e,n)).get()),(yield(yield r(t,n)).get()));return null===i?T:i>0?N:F}),function(e,t,n,r){return j.apply(this,arguments)}),">=":(M=c(function*(e,t,n,r){var i=q((yield(yield r(e,n)).get()),(yield(yield r(t,n)).get()));return null===i?T:i>=0?N:F}),function(e,t,n,r){return M.apply(this,arguments)}),"<":(P=c(function*(e,t,n,r){var i=q((yield(yield r(e,n)).get()),(yield(yield r(t,n)).get()));return null===i?T:i<0?N:F}),function(e,t,n,r){return P.apply(this,arguments)}),"<=":(L=c(function*(e,t,n,r){var i=q((yield(yield r(e,n)).get()),(yield(yield r(t,n)).get()));return null===i?T:i<=0?N:F}),function(e,t,n,r){return L.apply(this,arguments)}),in:(I=c(function*(e,t,n,r){var o=yield r(e,n),a=yield r(t,n);switch(a.getType()){case"array":var s=!0,l=!1;try{for(var u,c,d,f=i(a);s=(c=yield f.next()).done,d=yield c.value,!s;s=!0)if(yield ap(o,d))return N}catch(h){l=!0,u=h}finally{try{s||null==f.return||(yield f.return())}finally{if(l)throw u}}return F;case"range":var p=yield o.get(),g=yield a.get(),m=q(p,g.left);if(null===m)break;var v=q(p,g.right);if(null===v)break;if(g.isExclusive())return m>=0&&v<0?N:F;return m>=0&&v<=0?N:F;case"path":if("string"!==o.getType())break;var y=yield o.get();return(yield a.get()).matches(y)?N:F}return T}),function(e,t,n,r){return I.apply(this,arguments)}),match:(O=c(function*(e,t,n,r){var i,o,a=yield r(e,n),s=yield r(t,n),l=[],u=[];return(yield am(a,e=>{l=l.concat(e.match(/[A-Za-z0-9]+/g))}),(yield am(s,e=>{var t;u=u.concat((t=(e.match(/[A-Za-z0-9*]+/g)||[]).map(e=>RegExp("^"+e.replace(/\*/g,".*")+"$","i")),e=>t.every(t=>e.some(e=>t.test(e)))))}))&&(i=l,o=u,0!==i.length&&0!==o.length&&o.every(e=>e(i))))?N:F}),function(e,t,n,r){return O.apply(this,arguments)}),"+":(D=c(function*(e,t,n,r){var i=yield r(e,n),o=yield r(t,n),a=i.getType(),s=o.getType();return"number"===a&&"number"===s||"string"===a&&"string"===s?new g((yield i.get())+(yield o.get())):"array"===a&&"array"===s?new g((yield i.get()).concat((yield o.get()))):"object"===a&&"object"===s?new g(d({},(yield i.get()),(yield o.get()))):T}),function(e,t,n,r){return D.apply(this,arguments)}),"-":aw((e,t)=>e-t),"*":aw((e,t)=>e*t),"/":aw((e,t)=>e/t),"%":aw((e,t)=>e%t),"**":aw((e,t)=>Math.pow(e,t))};function aw(e){var t;return t=c(function*(t,n,r,i){var o=yield i(t,r),a=yield i(n,r),s=o.getType(),l=a.getType();return"number"===s&&"number"===l?Z(e((yield o.get()),(yield a.get()))):T}),function(e,n,r,i){return t.apply(this,arguments)}}function ab(e,t){return e instanceof V?new V(new H(s(function*(){var n=!0,r=!1;try{for(var o,a,s,u=i(e);n=(a=yield l(u.next())).done,s=yield l(a.value),!n;n=!0)yield t(s)}catch(c){r=!0,o=c}finally{try{n||null==u.return||(yield l(u.return()))}finally{if(r)throw o}}}))):t(e)}class ax{constructor(e,t,n,r){this.params=e,this.source=t,this.value=n,this.parent=r,this.timestamp=r?r.timestamp:new Date().toISOString()}createNested(e){return new ax(this.params,this.source,e,this)}}function aC(e,t){if(void 0===aE[e.type])throw Error("No executor for node.type="+e.type);return(0,aE[e.type])(e,t)}var aE={This:(e,t)=>t.value,Star:(e,t)=>
12t.source,Parameter(e,t){var n=e.name;return W(t.params[n])},Parent(e,t){for(var n=t,r=0;r<e.n;r++){if(!n.parent)return T;n=n.parent}return n.value},OpCall(e,t){var n=e.op,r=e.left,i=e.right,o=ay[n];if(!o)throw Error("Unknown operator: "+n);return o(r,i,t,aC)},FuncCall:(e,t)=>(0,e.func)(e.args,t,aC),PipeFuncCall:(e,t)=>c(function*(){var n=e.func,r=e.base,i=e.args;return n((yield aC(r,t)),i,t,aC)})(),Filter:(e,t)=>c(function*(){var n,r=e.base,o=e.query;return ab((yield aC(r,t)),(n=c(function*(e){return"array"!==e.getType()?T:new H(s(function*(){var n=!0,r=!1;try{for(var a,s,u,c=i(e);n=(s=yield l(c.next())).done,u=yield l(s.value),!n;n=!0)(yield l(aC(o,t.createNested(u)))).getBoolean()&&(yield u)}catch(d){r=!0,a=d}finally{try{n||null==c.return||(yield l(c.return()))}finally{if(r)throw a}}}))}),function(e){return n.apply(this,arguments)}))})(),Element:(e,t)=>c(function*(){var n,r=e.base,i=e.index;return ab((yield aC(r,t)),(n=c(function*(e){if("array"!==e.getType())return T;var n=yield aC(i,t);if("number"!==n.getType())return T;var r=yield e.get(),o=yield n.get();return(o<0&&(o=r.length+o),o>=0&&o<r.length)?new g(r[o]):T}),function(e){return n.apply(this,arguments)}))})(),Slice:(e,t)=>c(function*(){var n,r=e.base,i=e.left,o=e.right,a=e.isExclusive;return ab((yield aC(r,t)),(n=c(function*(e){if("array"!==e.getType())return T;var n=yield aC(i,t),r=yield aC(o,t);
12if("number"!==n.getType()||"number"!==r.getType())return T;var s=yield e.get(),l=yield n.get(),u=yield r.get();return l<0&&(l=s.length+l),u<0&&(u=s.length+u),!a&&u++,l<0&&(l=0),u<0&&(u=0),new g(s.slice(l,u))}),function(e){return n.apply(this,arguments)}))})(),Attribute:(e,t)=>c(function*(){var n,r=e.base,i=e.name;return ab((yield aC(r,t)),(n=c(function*(e){if("object"===e.getType()){var t=yield e.get();if(t.hasOwnProperty(i))return new g(t[i])}return T}),function(e){return n.apply(this,arguments)}))})(),Identifier:(e,t)=>c(function*(){var n=e.name;if("object"===t.value.getType()){var r=yield t.value.get();if(r.hasOwnProperty(n))return new g(r[n])}return T})(),Value(e){var t=e.value;return new g(t)},Mapper:(e,t)=>c(function*(){var n=yield aC(e.base,t);return"array"!==n.getType()?n:new V(n instanceof V?new H(s(function*(){var e=!0,t=!1;try{for(var r,o,a,s=i(n);e=(o=yield l(s.next())).done,a=yield l(o.value),!e;e=!0)if("array"===a.getType()){var u=!0,c=!1;try{for(var d,f,h,p=i(a);u=(f=yield l(p.next())).done,h=yield l(f.value),!u;u=!0)yield h}catch(g){c=!0,d=g}finally{try{u||null==p.return||(yield l(p.return()))}finally{if(c)throw d}}}else yield T}catch(m){t=!0,r=m}finally{try{e||null==s.return||(yield l(s.return()))}finally{if(t)throw r}}})):n)})(),Parenthesis:(e,t)=>c(function*(){var n=yield aC(e.base,t);return n instanceof V&&(n=n.value),n})(),Projection:(e,t)=>c(function*(){var n=e.base,r=e.query,o=yield aC(n,t);return"null"===o.getType()?T:"array"===o.getType()?new H(s(function*(){var e=!0,n=!1;try{for(var a,s,u,c=i(o);e=(s=yield l(c.next())).done,u=yield l(s.value),!e;e=!0)yield yield l(aC(r,t.createNested(u)))}catch(d){n=!0,a=d}finally{try{e||null==c.return||(yield l(c.return()))}finally{if(n)throw a}}})):yield aC(r,t.createNested(o))})(),Deref:(e,t)=>c(function*(){var n;return ab((yield aC(e.base,t)),(n=c(function*(e){if("array"!==t.source.getType()||"object"!==e.getType())return T;var n=(yield e.get())._ref;if("string"!=typeof n)return T;var r=!0,o=!1;try{for(var a,s,l,u=i(t.source);r=(s=yield u.next()).done,l=yield s.value,!r;r=!0)if(n===l.data._id)return l}catch(c){o=!0,a=c}finally{try{r||null==u.return||(yield u.return())}finally{if(o)throw a}}return T}),function(e){return n.apply(this,arguments)}))})(),Object:(e,t)=>c(function*(){for(var n,r=e.attributes,i={},o=h(r);!(n=o()).done;){var a=n.value,s=a.type;switch(a.type){case"ObjectAttribute":var l=yield aC(a.key,t);if("string"!==l.getType())continue;var u=yield aC(a.value,t);if("null"===u.getType()){delete i[l.data];break}i[l.data]=yield u.get();break;case"ObjectConditionalSplat":if(!(yield aC(a.condition,t)).getBoolean())continue;var c=yield aC(a.value,t);if("object"!==c.getType())continue;Object.assign(i,c.data);break;case"ObjectSplat":var d=yield aC(a.value,t);d.getType("object")&&Object.assign(i,d.data);break;default:throw Error("Unknown node type: "+s)}}return new g(i)})(),Array(e,t){var n=e.elements;return new H(s(function*(){for(var e,r=h(n);!(e=r()).done;){var o=e.value,a=yield l(aC(o.value,t));if(o.isSplat){if("array"===a.getType()){var s=!0,u=!1;try{for(var c,d,f,p=i(a);s=(d=yield l(p.next())).done,f=yield l(d.value),!s;s=!0)yield f}catch(g){u=!0,c=g}finally{try{s||null==p.return||(yield l(p.return()))}finally{if(u)throw c}}}}else yield a}}))},Range:(e,t)=>c(function*(){var n=e.left,r=e.right,i=e.isExclusive,o=yield aC(n,t),a=yield aC(r,t);if(!z.isConstructible(o.getType(),a.getType()))return T;var s=new z((yield o.get()),(yield a.get()),i);return new g(s)})(),Pair:(e,t)=>c(function*(){var n=e.left,r=e.right,i=yield aC(n,t),o=yield aC(r,t),a=new B((yield i.get()),(yield o.get()));return new g(a)})(),Or:(e,t)=>c(function*(){var n=e.left,r=e.right,i=yield aC(n,t),o=yield aC(r,t);return"boolean"===i.getType()&&!0===i.data||"boolean"===o.getType()&&!0===o.data?N:"boolean"!==i.getType()||"boolean"!==o.getType()?T:F})(),And:(e,t)=>c(function*(){var n=e.left,r=e.right,i=yield aC(n,t),o=yield aC(r,t);return"boolean"===i.getType()&&!1===i.data||"boolean"===o.getType()&&!1===o.data?F:"boolean"!==i.getType()||"boolean"!==o.getType()?T:N})(),Not:(e,t)=>c(function*(){var n=yield aC(e.base,t);return"boolean"!==n.getType()?T:n.getBoolean()?F:N})(),Neg:(e,t)=>c(function*(){var n=yield aC(e.base,t);return"number"!==n.getType()?T:Z(-(yield n.get()))})(),Pos:(e,t)=>c(function*(){var n=yield aC(e.base,t);return"number"!==n.getType()?T:Z((yield n.get()))})(),Asc:()=>c(function*(){return T})(),Desc:()=>c(function*(){return T})()};function ak(e,t){return a_.apply(this,arguments)}function a_(){return(a_=c(function*(e,t){return void 0===t&&(t={}),yield aC(e,new ax(d({},t.params),W(t.dataset),W(t.root),null))})).apply(this,arguments)}},86023:function(e,t,n){"use strict";function r(){var e=Object.create(null),t=0;return{publish:function(t){for(var n in e)e[n](t)},subscribe:function(n){var r=t++;return e[r]=n,function(){delete e[r]}}}}n.r(t),n.d(t,{default:function(){return r}})},38993:function(e){e.exports=function(e,t,n){if(null===e!=(null===t))return!1;var r=Array.isArray(e);if(r!==Array.isArray(t))return!1;var i=typeof e;return i===typeof t&&("function"!==i&&"object"!==i?n?n(e,t):e===t:r?function(e,t,n){var r=e.length;if(r!==t.length)return!1;if(n){for(var i=0;i<r;i++)if(!n(e[i],t[i]))return!1}else for(var i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}(e,t,n):function(e,t,n){var r=0,i=0;if(n)for(var o in e){if(e.hasOwnProperty(o)&&!n(e[o],t[o]))return!1;r++}else for(var o in e){if(e.hasOwnProperty(o)&&e[o]!==t[o])return!1;r++}for(var o in t)t.hasOwnProperty(o)&&i++;return r===i}(e,t,n))}},96774:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;
12if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(i=n?n.call(r,c,d,u):void 0)||void 0===i&&c!==d)return!1}return!0}},36582:function(e,t){"use strict";t.Q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},989:function(e,t,n){e.exports=n(63268)},63268:function(e,t){var n,r,i,o,a,s,l,u,c,d,f;r={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"Ae",Ã
:"A",Ã:"AE",Ã:"C",Ã:"E",Ã:"E",Ã:"E",Ã:"E",Ã:"I",Ã:"I",Ã:"I",Ã:"I",Ã:"D",Ã:"N",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"Oe",Å:"O",Ã:"O",Ã:"U",Ã:"U",Ã:"U",Ã:"Ue",Ű:"U",Ã:"Y",Ã:"TH",Ã:"ss",à :"a",á:"a",â:"a",ã:"a",ä:"ae",Ã¥:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",Ã:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",Å:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y",áº:"SS",ا:"a",Ø£:"a",Ø¥:"i",Ø¢:"aa",ؤ:"u",ئ:"e",Ø¡:"a",ب:"b",ت:"t",Ø«:"th",ج:"j",Ø:"h",Ø®:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",Ø´:"sh",ص:"s",ض:"dh",Ø·:"t",ظ:"z",ع:"a",غ:"gh",Ù:"f",Ù:"q",Ù:"k",Ù:"l",Ù
:"m",Ù:"n",Ù:"h",Ù:"w",Ù:"y",Ù:"a",Ø©:"h",ï»»:"la",ï»·:"laa",ﻹ:"lai",ﻵ:"laa",Ú¯:"g",Ú:"ch",Ù¾:"p",Ú:"zh",Ú©:"k",Û:"y","Ù":"a","Ù":"an","Ù":"e","Ù":"en","Ù":"u","Ù":"on","Ù":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9",á:"k",á:"kh",á:"g",á:"ga",á:"ng",á
:"s",á:"sa",á:"z",á
á»:"za",á:"ny",á:"t",á:"ta",á:"d",á:"da",á:"na",á:"t",á:"ta",á:"d",á:"da",á:"n",á:"p",á:"pa",á:"b",á:"ba",á:"m",á:"y",á:"ya",á:"l",á:"w",á:"th",á:"h",á :"la",á¡:"a","á¼":"y","á»":"ya","á½":"w","á¼á½":"yw","á»á½":"ywa","á¾":"h",á§:"e","á":"-e",á£:"i",á¤:"-i",á:"u",á¦:"-u",á©:"aw",áá¼á±á¬:"aw",áª:"aw","á":"0","á":"1","á":"2","á":"3","á":"4","á
":"5","á":"6","á":"7","á":"8","á":"9","á¹":"","á·":"","á¸":"",Ä:"c",Ä:"d",Ä:"e",Å:"n",Å:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Ä:"C",Ä:"D",Ä:"E",Å:"N",Å:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z",Þ:"h",Þ:"sh",Þ:"n",Þ:"r",Þ:"b",Þ
:"lh",Þ:"k",Þ:"a",Þ:"v",Þ:"m",Þ:"f",Þ:"dh",Þ:"th",Þ:"l",Þ:"g",Þ:"gn",Þ:"s",Þ:"d",Þ:"z",Þ:"t",Þ:"y",Þ:"p",Þ:"j",Þ:"ch",Þ:"tt",Þ:"hh",Þ:"kh",Þ:"th",Þ:"z",Þ:"sh",Þ:"s",Þ:"d",Þ :"t",Þ¡:"z",Þ¢:"a",Þ£:"gh",Þ¤:"q",Þ¥:"w","Þ¦":"a","Þ§":"aa","Þ¨":"i","Þ©":"ee","Þª":"u","Þ«":"oo","Þ¬":"e","Þ":"ey","Þ®":"o","Þ¯":"oa","Þ°":"",á:"a",á:"b",á:"g",á:"d",á:"e",á:"v",á:"z",á:"t",á:"i",á:"k",á:"l",á:"m",á:"n",á:"o",á:"p",á:"zh",á :"r",á¡:"s",á¢:"t",á£:"u",á¤:"p",á¥:"k",á¦:"gh",á§:"q",á¨:"sh",á©:"ch",áª:"ts",á«:"dz",á¬:"ts",á:"ch",á®:"kh",á¯:"j",á°:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",Ï:"p",Ï:"r",Ï:"s",Ï:"t",Ï
:"y",Ï:"f",Ï:"x",Ï:"ps",Ï:"o",ά:"a",Î:"e",ί:"i",Ï:"o",Ï:"y",ή:"i",Ï:"o",Ï:"s",Ï:"i",ΰ:"y",Ï:"y",Î:"i",Î:"A",Î:"B",Î:"G",Î:"D",Î:"E",Î:"Z",Î:"I",Î:"TH",Î:"I",Î:"K",Î:"L",Î:"M",Î:"N",Î:"KS",Î:"O",Î :"P",Ρ:"R",Σ:"S",Τ:"T",Î¥:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Î:"A",Î:"E",Î:"I",Î:"O",Î:"Y",Î:"I",Î:"O",Ϊ:"I",Ϋ:"Y",Ä:"a",Ä:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",Å:"n",Å«:"u",Ä:"A",Ä:"E",Ä¢:"G",Ī:"I",Ķ:"k",Ä»:"L",Å
:"N",Ū:"U",Ð:"Kj",Ñ:"kj",Ð:"Lj",Ñ:"lj",Ð:"Nj",Ñ:"nj",ТÑ:"Ts",ÑÑ:"ts",Ä
:"a",Ä:"c",Ä:"e",Å:"l",Å:"n",Å:"s",ź:"z",ż:"z",Ä:"A",Ä:"C",Ä:"E",Å:"L",Å:"N",Å:"S",Ź:"Z",Å»:"Z",Ð:"Ye",Ð:"I",Ð:"Yi",Ò:"G",Ñ:"ye",Ñ:"i",Ñ:"yi",Ò:"g",Ä:"a",Ä:"A",È:"s",È:"S",È:"t",È:"T",Å£:"t",Å¢:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",Ñ:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",Ñ:"r",Ñ:"s",Ñ:"t",Ñ:"u",Ñ:"f",Ñ
:"kh",Ñ:"c",Ñ:"ch",Ñ:"sh",Ñ:"sh",Ñ:"",Ñ:"y",Ñ:"",Ñ:"e",Ñ:"yu",Ñ:"ya",Ð:"A",Ð:"B",Ð:"V",Ð:"G",Ð:"D",Ð:"E",Ð:"Yo",Ð:"Zh",Ð:"Z",Ð:"I",Ð:"I",Ð:"K",Ð:"L",Ð:"M",Ð:"N",Ð:"O",Ð:"P",Ð :"R",С:"S",Т:"T",У:"U",Ф:"F",Ð¥:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Ð:"E",Ю:"Yu",Я:"Ya",Ñ:"dj",Ñ:"j",Ñ:"c",Ñ:"dz",Ð:"Dj",Ð:"j",Ð:"C",Ð:"Dz",ľ:"l",ĺ:"l",Å:"r",Ľ:"L",Ĺ:"L",Å:"R",Å:"s",Å:"S",ı:"i",İ:"I",Ä:"g",Ä:"G",ả:"a",Ả:"A",á
12º³:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",Ä:"d",Ä:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",á»:"e",á»:"E",á»:"e",á»:"E",á»
:"e",á»:"E",á»:"e",á»:"E",á»:"o",á»:"o",á»:"o",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",Æ¡:"o",Æ :"O",á»:"o",á»:"O",á»:"o",á»:"O",ợ:"o",Ợ:"O",ỡ:"o",á» :"O",á»:"o",á»:"o",á»:"i",á»:"I",Ä©:"i",Ĩ:"I",á»:"i",á»:"i",á»§:"u",Ủ:"U",ụ:"u",Ụ:"U",Å©:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",á»±:"u",á»°:"U",ữ:"u",á»®:"U",á»:"u",Ử:"ư",á»·:"y",á»¶:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",á»´:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",áº:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","âª":"0","â ":"1","â¡":"2","â¢":"3","â£":"4","â¤":"5","â¥":"6","â¦":"7","â§":"8","â¨":"9","â©":"10","âª":"11","â«":"12","â¬":"13","â":"14","â®":"15","â¯":"16","â°":"17","â±":"18","â²":"18","â³":"18","âµ":"1","â¶":"2","â·":"3","â¸":"4","â¹":"5","âº":"6","â»":"7","â¼":"8","â½":"9","â¾":"10","â¿":"0","â«":"11","â¬":"12","â":"13","â®":"14","â¯":"15","â°":"16","â±":"17","â²":"18","â³":"19","â´":"20","â¶":"A","â·":"B","â¸":"C","â¹":"D","âº":"E","â»":"F","â¼":"G","â½":"H","â¾":"I","â¿":"J","â":"K","â":"L","â":"M","â":"N","â":"O","â
":"P","â":"Q","â":"R","â":"S","â":"T","â":"U","â":"V","â":"W","â":"X","â":"Y","â":"Z","â":"a","â":"b","â":"c","â":"d","â":"e","â":"f","â":"g","â":"h","â":"i","â":"j","â":"k","â":"l","â":"m","â":"n","â":"o","â":"p","â ":"q","â¡":"r","â¢":"s","â£":"t","â¤":"u","â¦":"v","â¥":"w","â§":"x","â¨":"y","â©":"z","â":'"',"â":'"',"â":"'","â":"'","â":"d",Æ:"f","â¢":"(TM)","\xa9":"(C)",Å:"oe",Å:"OE","\xae":"(R)","â ":"+","â ":"(SM)","â¦":"...","Ë":"o",º:"o",ª:"a","â¢":"*","á":",","á":".",$:"USD","â¬":"EUR","â¢":"BRN","â£":"FRF","\xa3":"GBP","â¤":"ITL","â¦":"NGN","â§":"ESP","â©":"KRW","âª":"ILS","â«":"VND","â":"LAK","â®":"MNT","â¯":"GRD","â±":"ARS","â²":"PYG","â³":"ARA","â´":"UAH","âµ":"GHS","\xa2":"cent","\xa5":"CNY",å
:"CNY",å:"YEN","ï·¼":"IRR","â ":"EWE","฿":"THB","â¨":"INR","â¹":"INR","â°":"PF","âº":"TRY","Ø":"AFN","â¼":"AZN",лв:"BGN","á":"KHR","â¡":"CRC","â¸":"KZT",ден:"MKD",zÅ:"PLN","â½":"RUB","â¾":"GEL"},i=["áº","Þ°"],o={"á¬":"a","á«":"a","á±":"e","á²":"e","á":"i","á®":"i","áá¯":"o","á¯":"u","á°":"u","á±á«ááº":"aung","á±á¬":"aw","á±á¬áº":"aw","á±á«":"aw","á±á«áº":"aw","áº":"áº",ááº:"et","áá¯ááº":"aik","á±á¬ááº":"auk",ááº:"in","áá¯ááº":"aing","á±á¬ááº":"aung",á
áº:"it",ááº:"i",ááº:"at","áááº":"eik","á¯ááº":"ok","á½ááº":"ut","á±ááº":"it",ááº:"d","áá¯ááº":"ok","á¯ááº":"ait",ááº:"an","á¬ááº":"an","áááº":"ein","á¯ááº":"on","á½ááº":"un",ááº:"at","áááº":"eik","á¯ááº":"ok","á½ááº":"ut",ááºá¯ááº:"nub",ááº:"an","áááº":"ein","á¯ááº":"on","á½ááº":"un",ááº:"e","áá¯ááº":"ol",ááº:"in","á¶":"an","áá¶":"ein","á¯á¶":"on","Þ¦ÞÞ°":"ah","Þ¦ÞÞ°":"ah"},a={en:{},az:{ç:"c",É:"e",Ä:"g",ı:"i",ö:"o",Å:"s",ü:"u",Ã:"C",Æ:"E",Ä:"G",İ:"I",Ã:"O",Å:"S",Ã:"U"},cs:{Ä:"c",Ä:"d",Ä:"e",Å:"n",Å:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Ä:"C",Ä:"D",Ä:"E",Å:"N",Å:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z"},fi:{ä:"a",Ã:"A",ö:"o",Ã:"O"},hu:{ä:"a",Ã:"A",ö:"o",Ã:"O",ü:"u",Ã:"U",ű:"u",Ű:"U"},lt:{Ä
:"a",Ä:"c",Ä:"e",Ä:"e",į:"i",Å¡:"s",ų:"u",Å«:"u",ž:"z",Ä:"A",Ä:"C",Ä:"E",Ä:"E",Ä®:"I",Å :"S",Ų:"U",Ū:"U"},lv:{Ä:"a",Ä:"c",Ä:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",Å:"n",Å¡:"s",Å«:"u",ž:"z",Ä:"A",Ä:"C",Ä:"E",Ä¢:"G",Ī:"i",Ķ:"k",Ä»:"L",Å
:"N",Å :"S",Ū:"u",Ž:"Z"},pl:{Ä
:"a",Ä:"c",Ä:"e",Å:"l",Å:"n",ó:"o",Å:"s",ź:"z",ż:"z",Ä:"A",Ä:"C",Ä:"e",Å:"L",Å:"N",Ã:"O",Å:"S",Ź:"Z",Å»:"Z"},sv:{ä:"a",Ã:"A",ö:"o",Ã:"O"},sk:{ä:"a",Ã:"A"},sr:{Ñ:"lj",Ñ:"nj",Ð:"Lj",Ð:"Nj",Ä:"dj",Ä:"Dj"},tr:{Ã:"U",Ã:"O",ü:"u",ö:"o"}},s={ar:{"â":"delta","â":"la-nihaya","â¥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","â":"majmou","\xa4":"omla"},az:{},ca:{"â":"delta","â":"infinit","â¥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","â":"suma dels","\xa4":"moneda"},cs:{"â":"delta","â":"nekonecno","â¥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","â":"soucet","\xa4":"mena"},de:{"â":"delta","â":"unendlich","â¥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","â":"Summe von","\xa4":"Waehrung"},dv:{"â":"delta","â":"kolunulaa","â¥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","â":"jumula","\xa4":"faisaa"},en:{"â":"delta","â":"infinity","â¥":"love","&":"and","|":"or","<":"less than",">":"greater than","â":"sum","\xa4":"currency"},es:{"â":"delta","â":"infinito","â¥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","â":"suma de los","\xa4":"moneda"},fa:{"â":"delta","â":"bi-nahayat","â¥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","â":"majmooe","\xa4":"vahed"},fi:{"â":"delta","â":"aarettomyys","â¥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","â":"summa","\xa4":"valuutta"},fr:{"â":"delta","â":"infiniment","â¥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","â":"somme des","\xa4":"monnaie"},ge:{"â":"delta","â":"usasruloba","â¥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","â":"jami","\xa4":"valuta"},gr:{},hu:{"â":"delta","â":"vegtelen","â¥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","â":"szumma","\xa4":"penznem"},it:{"â":"delta","â":"infinito","â¥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","â":"somma","\xa4":"moneta"},lt:{"â":"delta","â":"begalybe","â¥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","â":"suma","\xa4":"valiuta"},lv:{"â":"delta","â":"bezgaliba","â¥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","â":"summa","\xa4":"valuta"},my:{"â":"kwahkhyaet","â":"asaonasme","â¥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","â":"paungld","\xa4":"ngwekye"},mk:{},nl:{"â":"delta","â":"oneindig","â¥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","â":"som","\xa4":"valuta"},pl:{"â":"delta","â":"nieskonczonosc","â¥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","â":"suma","\xa4":"waluta"},pt:{"â":"delta","â":"infinito","â¥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","â":"soma","\xa4":"moeda"},ro:{"â":"delta","â":"infinit","â¥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","â":"suma","\xa4":"valuta"},ru:{"â":"delta","â":"beskonechno","â¥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","â":"summa","\xa4":"valjuta"},sk:{"â":"delta","â":"nekonecno","â¥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","â":"sucet","\xa4":"mena"},sr:{},tr:{"â":"delta","â":"sonsuzluk","â¥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","â":"toplam","\xa4":"para birimi"},uk:{"â":"delta","â":"bezkinechnist","â¥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","â":"suma","\xa4":"valjuta"},vn:{"â":"delta","â":"vo cuc","â¥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","â":"tong","\xa4":"tien te"}},l=";?:@&=+$,/",u=";?:@&=+$,",c=function(e,t){var n,c,h,p,g,m,v,y,w,b,x,C,E,k,_="-",A="",R="",S=!0,j={},M="";if("string"!=typeof e)return"";if("string"==typeof t&&(_=t),v=s.en,y=a.en,"object"==typeof t)for(x in n=t.maintainCase||!1,j=t.custom&&"object"==typeof t.custom?t.custom:j,h=+t.truncate>1&&t.truncate||!1,p=t.uric||!1,g=t.uricNoSlash||!1,m=t.mark||!1,S=!1!==t.symbols&&!1!==t.lang,_=t.separator||_,p&&(M+=l),g&&(M+=u),m&&(M+=".!~*'()"),v=t.lang&&s[t.lang]&&S?s[t.lang]:S?s.en:{},y=t.lang&&a[t.lang]?a[t.lang]:!1===t.lang||!0===t.lang?{}:a.en,t.titleCase&&"number"==typeof t.titleCase.length&&Array.prototype.toString.call(t.titleCase)?(t.titleCase.forEach(function(e){j[e+""]=e+""}),c=!0):c=!!t.titleCase,t.custom&&"number"==typeof t.custom.length&&Array.prototype.toString.call(t.custom)&&t.custom.forEach(function(e){j[e+""]=e+""}
12),Object.keys(j).forEach(function(t){var n;n=t.length>1?RegExp("\\b"+d(t)+"\\b","gi"):RegExp(d(t),"gi"),e=e.replace(n,j[t])}),j)M+=x;for(M+=_,M=d(M),e=e.replace(/(^\s+|\s+$)/g,""),E=!1,k=!1,b=0,C=e.length;b<C;b++)f(x=e[b],j)?E=!1:y[x]?(x=E&&y[x].match(/[A-Za-z0-9]/)?" "+y[x]:y[x],E=!1):x in r?(b+1<C&&i.indexOf(e[b+1])>=0?(R+=x,x=""):!0===k?(x=o[R]+r[x],R=""):x=E&&r[x].match(/[A-Za-z0-9]/)?" "+r[x]:r[x],E=!1,k=!1):x in o?(R+=x,x="",b===C-1&&(x=o[R]),k=!0):!v[x]||p&&-1!==l.indexOf(x)||g&&-1!==u.indexOf(x)?(!0===k?(x=o[R]+x,R="",k=!1):E&&(/[A-Za-z0-9]/.test(x)||A.substr(-1).match(/A-Za-z0-9]/))&&(x=" "+x),E=!1):(x=(E||A.substr(-1).match(/[A-Za-z0-9]/)?_+v[x]:v[x])+(void 0!==e[b+1]&&e[b+1].match(/[A-Za-z0-9]/)?_:""),E=!0),A+=x.replace(RegExp("[^\\w\\s"+M+"_-]","g"),_);return c&&(A=A.replace(/(\w)(\S*)/g,function(e,t,n){var r=t.toUpperCase()+(null!==n?n:"");return 0>Object.keys(j).indexOf(r.toLowerCase())?r:r.toLowerCase()})),A=A.replace(/\s+/g,_).replace(RegExp("\\"+_+"+","g"),_).replace(RegExp("(^\\"+_+"+|\\"+_+"+$)","g"),""),h&&A.length>h&&(w=A.charAt(h)===_,A=A.slice(0,h),w||(A=A.slice(0,A.lastIndexOf(_)))),n||c||(A=A.toLowerCase()),A},d=function(e){return e.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},f=function(e,t){for(var n in t)if(t[n]===e)return!0},e.exports?(e.exports=c,e.exports.createSlug=function(e){return function(t){return c(t,e)}}):void 0===(n=(function(){return c}).apply(t,[]))||(e.exports=n)},50066:function(e,t,n){"use strict";n.d(t,{f6:function(){return eR},vJ:function(){return eP},iv:function(){return ey},ZP:function(){return eO},F4:function(){return eL},Fg:function(){return eI}});var r,i=n(59864),o=n(67294),a=n(96774),s=n.n(a),l=function(e){function t(e,t,r){var i=t.trim().split(p);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var u=0;u<a;++u)t[l++]=n(e[u]+" ",i[s],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,o){var a=e+";",s=2*t+3*n+4*o;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===j||2===j&&i(l,1)?"-webkit-"+l+l:l}if(0===j||2===j&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(_,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";
vendor: 12,009 bytes, line 12
12case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,o).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),I(2!==t?r:r.replace(E,"$1"),n,t)}function o(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,i,o,a,s,u,c){for(var d,f=0,h=t;f<L;++f)switch(d=P[f].call(l,e,h,n,r,i,o,a,s,u,c)){case void 0:case!1:case!0:case null:break;default:h=d}if(h!==t)return h}function s(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?j=1:(j=2,I=e):j=0),s}function l(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<L){var l=a(-1,n,s,s,R,A,0,0,0,0);void 0!==l&&"string"==typeof l&&(n=l)}var d=function e(n,s,l,d,f){for(var h,p,g,w,x,C=0,E=0,k=0,_=0,P=0,I=0,D=g=h=0,T=0,N=0,F=0,H=0,V=l.length,z=V-1,B="",U="",Z="",W="";T<V;){if(p=l.charCodeAt(T),T===z&&0!==E+_+k+C&&(0!==E&&(p=47===E?10:47),_=k=C=0,V++,z++),0===E+_+k+C){if(T===z&&(0<N&&(B=B.replace(c,"")),0<B.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:B+=l.charAt(T)}p=59}switch(p){case 123:for(h=(B=B.trim()).charCodeAt(0),g=1,H=++T;T<V;){switch(p=l.charCodeAt(T)){case 123:g++;break;case 125:g--;break;case 47:switch(p=l.charCodeAt(T+1)){case 42:case 47:t:{for(D=T+1;D<z;++D)switch(l.charCodeAt(D)){case 47:if(42===p&&42===l.charCodeAt(D-1)&&T+2!==D){T=D+1;break t}break;case 10:if(47===p){T=D+1;break t}}T=D}}break;case 91:p++;case 40:p++;case 34:case 39:for(;T++<z&&l.charCodeAt(T)!==p;);}if(0===g)break;T++}if(g=l.substring(H,T),0===h&&(h=(B=B.replace(u,"").trim()).charCodeAt(0)),64===h){switch(0<N&&(B=B.replace(c,"")),p=B.charCodeAt(1)){case 100:case 109:case 115:case 45:N=s;break;default:N=M}if(H=(g=e(s,N,g,p,f+1)).length,0<L&&(N=t(M,B,F),x=a(3,g,N,s,R,A,H,p,f,d),B=N.join(""),void 0!==x&&0===(H=(g=x.trim()).length)&&(p=0,g="")),0<H)switch(p){case 115:B=B.replace(b,o);case 100:case 109:case 45:g=B+"{"+g+"}";break;case 107:g=(B=B.replace(m,"$1 $2"))+"{"+g+"}",g=1===j||2===j&&i("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=B+g,112===d&&(U+=g,g="")}else g=""}else g=e(s,t(s,B,F),g,d,f+1);Z+=g,g=F=N=D=h=0,B="",p=l.charCodeAt(++T);break;case 125:case 59:if(1<(H=(B=(0<N?B.replace(c,""):B).trim()).length))switch(0===D&&(45===(h=B.charCodeAt(0))||96<h&&123>h)&&(H=(B=B.replace(" ",":")).length),0<L&&void 0!==(x=a(1,B,s,n,R,A,U.length,d,f,d))&&0===(H=(B=x.trim()).length)&&(B="\0\0"),h=B.charCodeAt(0),p=B.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){W+=B+l.charAt(T);break}default:58!==B.charCodeAt(H-1)&&(U+=r(B,h,p,B.charCodeAt(2)))}F=N=D=h=0,B="",p=l.charCodeAt(++T)}}switch(p){case 13:case 10:47===E?E=0:0===1+h&&107!==d&&0<B.length&&(N=1,B+="\0"),0<L*O&&a(0,B,s,n,R,A,U.length,d,f,d),A=1,R++;break;case 59:case 125:if(0===E+_+k+C){A++;break}default:switch(A++,w=l.charAt(T),p){case 9:case 32:if(0===_+C+E)switch(P){case 44:case 58:case 9:case 32:w="";break;default:32!==p&&(w=" ")}break;case 0:w="\\0";break;case 12:w="\\f";break;case 11:w="\\v";break;case 38:0===_+E+C&&(N=F=1,w="\f"+w);break;case 108:if(0===_+E+C+S&&0<D)switch(T-D){case 2:112===P&&58===l.charCodeAt(T-3)&&(S=P);case 8:111===I&&(S=I)}break;case 58:0===_+E+C&&(D=T);break;case 44:0===E+k+_+C&&(N=1,w+="\r");break;case 34:case 39:0===E&&(_=_===p?0:0===_?p:_);break;case 91:0===_+E+k&&C++;break;case 93:0===_+E+k&&C--;break;case 41:0===_+E+C&&k--;break;case 40:0===_+E+C&&(0===h&&(2*P+3*I==533||(h=1)),k++);break;case 64:0===E+k+_+C+D+g&&(g=1);break;case 42:case 47:if(!(0<_+C+k))switch(E){case 0:switch(2*p+3*l.charCodeAt(T+1)){case 235:E=47;break;case 220:H=T,E=42}break;case 42:47===p&&42===P&&H+2!==T&&(33===l.charCodeAt(H+2)&&(U+=l.substring(H,T+1)),w="",E=0)}}0===E&&(B+=w)}I=P,P=p,T++}if(0<(H=U.length)){if(N=s,0<L&&void 0!==(x=a(2,U,N,n,R,A,H,d,f,d))&&0===(U=x).length)return W+U+Z;if(U=N.join(",")+"{"+U+"}",0!=j*S){switch(2!==j||i(U,2)||(S=0),S){case 111:U=U.replace(y,":-moz-$1")+U;break;case 112:U=U.replace(v,"::-webkit-input-$1")+U.replace(v,"::-moz-$1")+U.replace(v,":-ms-input-$1")+U}S=0}}return W+U+Z}(M,s,n,0,0);return 0<L&&void 0!==(l=a(-2,d,s,s,R,A,d.length,0,0,0))&&(d=l),S=0,A=R=1,d}var u=/^\0+/g,c=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,p=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,C=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,A=1,R=1,S=0,j=1,M=[],P=[],L=0,I=null,O=0;return l.use=function e(t){switch(t){case void 0:case null:L=P.length=0;break;default:if("function"==typeof t)P[L++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else O=0|!!t}return e},l.set=s,void 0!==e&&s(e),l},u={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},c=n(71068),d=n(8679),f=n.n(d),h=n(34155);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var g=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},m=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,i.typeOf)(e)},v=Object.freeze([]),y=Object.freeze({});function w(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function x(e){return e&&"string"==typeof e.styledComponentId}var C=void 0!==h&&(h.env.REACT_APP_SC_ATTR||h.env.SC_ATTR)||"data-styled",E="undefined"!=typeof window&&"HTMLElement"in window,k=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==h&&void 0!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==h.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&h.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==h&&void 0!==h.env.SC_DISABLE_SPEEDY&&""!==h.env.SC_DISABLE_SPEEDY&&"false"!==h.env.SC_DISABLE_SPEEDY&&h.env.SC_DISABLE_SPEEDY),_={};function A(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var R=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&A(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),S=new Map,j=new Map,M=1,P=function(e){if(S.has(e))return S.get(e);for(;j.has(M);)M++;var t=M++;return S.set(e,t),j.set(t,e),t},L=function(e,t){t>=M&&(M=t+1),S.set(e,t),j.set(t,e)},I="style["+C+'][data-styled-version="5.3.6"]',O=RegExp("^"+C+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),D=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},T=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(O);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(L(u,l),D(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},N=function(){return n.nc},F=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(C))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(C,"active"),r.setAttribute("data-styled-version","5.3.6");var a=N();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},H=function(){function e(e){var t=this.element=F(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}A(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(n){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),V=function(){function e(e){var t=this.element=F(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),z=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),B=E,U={isServer:!E,useCSSOMInjection:!k},Z=function(){function e(e,t,n){void 0===e&&(e=y),void 0===t&&(t={}),this.options=p({},U,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&E&&B&&(B=!1,function(e){for(var t=document.querySelectorAll(I),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(C)&&(T(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return P(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(p({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,n,r,i;return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new z(i):r?new H(i):new V(i),new R(e)))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(P(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(P(e),n)}
12,t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(P(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o,a=(o=i,j.get(o));if(void 0!==a){var s=e.names.get(a),l=t.getGroup(i);if(s&&l&&s.size){var u=C+".g"+i+'[id="'+a+'"]',c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=e+",")}),r+=""+l+u+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),W=/(a)(d)/gi,G=function(e){return String.fromCharCode(e+(e>25?39:97))};function q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=G(t%52)+n;return(G(t%52)+n).replace(W,"$1-$2")}var $=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},X=function(e){return $(5381,e)};function Y(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(w(n)&&!x(n))return!1}return!0}var K=X("5.3.6"),J=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Y(e),this.componentId=t,this.baseHash=$(K,t),this.baseStyle=n,Z.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash){if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=em(this.rules,e,t,n).join(""),a=q($(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}}else{for(var l=this.rules.length,u=$(this.baseHash,n.hash),c="",d=0;d<l;d++){var f=this.rules[d];if("string"==typeof f)c+=f;else if(f){var h=em(f,e,t,n),p=Array.isArray(h)?h.join(""):h;u=$(u,p+d),c+=p}}if(c){var g=q(u>>>0);if(!t.hasNameForId(r,g)){var m=n(c,"."+g,void 0,r);t.insertRules(r,g,m)}i.push(g)}}return i.join(" ")},e}(),Q=/^\s*\/\/.*$/gm,ee=[":","[",".","#"];function et(e){var t,n,r,i,o=void 0===e?y:e,a=o.options,s=o.plugins,u=void 0===s?v:s,c=new l(void 0===a?y:a),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(n){}}return function(n,r,i,o,a,s,l,u,c,d){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(i[0]+r),"";default:return r+(0===d?"/*|*/":"")}case -2:r.split("/*|*/}").forEach(t)}}}(function(e){d.push(e)}),h=function(e,r,o){return 0===r&&-1!==ee.indexOf(o[n.length])||o.match(i)?e:"."+t};function p(e,o,a,s){void 0===s&&(s="&");var l=e.replace(Q,"");return t=s,r=RegExp("\\"+(n=o)+"\\b","g"),i=RegExp("(\\"+n+"\\b){2,}"),c(a||!o?"":o,o&&a?a+" "+o+" { "+l+" }":l)}return c.use([].concat(u,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,h))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),p.hash=u.length?u.reduce(function(e,t){return t.name||A(15),$(e,t.name)},5381).toString():"",p}var en=o.createContext(),er=(en.Consumer,o.createContext()),ei=(er.Consumer,new Z),eo=et();function ea(){return(0,o.useContext)(en)||ei}function es(){return(0,o.useContext)(er)||eo}function el(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=ea(),a=(0,o.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,o.useMemo)(function(){return et({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return(0,o.useEffect)(function(){s()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),o.createElement(en.Provider,{value:a},o.createElement(er.Provider,{value:l},e.children))}var eu=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=eo);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return A(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=eo),this.name+e.hash},e}(),ec=/([A-Z])/,ed=/([A-Z])/g,ef=/^ms-/,eh=function(e){return"-"+e.toLowerCase()};function ep(e){return ec.test(e)?e.replace(ed,eh).replace(ef,"-ms-"):e}var eg=function(e){return null==e||!1===e||""===e};function em(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=em(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return eg(e)?"":x(e)?"."+e.styledComponentId:w(e)?"function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t?e:em(e(t),t,n,r):e instanceof eu?n?(e.inject(n,r),e.getName(r)):e:m(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!eg(t[a])&&(Array.isArray(t[a])&&t[a].isCss||w(t[a])?o.push(ep(a)+":",t[a],";"):m(t[a])?o.push.apply(o,e(t[a],a)):o.push(ep(a)+": "+(r=a,null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in u?String(i).trim():i+"px")+";"));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString()}var ev=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ey(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return w(e)||m(e)?ev(em(g(v,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ev(em(g
12(e,n)))}var ew=function(e,t,n){return void 0===n&&(n=y),e.theme!==n.theme&&e.theme||t||n.theme},eb=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ex=/(^-|-$)/g;function eC(e){return e.replace(eb,"-").replace(ex,"")}var eE=function(e){return q(X(e)>>>0)};function ek(e){return"string"==typeof e}var e_=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},eA=o.createContext();function eR(e){var t=(0,o.useContext)(eA),n=(0,o.useMemo)(function(){var n;return(n=e.theme)?w(n)?n(t):Array.isArray(n)||"object"!=typeof n?A(8):t?p({},t,{},n):n:A(14)},[e.theme,t]);return e.children?o.createElement(eA.Provider,{value:n},e.children):null}eA.Consumer;var eS={},ej=function(e){return function e(t,n,r){if(void 0===r&&(r=y),!(0,i.isValidElementType)(n))return A(1,String(n));var o=function(){return t(n,r,ey.apply(void 0,arguments))};return o.withConfig=function(i){return e(t,n,p({},r,{},i))},o.attrs=function(i){return e(t,n,p({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},o}(function e(t,n,r){var i=x(t),a=!ek(t),s=n.attrs,l=void 0===s?v:s,u=n.componentId,d=void 0===u?(k=n.displayName,_=n.parentComponentId,eS[A="string"!=typeof k?"sc":eC(k)]=(eS[A]||0)+1,R=A+"-"+eE("5.3.6"+A+eS[A]),_?_+"-"+R:R):u,h=n.displayName,g=void 0===h?ek(t)?"styled."+t:"Styled("+b(t)+")":h,m=n.displayName&&n.componentId?eC(n.displayName)+"-"+n.componentId:n.componentId||d,C=i&&t.attrs?Array.prototype.concat(t.attrs,l).filter(Boolean):l,E=n.shouldForwardProp;i&&t.shouldForwardProp&&(E=n.shouldForwardProp?function(e,r,i){return t.shouldForwardProp(e,r,i
12)&&n.shouldForwardProp(e,r,i)}:t.shouldForwardProp);var k,_,A,R,S,j=new J(r,m,i?t.componentStyle:void 0),M=j.isStatic&&0===l.length,P=function(e,t){return function(e,t,n,r){var i,a,s,l,u,d=e.attrs,f=e.componentStyle,h=e.defaultProps,g=e.foldedComponentIds,m=e.shouldForwardProp,v=e.styledComponentId,b=e.target,x=(void 0===(i=ew(t,(0,o.useContext)(eA),h)||y)&&(i=y),a=p({},t,{theme:i}),s={},d.forEach(function(e){var t,n,r,i=e;for(t in w(i)&&(i=i(a)),i)a[t]=s[t]="className"===t?(n=s[t],r=i[t],n&&r?n+" "+r:n||r):i[t]}),[a,s]),C=x[0],E=x[1],k=(l=ea(),u=es(),r?f.generateAndInjectStyles(y,l,u):f.generateAndInjectStyles(C,l,u)),_=E.$as||t.$as||E.as||t.as||b,A=ek(_),R=E!==t?p({},t,{},E):t,S={};for(var j in R)"$"!==j[0]&&"as"!==j&&("forwardedAs"===j?S.as=R[j]:(m?m(j,c.Z,_):!A||(0,c.Z)(j))&&(S[j]=R[j]));return t.style&&E.style!==t.style&&(S.style=p({},t.style,{},E.style)),S.className=Array.prototype.concat(g,v,k!==v?k:null,t.className,E.className).filter(Boolean).join(" "),S.ref=n,(0,o.createElement)(_,S)}(S,e,t,M)};return P.displayName=g,(S=o.forwardRef(P)).attrs=C,S.componentStyle=j,S.displayName=g,S.shouldForwardProp=E,S.foldedComponentIds=i?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):v,S.styledComponentId=m,S.target=i?t.target:t,S.withComponent=function(t){var i=n.componentId,o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(n,["componentId"]),a=i&&i+"-"+(ek(t)?t:eC(b(t)));return e(t,p({},o,{attrs:C,componentId:a}),r)},Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function e(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0;o<r.length;o++){var a,s=r[o];if(e_(s))for(var l in s)"__proto__"!==(a=l)&&"constructor"!==a&&"prototype"!==a&&function(t,n,r){var i=t[r];e_(n)&&e_(i)?e(i,n):t[r]=n}(t,s[l],l)}return t}({},t.defaultProps,e):e}}),S.toString=function(){return"."+S.styledComponentId},a&&f()(S,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),S},e)};["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","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){ej[e]=ej(e)});var eM=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Y(e),Z.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(em(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&Z.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function eP(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=ey.apply(void 0,[e].concat(n)),a="sc-global-"+eE(JSON.stringify(i)),s=new eM(i,a);function l(e){var t=ea(),n=es(),r=(0,o.useContext)(eA),i=(0,o.useRef)(t.allocateGSInstance(a)).current;return t.server&&u(i,e,t,r,n),(0,o.useLayoutEffect)(function(){if(!t.server)return u(i,e,t,r,n),function(){return s.removeStyles(i,t)}},[i,e,t,r,n]),null}function u(e,t,n,r,i){if(s.isStatic)s.renderStyles(e,_,n,i);else{var o=p({},t,{theme:ew(t,r,l.defaultProps)});s.renderStyles(e,o,n,i)}}return o.memo(l)}function eL(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=ey.apply(void 0,[e].concat(n)).join(""),o=eE(i);return new eu(o,i)}(r=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=N();
12return"<style "+[n&&'nonce="'+n+'"',C+'="true"','data-styled-version="5.3.6"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?A(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return A(2);var t,n=((t={})[C]="",t["data-styled-version"]="5.3.6",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=N();return r&&(n.nonce=r),[o.createElement("style",p({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Z({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(e){return this.sealed?A(2):o.createElement(el,{sheet:this.instance},e)},r.interleaveWithNodeStream=function(e){return A(3)};var eI=function(){return(0,o.useContext)(eA)},eO=ej},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}
12),t&&t.focus()}}},94786:function(e,t,n){"use strict";n.d(t,{V8:function(){return r}});class r{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(e,t=!1){return this.onePassHasher.start().appendStr(e).end(t)}static hashAsciiStr(e,t=!1){return this.onePassHasher.start().appendAsciiStr(e).end(t)}static _hex(e){let t,n,i,o;let a=r.hexChars,s=r.hexOut;for(o=0;o<4;o+=1)for(i=0,n=8*o,t=e[o];i<8;i+=2)s[n+1+i]=a.charAt(15&t),t>>>=4,s[n+0+i]=a.charAt(15&t),t>>>=4;return s.join("")}static _md5cycle(e,t){let n=e[0],r=e[1],i=e[2],o=e[3];n+=(r&i|~r&o)+t[0]-680876936|0,o+=((n=(n<<7|n>>>25)+r|0)&r|~n&i)+t[1]-389564586|0,i+=((o=(o<<12|o>>>20)+n|0)&n|~o&r)+t[2]+606105819|0,r+=((i=(i<<17|i>>>15)+o|0)&o|~i&n)+t[3]-1044525330|0,n+=((r=(r<<22|r>>>10)+i|0)&i|~r&o)+t[4]-176418897|0,o+=((n=(n<<7|n>>>25)+r|0)&r|~n&i)+t[5]+1200080426|0,i+=((o=(o<<12|o>>>20)+n|0)&n|~o&r)+t[6]-1473231341|0,r+=((i=(i<<17|i>>>15)+o|0)&o|~i&n)+t[7]-45705983|0,n+=((r=(r<<22|r>>>10)+i|0)&i|~r&o)+t[8]+1770035416|0,o+=((n=(n<<7|n>>>25)+r|0)&r|~n&i)+t[9]-1958414417|0,i+=((o=(o<<12|o>>>20)+n|0)&n|~o&r)+t[10]-42063|0,r+=((i=(i<<17|i>>>15)+o|0)&o|~i&n)+t[11]-1990404162|0,n+=((r=(r<<22|r>>>10)+i|0)&i|~r&o)+t[12]+1804603682|0,o+=((n=(n<<7|n>>>25)+r|0)&r|~n&i)+t[13]-40341101|0,i+=((o=(o<<12|o>>>20)+n|0)&n|~o&r)+t[14]-1502002290|0,r+=((i=(i<<17|i>>>15)+o|0)&o|~i&n)+t[15]+1236535329|0,n+=((r=(r<<22|r>>>10)+i|0)&o|i&~o)+t[1]-165796510|0,o+=((n=(n<<5|n>>>27)+r|0)&i|r&~i)+t[6]-1069501632|0,i+=((o=(o<<9|o>>>23)+n|0)&r|n&~r)+t[11]+643717713|0,r+=((i=(i<<14|i>>>18)+o|0)&n|o&~n)+t[0]-373897302|0,n+=((r=(r<<20|r>>>12)+i|0)&o|i&~o)+t[5]-701558691|0,o+=((n=(n<<5|n>>>27)+r|0)&i|r&~i)+t[10]+38016083|0,i+=((o=(o<<9|o>>>23)+n|0)&r|n&~r)+t[15]-660478335|0,r+=((i=(i<<14|i>>>18)+o|0)&n|o&~n)+t[4]-405537848|0,n+=((r=(r<<20|r>>>12)+i|0)&o|i&~o)+t[9]+568446438|0,o+=((n=(n<<5|n>>>27)+r|0)&i|r&~i)+t[14]-1019803690|0,i+=((o=(o<<9|o>>>23)+n|0)&r|n&~r)+t[3]-187363961|0,r+=((i=(i<<14|i>>>18)+o|0)&n|o&~n)+t[8]+1163531501|0,n+=((r=(r<<20|r>>>12)+i|0)&o|i&~o)+t[13]-1444681467|0,o+=((n=(n<<5|n>>>27)+r|0)&i|r&~i)+t[2]-51403784|0,i+=((o=(o<<9|o>>>23)+n|0)&r|n&~r)+t[7]+1735328473|0,r+=((i=(i<<14|i>>>18)+o|0)&n|o&~n)+t[12]-1926607734|0,n+=((r=(r<<20|r>>>12)+i|0)^i^o)+t[5]-378558|0,o+=((n=(n<<4|n>>>28)+r|0)^r^i)+t[8]-2022574463|0,i+=((o=(o<<11|o>>>21)+n|0)^n^r)+t[11]+1839030562|0,r+=((i=(i<<16|i>>>16)+o|0)^o^n)+t[14]-35309556|0,n+=((r=(r<<23|r>>>9)+i|0)^i^o)+t[1]-1530992060|0,o+=((n=(n<<4|n>>>28)+r|0)^r^i)+t[4]+1272893353|0,i+=((o=(o<<11|o>>>21)+n|0)^n^r)+t[7]-155497632|0,r+=((i=(i<<16|i>>>16)+o|0)^o^n)+t[10]-1094730640|0,n+=((r=(r<<23|r>>>9)+i|0)^i^o)+t[13]+681279174|0,o+=((n=(n<<4|n>>>28)+r|0)^r^i)+t[0]-358537222|0,i+=((o=(o<<11|o>>>21)+n|0)^n^r)+t[3]-722521979|0,r+=((i=(i<<16|i>>>16)+o|0)^o^n)+t[6]+76029189|0,n+=((r=(r<<23|r>>>9)+i|0)^i^o)+t[9]-640364487|0,o+=((n=(n<<4|n>>>28)+r|0)^r^i)+t[12]-421815835|0,i+=((o=(o<<11|o>>>21)+n|0)^n^r)+t[15]+530742520|0,r+=((i=(i<<16|i>>>16)+o|0)^o^n)+t[2]-995338651|0,r=(r<<23|r>>>9)+i|0,n+=(i^(r|~o))+t[0]-198630844|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[7]+1126891415|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[14]-1416354905|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[5]-57434055|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[12]+1700485571|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[3]-1894986606|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[10]-1051523|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[1]-2054922799|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[8]+1873313359|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[15]-30611744|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[6]-1560198380|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[13]+1309151649|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[4]-145523070|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[11]-1120210379|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[2]+718787259|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[9]-343485551|0,r=(r<<21|r>>>11)+i|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=i+e[2]|0,e[3]=o+e[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(r.stateIdentity),this}appendStr(e){let t,n;let i=this._buffer8,o=this._buffer32,a=this._bufferLength;for(n=0;n<e.length;n+=1){if((t=e.charCodeAt(n))<128)i[a++]=t;else if(t<2048)i[a++]=(t>>>6)+192,i[a++]=63&t|128;else if(t<55296||t>56319)i[a++]=(t>>>12)+224,i[a++]=t>>>6&63|128,i[a++]=63&t|128;else{if((t=(t-55296)*1024+(e.charCodeAt(++n)-56320)+65536)>1114111)throw Error("Unicode standard supports code points up to U+10FFFF");i[a++]=(t>>>18)+240,i[a++]=t>>>12&63|128,i[a++]=t>>>6&63|128,i[a++]=63&t|128}a>=64&&(this._dataLength+=64,r._md5cycle(this._state,o),a-=64,o[0]=o[16])}return this._bufferLength=a,this}appendAsciiStr(e){let t;let n=this._buffer8,i=this._buffer32,o=this._bufferLength,a=0;for(;;){for(t=Math.min(e.length-a,64-o);t--;)n[o++]=e.charCodeAt(a++);if(o<64)break;this._dataLength+=64,r._md5cycle(this._state,i),o=0}return this._bufferLength=o,this}appendByteArray(e){let t;let n=this._buffer8,i=this._buffer32,o=this._bufferLength,a=0;for(;;){for(t=Math.min(e.length-a,64-o);t--;)n[o++]=e[a++];if(o<64)break;this._dataLength+=64,r._md5cycle(this._state,i),o=0}return this._bufferLength=o,this}getState(){let e=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[e[0],e[1],e[2],e[3]]}}setState(e){let t;let n=e.buffer,r=e.state,i=this._state;for(t=0,this._dataLength=e.length,this._bufferLength=e.buflen,i[0]=r[0],i[1]=r[1],i[2]=r[2],i[3]=r[3];t<n.length;t+=1)this._buffer8[t]=n.charCodeAt(t)}end(e=!1){let t=this._bufferLength,n=this._buffer8,i=this._buffer32,o=(t>>2)+1;this._dataLength+=t;let a=8*this._dataLength;if(n[t]=128,n[t+1]=n[t+2]=n[t+3]=0,i.set(r.buffer32Identity.subarray(o),o),t>55&&(r._md5cycle(this._state,i),i.set(r.buffer32Identity)),a<=4294967295)i[14]=a;else{let s=a.toString(16).match(/(.*?)(.{0,8})$/);if(null===s)return;let l=parseInt(s[2],16),u=parseInt(s[1],16)||0;i[14]=l,i[15]=u}return r._md5cycle(this._state,i),e?this._state:r._hex(this._state)}}if(r.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),r.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),r.hexChars="0123456789abcdef",r.hexOut=[],r.onePassHasher=new r,"5d41402abc4b2a76b9719d911017c592"!==r.hashStr("hello"))throw Error("Md5 self test failed.")},67365:function(e,t,n){"use strict";var r=n(48145);e.exports=function(e,t,n){var o=r(n||t),a=null==t.cascade||t.cascade;return function e(t,n,r){var s,l,u,c,d;if(!o(t,n,r))return null;if(t.children){for(s=[],l=-1;++l<t.children.length;)(u=e(t.children[l],l,t))&&s.push(u);if(a&&t.children.length&&!s.length)return null}for(d in c={},t)i.call(t,d)&&(c[d]="children"===d?s:t[d]);return c}(e,null,null)};var i={}.hasOwnProperty},48145:function(e){"use strict";function t(){return!0}e.exports=function e(n){if(null==n)return t;if("string"==typeof n)return function(e){return Boolean(e&&e.type===n)};if("object"==typeof n)return"length"in n?function(t){for(var n=[],r=-1;++r<t.length;)n[r]=e(t[r]);return function(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(n):function(e){var t;for(t in n)if(e[t]!==n[t])return!1;return!0};if("function"==typeof n)return n;throw Error("Expected function, string, or object as test")}},66750:function(e){e.exports=function(e){return e}},99294:function(e,t,n){"use strict";e.exports=a;var r=n(48145),i=n(66750),o="skip";function a(e,t,n,a){var s,l;"function"==typeof t&&"function"!=typeof n&&(a=n,n=t,t=null),l=r(t),s=a?-1:1,(function e(r,u,c){var d,f="object"==typeof r&&null!==r?r:{};return"string"==typeof f.type&&(d="string"==typeof f.tagName?f.tagName:"string"==typeof f.name?f.name:void 0,h.displayName="node ("+i(f.type+(d?"<"+d+">":""))+")"),h;function h(){var i,d,f,h=c.concat(r),p=[];if((!t||l(r,u,c[c.length-1]||null))&&!1===(p=null!==(i=n(r,c))&&"object"==typeof i&&"length"in i?i:"number"==typeof i?[!0,i]:[i])[0])return p;if(r.children&&p[0]!==o)for(f=(a?r.children.length:-1)+s;f>-1&&f<r.children.length;){if(!1===(d=e(r.children[f],f,h)())[0])return d;f="number"==typeof d[1]?d[1]:f+s}return p}})(e,null,[])()}a.CONTINUE=!0,a.SKIP=o,a.EXIT=!1},98235:function(e,t,n){"use strict";function r(e){let{defaultDpr:t=1,maxDpr:n=3,round:r=!0}=e||{},i="undefined"!=typeof window&&"number"==typeof window.devicePixelRatio,o=i?window.devicePixelRatio:t;return Math.min(Math.max(1,r?Math.floor(o):o),n)}n.d(t,{x:function(){return r}}),n(67294)},47529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)t.call(r,i)&&(e[i]=r[i])}return e};var t=Object.prototype.hasOwnProperty},42079:function(e,t,n){"use strict";
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default,r=[],l=d.reduce(function(e,t){return e[t]=e[t]||[],e},{processOptions:[o.default],validateOptions:[a.default]});function f(e){var t=c.reduce(function(e,t){return e[t]=u(),e},{}),r=(0,i.default)(l),o=r("processOptions",e);r("validateOptions",o);var a={options:o,channels:t,applyMiddleware:r},s=null,d=t.request.subscribe(function(e){s=n(e,function(n,i){return function(e,n,i){var o=e,a=n;if(!o)try{a=r("onResponse",n,i)}catch(s){a=null,o=s}(o=o&&r("onError",o,i))?t.error.publish(o):a&&t.response.publish(a)}(n,i,e)})});t.abort.subscribe(function(){d(),s&&s.abort()});var f=r("onReturn",t,a);return f===t&&t.request.publish(a),f}return f.use=function(e){if(!e)throw Error("Tried to add middleware that resolved to falsey value");if("function"==typeof e)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&l.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return d.forEach(function(t){e[t]&&l[t].push(e[t])}),r.push(e),f},f.clone=function(){return e(r)},t.forEach(f.use),f};var r=l(n(86023)),i=l(n(87422)),o=l(n(55485)),a=l(n(24906)),s=l(n(16811));function l(e){return e&&e.__esModule?e:{default:e}}var u="default"in r.default?r.default.default:r.default,c=["request","response","progress","error","abort"],d=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];e.exports=t.default},55485:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(84564))&&r.__esModule?r:{default:r};function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a="undefined"!=typeof navigator&&"ReactNative"===navigator.product,s=Object.prototype.hasOwnProperty,l={timeout:a?6e4:12e4};function u(e){var t=[];for(var n in e)s.call(e,n)&&function e(n,r){Array.isArray(r)?r.forEach(function(t){return e(n,t)}):t.push([n,r].map(encodeURIComponent).join("="))}(n,e[n]);return t.length?t.join("&"):""}t.default=function(e){var t="string"==typeof e?o({url:e},l):o({},l,e),n=(0,i.default)(t.url,{},!0);return t.timeout=function e(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;var n=Number(t);return isNaN(n)?e(l.timeout):{connect:n,socket:n}}(t.timeout),t.query&&(n.query=o({},n.query,function(e){var t={};for(var n in e)void 0!==e[n]&&(t[n]=e[n]);return t}(t.query))),t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t.url=n.toString(u),t},e.exports=t.default},24906:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=/^https?:\/\//i;t.default=function(e){if(!n.test(e.url))throw Error('"'.concat(e.url,'" is not a valid URL'))},e.exports=t.default},65731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(47215)),i=a(n(4947)),o=a(n(30530));function a(e){return e&&e.__esModule?e:{default:e}}var s="undefined"==typeof document||"undefined"==typeof window?void 0:window,l=s?"xhr":"fetch",u="function"==typeof XMLHttpRequest?XMLHttpRequest:function(){},c="withCredentials"in new u,d="undefined"==typeof XDomainRequest?void 0:XDomainRequest,f=c?u:d;s||(u=o.default,f=o.default),t.default=function(e,t){var n=e.options,o=e.applyMiddleware("finalizeOptions",n),a={},c=s&&s.location&&!(0,r.default)(s.location.href,o.url),d=e.applyMiddleware("interceptRequest",void 0,{adapter:l,context:e});if(d){var h=setTimeout(t,0,null,d);return{abort:function(){return clearTimeout(h)}}}var p=c?new f:new u,g=s&&s.XDomainRequest&&p instanceof s.XDomainRequest,m=o.headers,v=o.timeout,y=!1,w=!1,b=!1;if(p.onerror=k,p.ontimeout=k,p.onabort=function(){E(!0),y=!0},p.onprogress=function(){},p[g?"onload":"onreadystatechange"]=function(){v&&(E(),a.socket=setTimeout(function(){return C("ESOCKETTIMEDOUT")},v.socket)),!y&&(4===p.readyState||g)&&0!==p.status&&function(){if(!y&&!w&&!b){if(0===p.status){k(Error("Unknown XHR error"));return}E(),w=!0,t(null,function(){var e=p.status,t=p.statusText;if(g&&void 0===e)e=200;else{if(e>12e3&&e<12156)return k();e=1223===p.status?204:p.status,t=1223===p.status?"No Content":t}return{body:p.response||p.responseText,url:o.url,method:o.method,headers:g?{}:(0,i.default)(p.getAllResponseHeaders()),statusCode:e,statusMessage:t}}())}}()},p.open(o.method,o.url,!0),p.withCredentials=!!o.withCredentials,m&&p.setRequestHeader)for(var x in m)m.hasOwnProperty(x)&&p.setRequestHeader(x,m[x]);else if(m&&g)throw Error("Headers cannot be set on an XDomainRequest object");return o.rawBody&&(p.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:o,adapter:l,request:p,context:e}
12),p.send(o.body||null),v&&(a.connect=setTimeout(function(){return C("ETIMEDOUT")},v.connect)),{abort:function(){y=!0,p&&p.abort()}};function C(t){b=!0,p.abort();var n=Error("ESOCKETTIMEDOUT"===t?"Socket timed out on request to ".concat(o.url):"Connection timed out on request to ".concat(o.url));n.code=t,e.channels.error.publish(n)}function E(e){(e||y||p.readyState>=2&&a.connect)&&clearTimeout(a.connect),a.socket&&clearTimeout(a.socket)}function k(e){if(!w){E(!0),w=!0,p=null;var n=e||Error("Network error while attempting to reach ".concat(o.url));n.isNetworkError=!0,n.request=o,t(n)}}},e.exports=t.default},30530:function(e,t){"use strict";function n(){this.readyState=0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n.prototype.open=function(e,t){this._method=e,this._url=t,this._resHeaders="",this.readyState=1,this.onreadystatechange()},n.prototype.abort=function(){this._controller&&this._controller.abort()},n.prototype.getAllResponseHeaders=function(){return this._resHeaders},n.prototype.setRequestHeader=function(e,t){this._headers=this._headers||{},this._headers[e]=t},n.prototype.send=function(e){var t=this,n=this._controller="function"==typeof AbortController&&new AbortController,r="arraybuffer"!==this.responseType,i={method:this._method,headers:this._headers,signal:n&&n.signal||void 0,body:e};"undefined"!=typeof document&&(i.credentials=this.withCredentials?"include":"omit"),fetch(this._url,i).then(function(e){return e.headers.forEach(function(e,n){t._resHeaders+="".concat(n,": ").concat(e,"\r\n")}),t.status=e.status,t.statusText=e.statusText,t.readyState=3,r?e.text():e.arrayBuffer()}).then(function(e){r?t.responseText=e:t.response=e,t.readyState=4,t.onreadystatechange()}).catch(function(e){if("AbortError"===e.name){t.onabort();return}t.onerror(e)})},t.default=n,e.exports=t.default},16811:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=((r=n(65731))&&r.__esModule?r:{default:r}).default;t.default=i,e.exports=t.default},87422:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){return function(t,n){for(var r="onError"===t,i=n,o=arguments.length,a=Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];for(var l=0;l<e[t].length&&(i=e[t][l].apply(void 0,[i].concat(a)),!r||i);l++);return i}},e.exports=t.default},88301:function(e,t,n){"use strict";function r(e){return e.split("-")[1]}function i(e){return"y"===e?"height":"width"}function o(e){return e.split("-")[0]}function a(e){return["top","bottom"].includes(o(e))?"x":"y"}function s(e,t,n){let s,{reference:l,floating:u}=e,c=l.x+l.width/2-u.width/2,d=l.y+l.height/2-u.height/2,f=a(t),h=i(f),p=l[h]/2-u[h]/2,g="x"===f;switch(o(t)){case"top":s={x:c,y:l.y-u.height};break;case"bottom":s={x:c,y:l.y+l.height};break;case"right":s={x:l.x+l.width,y:d};break;case"left":s={x:l.x-u.width,y:d};break;default:s={x:l.x,y:l.y}}switch(r(t)){case"start":s[f]-=p*(n&&g?-1:1);break;case"end":s[f]+=p*(n&&g?-1:1)}return s}n.d(t,{Cp:function(){return E},JB:function(){return c},RR:function(){return b},US:function(){return d},cv:function(){return k},oo:function(){return l},uY:function(){return _},x7:function(){return p}});let l=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=s(c,r,u),h=r,p={},g=0;for(let m=0;m<l.length;m++){let{name:v,fn:y}=l[m],{x:w,y:b,data:x,reset:C}=await y({x:d,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=w?w:d,f=null!=b?b:f,p={...p,[v]:{...p[v],...x}},C&&g<=50&&(g++,"object"==typeof C&&(C.placement&&(h=C.placement),C.rects&&(c=!0===C.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:d,y:f}=s(c,h,u)),m=-1)}return{x:d,y:f,placement:h,strategy:i,middlewareData:p}};function u(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}
12function c(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function d(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:g=0}=t,m=u(g),v=s[p?"floating"===h?"reference":"floating":h],y=c(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:d,rootBoundary:f,strategy:l})),w="floating"===h?{...a.floating,x:r,y:i}:a.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),x=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},C=c(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:b,strategy:l}):w);return{top:(y.top-C.top+m.top)/x.y,bottom:(C.bottom-y.bottom+m.bottom)/x.y,left:(y.left-C.left+m.left)/x.x,right:(C.right-y.right+m.right)/x.x}}let f=Math.min,h=Math.max,p=e=>({name:"arrow",options:e,async fn(t){let{element:n,padding:o=0}=e||{},{x:s,y:l,placement:c,rects:d,platform:p}=t;if(null==n)return{};let g=u(o),m={x:s,y:l},v=a(c),y=i(v),w=await p.getDimensions(n),b="y"===v?"top":"left",x="y"===v?"bottom":"right",C=d.reference[y]+d.reference[v]-m[v]-d.floating[y],E=m[v]-d.reference[v],k=await (null==p.getOffsetParent?void 0:p.getOffsetParent(n)),_=k?"y"===v?k.clientHeight||0:k.clientWidth||0:0;0===_&&(_=d.floating[y]);let A=g[b],R=_-w[y]-g[x],S=_/2-w[y]/2+(C/2-E/2),j=h(A,f(S,R)),M=null!=r(c)&&S!=j&&d.reference[y]/2-(S<A?g[b]:g[x])-w[y]/2<0;return{[v]:m[v]-(M?S<A?A-S:R-S:0),data:{[v]:j,centerOffset:S-j}}}}),g=["top","right","bottom","left"],m=(g.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function v(e){return e.replace(/left|right|bottom|top/g,e=>m[e])}let y={start:"end",end:"start"};function w(e){return e.replace(/start|end/g,e=>y[e])}let b=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,s,l;let{placement:u,middlewareData:c,rects:f,initialPlacement:h,platform:p,elements:g}=t,{mainAxis:m=!0,crossAxis:y=!0,fallbackPlacements:b,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:E=!0,...k}=e,_=o(u),A=o(h)===h,R=await (null==p.isRTL?void 0:p.isRTL(g.floating)),S=b||(A||!E?[v(h)]:function(e){let t=v(e);return[w(e),t,w(t)]}(h));b||"none"===C||S.push(...function(e,t,n,i){let a=r(e),s=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(o(e),"start"===n,i);return a&&(s=s.map(e=>e+"-"+a),t&&(s=s.concat(s.map(w)))),s}(h,E,C,R));let j=[h,...S],M=await d(t,k),P=[],L=(null==(n=c.flip)?void 0:n.overflows)||[];if(m&&P.push(M[_]),y){let{main:I,cross:O}=function(e,t,n){void 0===n&&(n=!1);let o=r(e),s=a(e),l=i(s),u="x"===s?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[l]>t.floating[l]&&(u=v(u)),{main:u,cross:v(u)}}(u,f,R);P.push(M[I],M[O])}if(L=[...L,{placement:u,overflows:P}],!P.every(e=>e<=0)){let D=((null==(s=c.flip)?void 0:s.index)||0)+1,T=j[D];if(T)return{data:{index:D,overflows:L},reset:{placement:T}};let N="bottom";switch(x){case"bestFit":{let F=null==(l=L.map(e=>[e,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0].placement;F&&(N=F);break}case"initialPlacement":N=h}if(u!==N)return{reset:{placement:N}}}return{}}}};function x(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function C(e){return g.some(t=>e[t]>=0)}let E=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{strategy:n="referenceHidden",...r}=e,{rects:i}=t;switch(n){case"referenceHidden":{let o=x(await d(t,{...r,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:C(o)}}}case"escaped":{let a=x(await d(t,{...r,altBoundary:!0}),i.floating);return{data:{escapedOffsets:a,escaped:C(a)}}}default:return{}}}}},k=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){let{x:n,y:i}=t,s=await async function(e,t){let{placement:n,platform:i,elements:s}=e,l=await (null==i.isRTL?void 0:i.isRTL(s.floating)),u=o(n),c=r(n),d="x"===a(n),f=["left","top"].includes(u)?-1:1,h=l&&d?-1:1,p="function"==typeof t?t(e):t,{mainAxis:g,crossAxis:m,alignmentAxis:v}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return c&&"number"==typeof v&&(m="end"===c?-1*v:v),d?{x:m*h,y:g*f}:{x:g*f,y:m*h}}(t,e);return{x:n+s.x,y:i+s.y,data:s}}}},_=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=e,p={x:n,y:r},g=await d(t,c),m=a(o(i)),v="x"===m?"y":"x",y=p[m],w=p[v];s&&(y=h(y+g["y"===m?"top":"left"],f(y,y-g["y"===m?"bottom":"right"]))),l&&(w=h(w+g["y"===v?"top":"left"],f(w,w-g["y"===v?"bottom":"right"])));let b=u.fn({...t,[m]:y,[v]:w});return{...b,data:{x:b.x-n,y:b.y-r}}}}}},55863:function(e,t,n){"use strict";let r;n.d(t,{Me:function(){return O},oo:function(){return D}});var i=n(88301);function o(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){return o(e).getComputedStyle(e)}function s(e){return d(e)?(e.nodeName||"").toLowerCase():""}function l(){if(r)return r;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?r=e.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function u(e){return e instanceof o(e).HTMLElement}function c(e){return e instanceof o(e).Element}function d(e){return e instanceof o(e).Node}function f(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function h(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=a(e);
12return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function p(e){let t=/firefox/i.test(l()),n=a(e),r=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!r&&"none"!==r||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some(e=>n.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{let t=n.contain;return null!=t&&t.includes(e)})}function g(){return!/^((?!chrome|android).)*safari/i.test(l())}function m(e){return["html","body","#document"].includes(s(e))}let v=Math.min,y=Math.max,w=Math.round;function b(e){let t=a(e),n=parseFloat(t.width),r=parseFloat(t.height),i=e.offsetWidth,o=e.offsetHeight,s=w(n)!==i||w(r)!==o;return s&&(n=i,r=o),{width:n,height:r,fallback:s}}function x(e){return c(e)?e:e.contextElement}let C={x:1,y:1};function E(e){let t=x(e);if(!u(t))return C;let n=t.getBoundingClientRect(),{width:r,height:i,fallback:o}=b(t),a=(o?w(n.width):n.width)/r,s=(o?w(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function k(e,t,n,r){var i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),l=x(e),u=C;t&&(r?c(r)&&(u=E(r)):u=E(e));let d=l?o(l):window,f=!g()&&n,h=(s.left+(f&&(null==(i=d.visualViewport)?void 0:i.offsetLeft)||0))/u.x,p=(s.top+(f&&(null==(a=d.visualViewport)?void 0:a.offsetTop)||0))/u.y,m=s.width/u.x,v=s.height/u.y;if(l){let y=o(l),w=r&&c(r)?o(r):r,b=y.frameElement;for(;b&&r&&w!==y;){let k=E(b),_=b.getBoundingClientRect(),A=getComputedStyle(b);_.x+=(b.clientLeft+parseFloat(A.paddingLeft))*k.x,_.y+=(b.clientTop+parseFloat(A.paddingTop))*k.y,h*=k.x,p*=k.y,m*=k.x,v*=k.y,h+=_.x,p+=_.y,b=o(b).frameElement}}return{width:m,height:v,top:p,right:h+m,bottom:p+v,left:h,x:h,y:p}}function _(e){return((d(e)?e.ownerDocument:e.document)||window.document).documentElement}function A(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function R(e){return k(_(e)).left+A(e).scrollLeft}function S(e){if("html"===s(e))return e;let t=e.assignedSlot||e.parentNode||(f(e)?e.host:null)||_(e);return f(t)?t.host:t}function j(e){return u(e)&&"fixed"!==a(e).position?e.offsetParent:null}function M(e){let t=o(e),n=j(e);for(;n&&["table","td","th"].includes(s(n))&&"static"===a(n).position;)n=j(n);return n&&("html"===s(n)||"body"===s(n)&&"static"===a(n).position&&!p(n))?t:n||function(e){let t=S(e);for(;u(t)&&!m(t);){if(p(t))return t;t=S(t)}return null}(e)||t}function P(e,t){var n;void 0===t&&(t=[]);let r=function e(t){let n=S(t);return m(n)?t.ownerDocument.body:u(n)&&h(n)?n:e(n)}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r);return i?t.concat(a,a.visualViewport||[],h(r)?r:[]):t.concat(r,P(r))}function L(e,t,n){return"viewport"===t?(0,i.JB)(function(e,t){let n=o(e),r=_(e),i=n.visualViewport,a=r.clientWidth,s=r.clientHeight,l=0,u=0;if(i){a=i.width,s=i.height;let c=g();(c||!c&&"fixed"===t)&&(l=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:l,y:u}}(e,n)):c(t)?function(e,t){let n=k(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=u(e)?E(e):{x:1,y:1},a=e.clientWidth*o.x,s=e.clientHeight*o.y,l=i*o.x,c=r*o.y;return{top:c,left:l,right:l+a,bottom:c+s,x:l,y:c,width:a,height:s}}(t,n):(0,i.JB)(function(e){var t;let n=_(e),r=A(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=y(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=y(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+R(e),u=-r.scrollTop;return"rtl"===a(i||n).direction&&(l+=y(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:l,y:u}}(_(e)))}let I={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o="clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=P(e).filter(e=>c(e)&&"body"!==s(e)),i=null,o="fixed"===a(e).position,l=o?S(e):e;for(;c(l)&&!m(l);){let u=a(l),d=p(l);(o?d||i:d||"static"!==u.position||!i||!["absolute","fixed"].includes(i.position))?i=u:r=r.filter(e=>e!==l),l=S(l)}return t.set(e,r),r}(t,this._c):[].concat(n),l=[...o,r],u=l[0],d=l.reduce((e,n)=>{let r=L(t,n,i);return e.top=y(r.top,e.top),e.right=v(r.right,e.right),e.bottom=v(r.bottom,e.bottom),e.left=y(r.left,e.left),e},L(t,u,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=u(n),o=_(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1},c={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==s(n)||h(o))&&(a=A(n)),u(n))){let d=k(n);l=E(n),c.x=d.x+n.clientLeft,c.y=d.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+c.x,y:t.y*l.y-a.scrollTop*l.y+c.y}},isElement:c,getDimensions:function(e){return b(e)},getOffsetParent:M,getDocumentElement:_,getScale:E,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||M,o=this.getDimensions;return{reference:function(e,t,n){let r=u(t),i=_(t),o=k(e,!0,"fixed"===n,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};if(r||!r&&"fixed"!==n){if(("body"!==s(t)||h(i))&&(a=A(t)),u(t)){let c=k(t,!0);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else i&&(l.x=R(i))}return{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}(t,await i(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===a(e).direction};function O(e,t,n,r){void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=l||o?[...c(e)?P(e):e.contextElement?P(e.contextElement):[],...P(t)]:[];
12u.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});let d,f=null;if(a){let h=!0;f=new ResizeObserver(()=>{h||n(),h=!1}),c(e)&&!s&&f.observe(e),c(e)||!e.contextElement||s||f.observe(e.contextElement),f.observe(t)}let p=s?k(e):null;return s&&function t(){let r=k(e);p&&(r.x!==p.x||r.y!==p.y||r.width!==p.width||r.height!==p.height)&&n(),p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{l&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==(e=f)||e.disconnect(),f=null,s&&cancelAnimationFrame(d)}}let D=(e,t,n)=>{let r=new Map,o={platform:I,...n},a={...o.platform,_c:r};return(0,i.oo)(e,t,{...o,platform:a})}},55379:function(e,t,n){"use strict";n.d(t,{MA:function(){return r},Q6:function(){return o},Sn:function(){return c},VG:function(){return l},ek:function(){return s},er:function(){return a},iN:function(){return i},ix:function(){return d},mE:function(){return u}});let r={50:{title:"Gray 50",hex:"#f2f3f5"},100:{title:"Gray 100",hex:"#e6e8ec"},200:{title:"Gray 200",hex:"#ced2d9"},300:{title:"Gray 300",hex:"#b6bcc6"},400:{title:"Gray 400",hex:"#9ea6b3"},500:{title:"Gray 500",hex:"#8690a0"},600:{title:"Gray 600",hex:"#6e7683"},700:{title:"Gray 700",hex:"#565d67"},800:{title:"Gray 800",hex:"#3f434a"},900:{title:"Gray 900",hex:"#272a2e"},950:{title:"Gray 950",hex:"#1b1d20"}},i={50:{title:"Blue 50",hex:"#e8f1fe"},100:{title:"Blue 100",hex:"#d2e3fe"},200:{title:"Blue 200",hex:"#a6c8fd"},300:{title:"Blue 300",hex:"#7aacfd"},400:{title:"Blue 400",hex:"#4e91fc"},500:{title:"Blue 500",hex:"#2276fc"},600:{title:"Blue 600",hex:"#1e61cd"},700:{title:"Blue 700",hex:"#1a4d9e"},800:{title:"Blue 800",hex:"#17396f"},900:{title:"Blue 900",hex:"#132540"},950:{title:"Blue 950",hex:"#111b29"}},o={50:{title:"Red 50",hex:"#fdebea"},100:{title:"Red 100",hex:"#fcd8d5"},200:{title:"Red 200",hex:"#f9b1ab"},300:{title:"Red 300",hex:"#f68b82"},400:{title:"Red 400",hex:"#f36458"},500:{title:"Red 500",hex:"#f03e2f"},600:{title:"Red 600",hex:"#c33529"},700:{title:"Red 700",hex:"#962c23"},800:{title:"Red 800",hex:"#69231d"},900:{title:"Red 900",hex:"#3c1a17"},950:{title:"Red 950",hex:"#261514"}},a={50:{title:"Yellow 50",hex:"#fef7da"},100:{title:"Yellow 100",hex:"#fdefb6"},200:{title:"Yellow 200",hex:"#fcdf6d"},300:{title:"Yellow 300",hex:"#fbd024"},400:{title:"Yellow 400",hex:"#d9b421"},500:{title:"Yellow 500",hex:"#b7991e"},600:{title:"Yellow 600",hex:"#967e1c"},700:{title:"Yellow 700",hex:"#746219"},800:{title:"Yellow 800",hex:"#534717"},900:{title:"Yellow 900",hex:"#312c14"},950:{title:"Yellow 950",hex:"#201e13"}},s={50:{title:"Green 50",hex:"#e7f9ed"},100:{title:"Green 100",hex:"#d0f4dc"},200:{title:"Green 200",hex:"#a1eaba"},300:{title:"Green 300",hex:"#72e097"},400:{title:"Green 400",hex:"#43d675"},500:{title:"Green 500",hex:"#3ab564"},600:{title:"Green 600",hex:"#329454"},700:{title:"Green 700",hex:"#297343"},800:{title:"Green 800",hex:"#215233"},900:{title:"Green 900",hex:"#183122"},950:{title:"Green 950",hex:"#14211a"}},l={gray:r,blue:i,purple:{50:{title:"Purple 50",hex:"#f8e9fe"},100:{title:"Purple 100",hex:"#f2d3fe"},200:{title:"Purple 200",hex:"#e6a7fd"},300:{title:"Purple 300",hex:"#d97bfd"},400:{title:"Purple 400",hex:"#cd4efc"},500:{title:"Purple 500",hex:"#c123fc"},600:{title:"Purple 600",hex:"#9d1fcd"},700:{title:"Purple 700",hex:"#7a1b9e"},800:{title:"Purple 800",hex:"#56186f"},900:{title:"Purple 900",hex:"#331440"},950:{title:"Purple 950",hex:"#211229"}},magenta:{50:{title:"Magenta 50",hex:"#fcebf5"},100:{title:"Magenta 100",hex:"#f9d7eb"},200:{title:"Magenta 200",hex:"#f4afd8"},300:{title:"Magenta 300",hex:"#ef87c4"},400:{title:"Magenta 400",hex:"#ea5fb1"},500:{title:"Magenta 500",hex:"#e5389e"},600:{title:"Magenta 600",hex:"#ba3082"},700:{title:"Magenta 700",hex:"#8f2866"},800:{title:"Magenta 800",hex:"#65204a"},900:{title:"Magenta 900",hex:"#3a182d"},950:{title:"Magenta 950",hex:"#25141f"}},red:o,orange:{50:{title:"Orange 50",hex:"#fef0e6"},100:{title:"Orange 100",hex:"#fee2ce"},200:{title:"Orange 200",hex:"#fdc59d"},300:{title:"Orange 300",hex:"#fca86d"}
12,400:{title:"Orange 400",hex:"#fb8b3c"},500:{title:"Orange 500",hex:"#e57322"},600:{title:"Orange 600",hex:"#ba5f1f"},700:{title:"Orange 700",hex:"#904b1b"},800:{title:"Orange 800",hex:"#653818"},900:{title:"Orange 900",hex:"#3a2415"},950:{title:"Orange 950",hex:"#251a13"}},yellow:a,green:s,cyan:{50:{title:"Cyan 50",hex:"#e3fafd"},100:{title:"Cyan 100",hex:"#c7f5fc"},200:{title:"Cyan 200",hex:"#90ecf9"},300:{title:"Cyan 300",hex:"#59e3f6"},400:{title:"Cyan 400",hex:"#22daf4"},500:{title:"Cyan 500",hex:"#1fb8ce"},600:{title:"Cyan 600",hex:"#1c97a8"},700:{title:"Cyan 700",hex:"#197583"},800:{title:"Cyan 800",hex:"#16545d"},900:{title:"Cyan 900",hex:"#133237"},950:{title:"Cyan 950",hex:"#112124"}}},u=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],c={title:"Black",hex:"#101112"},d={title:"White",hex:"#fff"}},40168:function(e,t,n){"use strict";n.d(t,{$lS:function(){return ei},AEM:function(){return tY},Adg:function(){return tK},BHU:function(){return eF},BWR:function(){return tu},CPA:function(){return tf},EI4:function(){return td},GVG:function(){return tC},HFL:function(){return tp},IEm:function(){return G},KML:function(){return I},Kmg:function(){return H},Kz2:function(){return eG},L4p:function(){return tk},LZ3:function(){return h},NWY:function(){return tO},NvX:function(){return tn},Oqj:function(){return e6},Ow9:function(){return eQ},Qq:function(){return eM},Que:function(){return j},ROc:function(){return eO},Rf5:function(){return ee},Rhe:function(){return tI},T39:function(){return z},TAM:function(){return ef},TIy:function(){return J},Two:function(){return U},Tzq:function(){return tQ},UEU:function(){return tJ},V13:function(){return ty},VVU:function(){return ew},W1M:function(){return tx},W5x:function(){return q},X5P:function(){return tg},XBm:function(){return ez},XCv:function(){return T},XHJ:function(){return tW},Y4O:function(){return f},YE8:function(){return ex},_8t:function(){return ey},aI:function(){return x},agZ:function(){return s},bg6:function(){return b},bnu:function(){return tD},buG:function(){return eJ},cMY:function(){return tj},d$S:function(){return K},dNJ:function(){return W},dY8:function(){return eE},dtP:function(){return l},dwl:function(){return tL},foC:function(){return t4},fzI:function(){return tE},g8U:function(){return N},h32:function(){return eY},hQ6:function(){return eW},hsE:function(){return eL},iro:function(){return tA},j29:function(){return Y},jtq:function(){return ti},kLh:function(){return e9},kLv:function(){return e4},mY4:function(){return k},nSX:function(){return L},o1U:function(){return tl},oty:function(){return eX},oyc:function(){return t8},rG2:function(){return t5},reJ:function(){return tS},sLo:function(){return S},sTT:function(){return C},tgp:function(){return tz},uIy:function(){return ej},ugZ:function(){return er},v4q:function(){return O},vaB:function(){return o},vaD:function(){return tm},veu:function(){return d},wNq:function(){return tP},wyc:function(){return D},xEY:function(){return t0},xPt:function(){return e0},yEv:function(){return te},ySV:function(){return e$},zGg:function(){return e_}});var r=n(67294),i=n(85893);let o=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"access-denied",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M18.1569 6.84315C21.281 9.96734 21.281 15.0327 18.1569 18.1569C15.0327 21.281 9.96734 21.281 6.84314 18.1569C3.71895 15.0327 3.71895 9.96734 6.84314 6.84315C9.96734 3.71895 15.0327 3.71895 18.1569 6.84315ZM18.1569 6.84315L6.84401 18.156",stroke:"currentColor",strokeWidth:1.2})})}),a=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"activity",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M21 15H19L15.5 7L11 18L8 12L6 15H4",stroke:"currentColor",strokeWidth:1.2})})}),s=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"add-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8 12.4H17M12.5 8V17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),l=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"add",
12width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 5V20M5 12.5H20",stroke:"currentColor",strokeWidth:1.2})})}),u=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"api",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M5.93047 13.2107L6.66782 10.3728H6.73089L7.45854 13.2107H5.93047ZM8.17164 16H9.66089L7.56041 9H5.93047L3.82999 16H5.20767L5.65396 14.2876H7.73505L8.17164 16Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M10.5389 9V16H11.9166V13.7782H13.0323C14.541 13.7782 15.5015 12.8517 15.5015 11.3964C15.5015 9.92654 14.5701 9 13.1003 9H10.5389ZM11.9166 10.1303H12.751C13.6533 10.1303 14.1044 10.5475 14.1044 11.3867C14.1044 12.2308 13.6533 12.6431 12.751 12.6431H11.9166V10.1303Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z",fill:"currentColor"})]})}),c=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"archive",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M16 14L12.5 17.5L9 14M4.5 7.5V20.5H20.5V7.5L18.5 4.5H6.5L4.5 7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.5 10.5V17",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M4.5 7.5H20.5",stroke:"currentColor",strokeWidth:1.2})]})}),d=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"arrow-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 18.5V6M12.5 18.5L18 13M12.5 18.5L7 13",stroke:"currentColor",strokeWidth:1.2})})}),f=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"arrow-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12 18L6.5 12.5L12 7M6.5 12.5H19",stroke:"currentColor",strokeWidth:1.2})})}),h=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M13 7L18.5 12.5L13 18M18.5 12.5H6",stroke:"currentColor",strokeWidth:1.2})})}),p=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"arrow-top-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M9 8.5H16.5V16",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16.5 8.5L7 18",stroke:"currentColor",strokeWidth:1.2})]})}),g=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"arrow-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 6V18.5M7 11.5L12.5 6L18 11.5",stroke:"currentColor",strokeWidth:1.2})})}),m=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"bar-chart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7",stroke:"currentColor",strokeWidth:1.2})})}),v=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"basket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M8.5 10.5H5L6.5 19.5H18.5L20 10.5H16.5M8.5 10.5L10.2721 5.18377C10.4082 4.77543 10.7903 4.5 11.2208 4.5H13.7792C14.2097 4.5 14.5918 4.77543 14.7279 5.18377L16.5 10.5M8.5 10.5H16.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.5 10.5V19.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9.5 19.5L8.5 10.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M15.5 19.5L16.5 10.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M19.5 13.5H5.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M19 16.5H6",stroke:"currentColor",strokeWidth:1.2})]})}),y=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"bell",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10.5 17.5V18.5C10.5 20 11.5 20.5 12.5 20.5C13.5 20.5 14.5 20 14.5 18.5V17.5M5.5 17C6.5 15.5 6.5 15 6.5 12C6.5 8 8.5 5.5 12.5 5.5C16.5 5.5 18.5 8 18.5 12C18.5 15 18.5 15.5 19.5 17V17.5H5.5V17Z",stroke:"currentColor",strokeWidth:1.2})})}),w=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"bill",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M6.50001 5.5C8.50003 5.5 8.50003 8 8.50003 8V9.5M6.50001 5.5C4.5 5.5 4.5 8 4.5 8L4.50001 9.5H8.50003M6.50001 5.5C6.50001 5.5 15.8333 5.5 17.6667 5.5C19.5 5.5 19.5 8.5 19.5 8.5V20L17.6667 19L15.8333 20L14 19L12.1667 20L10.3334 19L8.50003 20V9.5M11 12.5H15M11 9.5H16M11 15.5H16",stroke:"currentColor",strokeWidth:1.2})})}),b=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"binary-document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M9.5 11.5V16.5M10.5 4.5H18.5V20.5
12H6.5V8.5L10.5 4.5ZM12.5 11.5V16.5H15.5V11.5H12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square"}),(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5",stroke:"currentColor",strokeWidth:1.2})]})}),x=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"block-content",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7.59999L11 7.59999V6.39999L21 6.39999V7.59999Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 18.6002H4V17.4002H21V18.6002Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M9.86438 15.6H11.2L8.27623 7.59999H6.92377L4 15.6H5.29072L6.0371 13.4766H9.12362L9.86438 15.6ZM7.53546 9.05252H7.63086L8.80374 12.4344H6.35698L7.53546 9.05252Z",fill:"currentColor"})]})}),C=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"block-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M6.5 8.5V7.9H5.9V8.5H6.5ZM18.5 8.5H19.1V7.9H18.5V8.5ZM6.5 16.5H5.9V17.1H6.5V16.5ZM18.5 16.5V17.1H19.1V16.5H18.5ZM6.5 9.1H18.5V7.9H6.5V9.1ZM7.1 16.5V8.5H5.9V16.5H7.1ZM18.5 15.9H6.5V17.1H18.5V15.9ZM17.9 8.5V16.5H19.1V8.5H17.9ZM5 20.1H20V18.9H5V20.1ZM5 6.1H20V4.9H5V6.1Z",fill:"currentColor"})})}),E=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"blockquote",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18",stroke:"currentColor",strokeWidth:1.2})})}),k=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"bold",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M13.2087 18C15.5322 18 16.9731 16.793 16.9731 14.8844C16.9731 13.4812 15.9245 12.3949 14.4836 12.2892V12.1534C15.6001 11.9875 16.4526 10.9841 16.4526 9.82991C16.4526 8.14761 15.1927 7.11409 13.0804 7.11409H8.32019V18H13.2087ZM10.5985 8.85674H12.4995C13.5859 8.85674 14.212 9.37727 14.212 10.2448C14.212 11.1199 13.5406 11.6254 12.3109 11.6254H10.5985V8.85674ZM10.5985 16.2574V13.1643H12.575C13.9178 13.1643 14.6496 13.6924 14.6496 14.6882C14.6496 15.7066 13.9404 16.2574 12.6278 16.2574H10.5985Z",fill:"currentColor"})})}),_=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"book",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 18.5L4.5 19.5V18.5M12.5 18.5L20.5 19.5V18.5M12.5 18.5V6.5M12.5 18.5H4.5M12.5 18.5H20.5M4.5 18.5V17.5M20.5 18.5V17.5M4.5 5.5V17.5L12.5 18.5L20.5 17.5V5.5L12.5 6.5L4.5 5.5Z",stroke:"currentColor",strokeWidth:1.2})})}),A=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"bottle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M7.5 17.5L17.5 17.5M17.5 13C17.5 12.087 17.5 11.3518 17.5 11C17.5 8.5 14.5 9 14.5 7.37494L14.5 5.5M17.5 13C17.5 15.1229 17.5 18.7543 17.5 20.5022C17.5 21.0545 17.0523 21.5 16.5 21.5L8.5 21.5C7.94771 21.5 7.5 21.0547 7.5 20.5024C7.5 18.8157 7.5 15.3546 7.5 13M17.5 13L7.5 13M7.5 13C7.5 12.2538 7.5 11.5648 7.5 11C7.5 8.5 10.5 9 10.5 7.37494L10.5 5.5M10.5 5.5L10.5 3.99999C10.5 3.72385 10.7239 3.49999 11 3.49999L14 3.49999C14.2761 3.49999 14.5 3.72385 14.5 3.99999L14.5 5.5M10.5 5.5L14.5 5.5",stroke:"currentColor",strokeWidth:1.2})})}),R=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"bulb-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4272 14.3368C15.8273 15.1773 15.5 16.
121794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H14V20.5C14 21.0523 13.5523 21.5 13 21.5H12C11.4477 21.5 11 21.0523 11 20.5V19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10C18 11.94 17.3978 12.9767 16.4272 14.3368Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M16.4272 14.3368L15.9388 13.9883L16.4272 14.3368ZM14 19.5V18.9H13.4V19.5H14ZM11 19.5H11.6V18.9H11V19.5ZM8.57284 14.3368L9.06122 13.9883H9.06122L8.57284 14.3368ZM16.1 17.212C16.1 16.3069 16.3868 15.4261 16.9155 14.6853L15.9388 13.9883C15.2678 14.9284 14.9 16.0519 14.9 17.212H16.1ZM16.1 18.5V17.212H14.9V18.5H16.1ZM14.5 20.1C15.3837 20.1 16.1 19.3837 16.1 18.5H14.9C14.9 18.7209 14.7209 18.9 14.5 18.9V20.1ZM14 20.1H14.5V18.9H14V20.1ZM13.4 19.5V20.5H14.6V19.5H13.4ZM13.4 20.5C13.4 20.7209 13.2209 20.9 13 20.9V22.1C13.8837 22.1 14.6 21.3837 14.6 20.5H13.4ZM13 20.9H12V22.1H13V20.9ZM12 20.9C11.7791 20.9 11.6 20.7209 11.6 20.5H10.4C10.4 21.3837 11.1163 22.1 12 22.1V20.9ZM11.6 20.5V19.5H10.4V20.5H11.6ZM10.5 20.1H11V18.9H10.5V20.1ZM8.9 18.5C8.9 19.3837 9.61634 20.1 10.5 20.1V18.9C10.2791 18.9 10.1 18.7209 10.1 18.5H8.9ZM8.9 17.212V18.5H10.1V17.212H8.9ZM8.08446 14.6853C8.61315 15.4261 8.9 16.3069 8.9 17.212H10.1C10.1 16.0519 9.73217 14.9284 9.06122 13.9883L8.08446 14.6853ZM6.4 10C6.4 11.0377 6.56208 11.8595 6.86624 12.611C7.16624 13.3521 7.59495 13.9995 8.08446 14.6853L9.06122 13.9883C8.58004 13.3
1214 8.22233 12.7629 7.97858 12.1607C7.739 11.5688 7.6 10.9023 7.6 10H6.4ZM12.5 3.9C9.16863 3.9 6.4 6.66863 6.4 10H7.6C7.6 7.33137 9.83137 5.1 12.5 5.1V3.9ZM18.6 10C18.6 6.66863 15.8314 3.9 12.5 3.9V5.1C15.1686 5.1 17.4 7.33137 17.4 10H18.6ZM16.9155 14.6853C17.4051 13.9995 17.8338 13.3521 18.1338 12.611C18.4379 11.8595 18.6 11.0377 18.6 10H17.4C17.4 10.9023 17.261 11.5688 17.0214 12.1607C16.7777 12.7629 16.42 13.314 15.9388 13.9883L16.9155 14.6853Z",fill:"currentColor"})]})}),S=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"bulb-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M9.5 16.5H15.5M11 20V20.5C11 21.0523 11.4477 21.5 12 21.5H13C13.5523 21.5 14 21.0523 14 20.5V20M18 10C18 11.94 17.3978 12.9767 16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10Z",stroke:"currentColor",strokeWidth:1.2})})}),j=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"calendar",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M4.5 10.5V19.5H20.5V10.5M4.5 10.5V5.5H20.5V10.5M4.5 10.5H12.5H20.5M20.5 13.5H16.5M16.5 13.5H12.5M16.5 13.5V10.5M16.5 13.5V16.5M12.5 13.5H8.5M12.5 13.5V16.5M12.5 13.5V10.5M8.5 13.5H4.5M8.5 13.5V10.5M8.5 13.5V16.5M20.5 16.5H16.5M16.5 16.5H12.5M16.5 16.5V19.5M12.5 16.5H8.5M12.5 16.5V19.5M8.5 16.5H4.5M8.5 16.5V19.5M17.5 8V3M7.5 8V3",stroke:"currentColor",strokeWidth:1.2})})}),M=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"case",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M9 8.5122V6C9 5.44772 9.44772 5 10 5H15C15.5523 5 16 5.44772 16 6V8.5122M4.5 12V18.5C4.5 19.0523 4.94772 19.5 5.5 19.5H19.5C20.0523 19.5 20.5 19.0523 20.5 18.5V12M4.5 12V9.5122C4.5 8.95991 4.94772 8.5122 5.5 8.5122H19.5C20.0523 8.5122 20.5 8.95991 20.5 9.5122V12M4.5 12L11.7978 14.7367C12.2505 14.9064 12.7495 14.9064 13.2022 14.7367L20.5 12",stroke:"currentColor",strokeWidth:1.2})})}),P=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"chart-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5",stroke:"currentColor",strokeWidth:1.2})})}),L=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"checkmark-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M9.5 12.1316L11.7414 14.5L16 10M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),I=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"checkmark",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",stroke:"currentColor",strokeWidth:1.2})})}),O=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M17 10.5L12.5 15L8 10.5",stroke:"currentColor",strokeWidth:1.2})})}),D=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M14.5 17L10 12.5L14.5 8",stroke:"currentColor",strokeWidth:1.2})})}),T=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10.5 8L15 12.5L10.5 17",stroke:"currentColor",strokeWidth:1.2})})}),N=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8 14.5L12.5 10L17 14.5",stroke:"currentColor",strokeWidth:1.2})})}),F=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2})})}),H=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"clipboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8 5.5H6.5V19.5H18.5V5.5H17M12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2})})}),V=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"clipboard-image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8 5.5H6.5V19.5H10.5M17 5.5H18.5V11.5M10.5 18.5L12.73 15.8983C13.1327 15.4285 13.8613 15.4335 14.2575 15.909L15.299 17.1588C15.6754 17.6105 16.3585 17.6415 16.7743 17.2257L16.9903 17.0097C17.2947 16.7053 17.7597 16.6298 18.1447 16.8223L20.5 18M10.5 11.5H20.5V21.5H10.5V11.5ZM12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2})})}),z=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"clock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 8V12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),B=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"close-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M9.5 15.5L12.5 12.5M12.5 12.5L15.5 9.5M12.5 12.5L9.5 9.5M12.5 12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),U=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"close",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M18 7L7 18M7 7L18 18",stroke:"currentColor",strokeWidth:1.2})})}),Z=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"code-block",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M11 15L8.5 12.5L11 10M14 10L16.5 12.5L14 15M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2})})}),W=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"code",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M7.5 12.5L7.07574 12.0757L6.65147 12.5L7.07574 12.9243L7.5 12.5ZM17.5 12.5L17.9243 12.9243L18.3485 12.5L17.9243 12.0757L17.5 12.5ZM11.4243 15.5757L7.92426 12.0757L7.07574 12.9243L10.5757 16.4243L11.4243 15.5757ZM7.92426 12.9243L11.4243 9.42426L10.5757 8.57574L7.07574 12.0757L7.92426 12.9243ZM13.5757 9.42426L17.0757 12.9243L17.9243 12.0757L14.4243 8.57574L13.5757 9.42426ZM17.0757 12.0757L13.5757 15.5757L14.4243 16.4243L17.9243 12.9243L17.0757 12.0757Z",fill:"currentColor"})})}),G=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"cog",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M14.2624 5.40607L13.8714 4.42848C13.6471 3.86771 13.104 3.5 12.5 3.5C11.896 3.5 11.3529 3.86771 11.1286 4.42848L10.7376 5.40607C10.5857 5.78585 10.2869 6.08826 9.90901 6.2448C9.53111 6.40133 9.10603 6.39874 8.73006 6.23761L7.76229 5.82285C7.20716 5.58494 6.56311 5.70897 6.13604 6.13604C5.70897 6.56311 5.58494 7.20716 5.82285 7.76229L6.23761 8.73006C6.39874 9.10602 6.40133 9.53111 6.2448 9.90901C6.08826 10.2869 5.78585 10.5857 5.40607 10.7376L4.42848 11.1286C3.86771 11.3529 3.5 11.896 3.5 12.5C3.5 13.104 3.86771 13.6471 4.42848 13.8714L5.40607 14.2624C5.78585 14.4143 6.08826 14.7131 6.2448 15.091C6.40133 15.4689 6.39874 15.894 6.23761 16.2699L5.82285 17.2377C5.58494 17.7928 5.70897 18.4369 6.13604 18.864C6.56311 19.291 7.20716 19.4151 7.76229 19.1772L8.73006 18.7624C9.10603 18.6013 9.53111 18.5987 9.90901 18.7552C10.2869 18.9117 10.5857 19.2141 10.7376 19.5939L11.1286 20.5715C11.3529 21.1323 11.896 21.5 12.5 21.5C13.104 21.5 13.6471 21.1323 13.8714 20.5715L14.2624 19.5939C14.4143 19.2141 14.7131 18.9117 15.091 18.7552C15.4689 18.5987 15.894 18.6013 16.2699 18.7624L17.2377 19.1771C17.7928 19.4151 18.4369 19.291 18.864 18.864C19.291 18.4369 19.4151 17.7928 19.1771 17.2377L18.7624 16.2699C18.6013 15.894 18.5987 15.4689 18.7552 15.091C18.911
127 14.7131 19.2141 14.4143 19.5939 14.2624L20.5715 13.8714C21.1323 13.6471 21.5 13.104 21.5 12.5C21.5 11.896 21.1323 11.3529 20.5715 11.1286L19.5939 10.7376C19.2141 10.5857 18.9117 10.2869 18.7552 9.90901C18.5987 9.53111 18.6013 9.10602 18.7624 8.73006L19.1772 7.76229C19.4151 7.20716 19.291 6.56311 18.864 6.13604C18.4369 5.70897 17.7928 5.58494 17.2377 5.82285L16.2699 6.23761C15.894 6.39874 15.4689 6.40133 15.091 6.2448C14.7131 6.08826 14.4143 5.78585 14.2624 5.40607Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16.5 12.5C16.5 14.7091 14.7091 16.5 12.5 16.5C10.2909 16.5 8.5 14.7091 8.5 12.5C8.5 10.2909 10.2909 8.5 12.5 8.5C14.7091 8.5 16.5 10.2909 16.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),q=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"collapse",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M10.5 14.5L6 19",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M14.5 10.5L19 6",stroke:"currentColor",strokeWidth:1.2})]})}),$=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"comment",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z",stroke:"currentColor",strokeWidth:1.2})})}),X=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"component",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8.5 8.5L12.5 12.5M12.5 12.5L16.5 16.5M12.5 12.5L16.5 8.5M12.5 12.5L8.5 16.5M12.5 4L21 12.5L12.5 21L4 12.5L12.5 4Z",stroke:"currentColor",strokeWidth:1.2})})}),Y=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"compose",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M17 6L19 8M14 5.5H5.5V19.5H19.5V11M9 16L9.5 13.5L19 4L21 6L11.5 15.5L9 16Z",stroke:"currentColor",strokeWidth:1.2})})}),K=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"controls",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M6.5 5V7.5M6.5 7.5C5.39543 7.5 4.5 8.39543 4.5 9.5C4.5 10.6046 5.39543 11.5 6.5 11.5M6.5 7.5C7.60457 7.5 8.5 8.39543 8.5 9.5C8.5 10.6046 7.60457 11.5 6.5 11.5M6.5 11.5V20M12.5 5V13.5M12.5 13.5C11.3954 13.5 10.5 14.3954 10.5 15.5C10.5 16.6046 11.3954 17.5 12.5 17.5M12.5 13.5C13.6046 13.5 14.5 14.3954 14.5 15.5C14.5 16.6046 13.6046 17.5 12.5 17.5M12.5 17.5V20M18.5 5V7.5M18.5 7.5C17.3954 7.5 16.5 8.39543 16.5 9.5C16.5 10.6046 17.3954 11.5 18.5 11.5M18.5 7.5C19.6046 7.5 20.5 8.39543 20.5 9.5C20.5 10.6046 19.6046 11.5 18.5 11.5M18.5 11.5V20",stroke:"currentColor",strokeWidth:1.2})})}),J=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"copy",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z",stroke:"currentColor",strokeWidth:1.2})})}),Q=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"credit-card",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M4.5 10.5H20.5M4.5 9.5H20.5M4.5 11.5H20.5M7 15.5H14M5.5 18.5H19.5C20.0523 18.5 20.5 18.0523 20.5 17.5V7.5C20.5 6.94772 20.0523 6.5 19.5 6.5H5.5C4.94772 6.5 4.5 6.94772 4.5 7.5V17.5C4.5 18.0523 4.94772 18.5 5.5 18.5Z",stroke:"currentColor",strokeWidth:1.2})})}),ee=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"crop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8.5 4V16.5H21M4 8.5H16.5V21",stroke:"currentColor",strokeWidth:1.2})})}),et=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"dashboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M14.5 19.5V12.5M10.5 12.5V5.5M5.5 12.5H19.5M5.5 19.5H19.5V5.5H5.5V19.5Z",stroke:"currentColor",strokeWidth:1.2})})}),en=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"database",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M18.5 7V17.5C18.5 19.0594 16.
120504 20.5 12.5 20.5C8.9496 20.5 6.5 19.0594 6.5 17.5V7M18.5 7C18.5 8.45543 15.8137 9.5 12.5 9.5C9.18629 9.5 6.5 8.45543 6.5 7C6.5 5.54457 9.18629 4.5 12.5 4.5C15.8137 4.5 18.5 5.54457 18.5 7Z",stroke:"currentColor",strokeWidth:1.2})})}),er=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"desktop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M4.5 14.5V16.5C4.5 17.0523 4.94772 17.5 5.5 17.5H12.5M4.5 14.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V14.5M4.5 14.5H20.5M20.5 14.5V16.5C20.5 17.0523 20.0523 17.5 19.5 17.5H12.5M12.5 17.5V20.5M12.5 20.5H8M12.5 20.5H17",stroke:"currentColor",strokeWidth:1.2})})}),ei=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eo=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-pdf",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.7414 13.14L12.749 13.1046C12.896 12.4991 13.0809 11.7442 12.9365 11.0602C12.8402 10.5206 12.4425 10.3104 12.1031 10.2952C11.7028 10.2775 11.3456 10.5054 11.2569 10.8373C11.0897 11.4453 11.2392 12.2762 11.5128 13.3351C11.1683 14.1559 10.6186 15.3491 10.2158 16.0584C9.46592 16.446 8.46022 17.0438 8.31075 17.7987C8.28036 17.9381 8.31582 18.1154 8.39942 18.275C8.49315 18.4523 8.64261 18.5891 8.81741 18.655C8.89341 18.6828 8.9846 18.7056 9.091 18.7056C9.53686 18.7056 10.2588 18.3459 11.2215 16.6942C11.3684 16.6461 11.5204 16.5954 11.6673 16.5448C12.3564 16.3117 13.0708 16.0685 13.7167 15.9596C14.4311 16.3421 15.2443 16.5878 15.7966 16.5878C16.3437 16.5878 16.5591 16.2636 16.6401 16.0685C16.782 15.7265 16.7136 15.2959 16.4831 15.0653C16.1487 14.736 15.3355 14.6499 14.0689 14.8069C13.4457 14.4269 13.0378 13.9102 12.7414 13.14ZM9.96245 16.9881C9.61032 17.4998 9.34433 17.7557 9.19993 17.8671C9.36966 17.5555 9.70152 17.2262 9.96245 16.9881ZM12.1816 11.0222C12.3133 11.2477 12.2956 11.9291 12.1943 12.2737C12.0701 11.7695 12.0524 11.0552 12.1259 10.9716L12.1816 11.0222ZM12.1411 14.0748C12.4121 14.5435 12.7541 14.9463 13.1316 15.2452C12.5844 15.3693 12.0853 15.5745 11.6395 15.7569C11.5331 15.8 11.4292 15.843 11.3279 15.8836C11.6648 15.2731 11.946 14.5815 12.1411 14.0748ZM16.0828 15.7341L16.0676 15.7569C16.0676 15.7569 15.8346 15.8988 14.9403 15.5466C15.9688 15.4985 16.0828 15.7341 16.0828 15.7341Z",fill:"currentColor"})]})}),ea=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"document-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2515 3.9H10.5H18.5H19.1V4.5V11.9H17.9V5.1H11.1V8.5V9.1H10.5H7.09999V11.9H5.89999V8.5V8.25147L6.07573 8.07574L10.0757 4.07574L10.2515 3.9ZM17.9 19.9V14.1H19.1V20.5V21.1H18.5H6.49999H5.89999V20.5V14.1H7.09999V19.9H17.9ZM7.94852 7.9H9.89999V5.94853L7.94852 7.9ZM2 13.6H23V12.4H2V13.6Z",fill:"currentColor"})})}),es=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-sheet",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("line",{x1:10.4,y1:19,x2:10.4,y2:10,stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("line",{x1:14.4,y1:19,x2:14.4,y2:10,stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("line",{x1:8,y1:12.4,x2:17,y2:12.4,stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("line",{x1:8,y1:16.4,x2:17,y2:16.4,stroke:"currentColor",strokeWidth:1.2})]})}),el=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-text",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5
12H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16 12H12.5H9",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M14 15H12.5H9",stroke:"currentColor",strokeWidth:1.2})]})}),eu=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-video",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M11.5 15.5V12.5L14 14L11.5 15.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})]})}),ec=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-word",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.4699 13.4588H12.5263L13.6328 17H14.5435L16 12H14.9952L14.0656 15.7214H14.0129L12.929 12H12.0672L10.9984 15.7214H10.9419L10.0124 12H9L10.4565 17H11.371L12.4699 13.4588Z",fill:"currentColor"})]})}),ed=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-zip",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13",stroke:"currentColor",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M13.5 13H15.5L16 17H13L13.5 13Z",stroke:"currentColor",strokeWidth:1.2})]})}),ef=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"documents",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M16.5 6.5H19.5V21.5H8.5V18.5M10 3.5V8H5.5M10 3.5H16.5V18.5H5.5V8L10 3.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eh=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"dot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("circle",{cx:12.5,cy:12.5,r:1.5,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),ep=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"double-chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M17 8.5L12.5 13L8 8.5M17 12.5L12.5 17L8 12.5",stroke:"currentColor",strokeWidth:1.2})})}),eg=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"double-chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 17L8 12.5L12.5 8M16.5 17L12 12.5L16.5 8",stroke:"currentColor",strokeWidth:1.2})})}),em=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"double-chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 8L17 12.5L12.5 17M8.5 8L13 12.5L8.5 17",stroke:"currentColor",strokeWidth:1.2})})}),ev=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"double-chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8 12.5L12.5 8L17 12.5M8 16.5L12.5 12L17 16.5",stroke:"currentColor",strokeWidth:1.2})})}),ey=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"download",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M19.5 17V19.5H5.5V17M17.5 11L12.5 16L7.5 11M12.5 16V4.99998",stroke:"currentColor",strokeWidth:1.2})})}),ew=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"drag-handle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 8C10.3284 8 11 7.32843 11 6.5C11 5.67157 10.3284 5 9.5 5C8.67157 5 8 5.67157 8 6.5C8 7.32843 8.67157 8 9.5 8ZM9.5 14C10.3284 14 11 13.3284 11 12.5C11 11.6716 10.3284 11 9.5 11C8.67157 11 8 11.6716 8 12.5C8 13.3284 8.67157 14 9.5 14ZM11 18.5C11 19.3284 10.3284 20 9.5 20C8.67157 20 8 19.3284 8 18.5C8 17.6716 8.67157 17 9.5 17C10.3284 17 11 17.6716 11 18.5ZM15.5 8C16.3284 8 17 7.32843 17 6.5C17 5.67157 16.3284 5 15.5 5C14.6716 5 14 5.67157 14 6.5C14 7.32843 14.6716 8 15.5 8ZM17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11C16.3284 11 17 11.6716 17 12.5ZM15.5 20C16.3284 20 17 19.3284 17 18.5C17 17.6716 16.3284 17 15.5 17C14.6716 17 14 17.6716 14 18.5C14 19.3284 14.6716 20 15.5 20Z",fill:"currentColor"})})}),eb=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"drop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M18.5 14.5C18.5 18
1216 20.5 12.5 20.5C9 20.5 6.5 18 6.5 14.5C6.5 11 9.5 7.50001 12.5 4.5C15.5 7.5 18.5 11 18.5 14.5Z",stroke:"currentColor",strokeWidth:1.2})})}),ex=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"earth-americas",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9 19.4303V16.7515L11.5203 15.1312L8.60296 13.4642L7.6 12.2105V13L6.4382 13.2107L5.3943 10.4269C5.20272 11.0847 5.1 11.7804 5.1 12.5C5.1 15.672 7.09572 18.3778 9.9 19.4303ZM15.6 5.77866V11.4485L13.7515 9.6H11.3L10.2922 10.9437L10.7485 11.4H12.6V12.8183L13.3211 13.9H15.7172L18.7651 16.4399C19.484 15.2991 19.9 13.9481 19.9 12.5C19.9 9.52001 18.1385 6.95143 15.6 5.77866ZM15.6 4.47567C18.8178 5.71962 21.1 8.84329 21.1 12.5C21.1 17.2497 17.2496 21.1 12.5 21.1C7.75035 21.1 3.9 17.2497 3.9 12.5C3.9 7.75035 7.75035 3.9 12.5 3.9C13.5164 3.9 14.4915 4.07631 15.3966 4.4H15.6V4.47567Z",fill:"currentColor"})})}),eC=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"earth-globe",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5.5 16.5H19.5M5.5 8.5H19.5M4.5 12.5H20.5M12.5 20.5C12.5 20.5 8 18.5 8 12.5C8 6.5 12.5 4.5 12.5 4.5M12.5 4.5C12.5 4.5 17 6.5 17 12.5C17 18.5 12.5 20.5 12.5 20.5M12.5 4.5V20.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eE=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"edit",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z",stroke:"currentColor",strokeWidth:1.2})})}),ek=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"ellipsis-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M6.5 11C7.32843 11 8 11.6716 8 12.5C8 13.3284 7.32843 14 6.5 14C5.67157 14 5 13.3284 5 12.5C5 11.6716 5.67157 11 6.5 11Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M12.5 11C13.3284 11 14 11.6716 14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M18.5 11C19.3284 11 20 11.6716 20 12.5C20 13.3284 19.3284 14 18.5 14C17.6716 14 17 13.3284 17 12.5C17 11.6716 17.6716 11 18.5 11Z",fill:"currentColor"})]})}),e_=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"ellipsis-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 6.5C14 7.32843 13.3284 8 12.5 8C11.6716 8 11 7.32843 11 6.5C11 5.67157 11.6716 5 12.5 5C13.3284 5 14 5.67157 14 6.5ZM14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11C13.3284 11 14 11.6716 14 12.5ZM12.5 20C13.3284 20 14 19.3284 14 18.5C14 17.6716 13.3284 17 12.5 17C11.6716 17 11 17.6716 11 18.5C11 19.3284 11.6716 20 12.5 20Z",fill:"currentColor"})})}),eA=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"envelope",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M20.5 18.5H4.5V6.5H20.5V18.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M20.5 18.5L17.75 15.5L15 12.5M4.5 18.5L10 12.5M20.5 6.5L12.5 15L4.5 6.5",stroke:"currentColor",strokeWidth:1.2})]})}),eR=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"equal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M7.5 4.5H3.5V20.5H7.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9 10.5H16",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9 14.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),eS=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"error-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5ZM13 14.5V16H12V14.5H13ZM12 9V13H13V9H12Z",fill:"currentColor"})})}),ej=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"error-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 16V14.5M12.5 9V13M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eM=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"expand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M14 6.5H18.5V11M11 18.5H6.5V14",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M18.5 6.5L14 11M6.5 18.5L11 14",stroke:"currentColor",strokeWidth:1.2})]})}),eP=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"eye-closed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M7 15.5L5.5 17.5M20.5 12.5C19.8612 13.5647 19.041 14.6294 18.0008 15.501M18.0008 15.501C16.5985 16.676 14.7965 17.5 12.5 17.5M18.0008 15.501L18 15.5M18.0008 15.501L19.5 17.5M12.5 17.5C8.5 17.5 6 15 4.5 12.5M12.5 17.5V20M15.5 17L16.5 19.5M9.5 17L8.5 19.5",stroke:"currentColor",strokeWidth:1.2})})}),eL=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"eye-open",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.20513 12.5C6.66296 14.7936 8.9567 16.9 12.5 16.9C16.0433 16.9 18.3371 14.7936 19.7949 12.5C18.3371 10.2064 16.0433 8.1 12.5 8.1C8.9567 8.1 6.66296 10.2064 5.20513 12.5ZM3.98551 12.1913C5.53974 9.60093 8.20179 6.9 12.5 6.9C16.7982 6.9 19.4603 9.60093 21.0145 12.1913L21.1997 12.5L21.0145 12.8087C19.4603 15.399
121 16.7982 18.1 12.5 18.1C8.20179 18.1 5.53974 15.3991 3.98551 12.8087L3.80029 12.5L3.98551 12.1913ZM12.5 9.4C10.7879 9.4 9.4 10.7879 9.4 12.5C9.4 14.2121 10.7879 15.6 12.5 15.6C14.2121 15.6 15.6 14.2121 15.6 12.5C15.6 10.7879 14.2121 9.4 12.5 9.4Z",fill:"currentColor"})})}),eI=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"filter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M11 12L6 7V6L19 6L19 7L14 12V17L11 19V12Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square"})})}),eO=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"folder",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M11.5 8.5H19.5V18.5H5.5V5.5H10.5L11.5 8.5ZM11.5 8.5H5.5",stroke:"currentColor",strokeWidth:1.2})})}),eD=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"generate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M9 5.30423C6.33576 6.60253 4.5 9.33688 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5V14.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16 11L12.5 14.5L9 11",stroke:"currentColor",strokeWidth:1.2})]})}),eT=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"heart-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),eN=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"heart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",stroke:"currentColor",strokeWidth:1.2})})}),eF=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"help-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eH=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"home",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M6.5 8.75V18.5H18.5V8.75M4.5 10L12.5 5L20.5 10M14.5 18.5V11.5H10.5V18.5",stroke:"currentColor",strokeWidth:1.2})})}),eV=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"ice-cream",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M9.5 13.5L12.5 20.5L15.5 13.5M12.5 8.26389C11.9692 7.78885 11.2684 7.5 10.5 7.5C8.84315 7.5 7.5 8.84315 7.5 10.5C7.5 12.1569 8.84315 13.5 10.5 13.5C11.2684 13.5 11.9692 13.2111 12.5 12.7361M9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5M17.5 10.5C17.5 12.1569 16.1569 13.5 14.5 13.5C12.8431 13.5 11.5 12.1569 11.5 10.5C11.5 8.84315 12.8431 7.5 14.5 7.5C16.1569 7.5 17.5 8.84315 17.5 10.5Z",stroke:"currentColor",strokeWidth:1.2})})}),ez=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5.5 15.5L8.79289 12.2071C9.18342 11.8166 9.81658 11.8166 10.2071 12.2071L12.8867 14.8867C13.2386 15.2386 13.7957 15.2782 14.1938 14.9796L15.1192 14.2856C15.3601 14.1049 15.6696 14.0424 15.9618 14.1154L19.5 15M5.5 6.5H19.5V18.5H5.5V6.5ZM15.5 10.5C15.5 11.0523 15.0523 11.5 14.5 11.5C13.9477 11.5 13.5 11.0523 13.5 10.5C13.5 9.94772 13.9477 9.5 14.5 9.5C15.0523 9.5 15.5 9.94772 15.5 10.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eB=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"image-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.9 5.9H5.5H19.5H20.1V6.5V11.4H18.9V7.1H6.1V11.4H4.9V6.5V5.9ZM18.9 13.7315V13.6H20.1V18.5V19.1H19.5H5.5H4.9V18.5V13.6H7.74853L6.1 15.2485V17.9H18.9V14.9685L15.8162 14.1975C15.6994 14.1683 15.5756 14.1933 15.4792 14.2656L14.5538 14.9596C13.9168 15.4374 13.0255 15.374 12.4625 14.811L11.2515 13.6H12.9485L13.311 13.9625C13.4518 14.1032 13.6746 14.1191 13.8338 13.9996L14.3667 13.6H18.3739L18.9 13.7315ZM12.9 10C12.9 10.6024 13.2329 11.1271 13.7248 11.4H15.2752C15.7671 11.1271 16.1 10.6024 16.1 10C16.1 9.11635 15.3837 8.4 14.5 8.4C13.6163 8.4 12.9 9.11635 12.9 10ZM8.25147 11.4H10.7485L10.6314 11.2828C10.0065 10.658 8.99347 10.658 8.36863 11.2828L8.25147 11.4ZM14.1 10C14.1 9.77909 14.2791 9.6 14.5 9.6C14.7209 9.6 14.9 9.77909 14.9 10C14.9 10.2209 14.7209 10.4 14.5 10.4C14.2791 10.4 14.1 10.2209 14.1 10ZM2 13.1H23V11.9H2V13.1Z",fill:"currentColor"})})}),eU=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"images",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M18.5 7.5H20.5V19.5H6.5V17.5M4.5 14.5L7.79289 11.2071C8.18342 10.8166 8.81658 10.8166 9.20711 11.2071L11.8867 13.8867C12.2386 14.2386 12.7957 14.2782 13.1938 13.9796L14.1192 13.2856C14.3601 13.1049 14.6696 13.0424 14.9618 13.1154L18.5 14M4.5 5.5H18.5V17.5H4.5V5.5ZM14.5 9.5C14.5 10.0523 14.0523 10.5 13.5 10.5C12.9477 10.5 12.5 10.0523 12.5 9.5C12.5 8.94772 12.9477 8.5 13.5 8.5C14.0523 8.5 14.5 8.94772 14.5 9.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eZ=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"info-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5ZM12 10.5V9H13V10.5H12ZM13 16V12H12V16H13Z",fill:"currentColor"})})}),eW=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"info-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 10.5V9M12.5 12V16M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eG=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"inl
12ine-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M16.5 6.5H17.1V5.9H16.5V6.5ZM8.5 6.5V5.9H7.9V6.5H8.5ZM16.5 18.5V19.1H17.1V18.5H16.5ZM8.5 18.5H7.9V19.1H8.5V18.5ZM16.5 5.9H8.5V7.1H16.5V5.9ZM17.1 18.5V6.5H15.9V18.5H17.1ZM8.5 19.1H16.5V17.9H8.5V19.1ZM7.9 6.5V18.5H9.1V6.5H7.9ZM4.9 5V20H6.1V5H4.9ZM18.9 5V20H20.1V5H18.9Z",fill:"currentColor"})})}),eq=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"inline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 6.5H19.5V18.5H12.5M12.5 6.5H5.5V18.5H12.5M12.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2})})}),e$=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"insert-above",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M14.5 10.5556L10.5 10.5556M12.5 12.5L12.5 8.50001M18.5 5.50001L6.5 5.50001M18.5 19.5L6.5 19.5L6.5 15.5L18.5 15.5L18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square"})})}),eX=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"insert-below",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10.5 14.5H14.5M12.5 12.5V16.5M6.5 19.5H18.5M6.5 5.5H18.5V9.5H6.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square"})})}),eY=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"italic",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10.43 18H11.7276L13.4551 9.86763H12.1576L10.43 18ZM13.3043 8.29848C13.8022 8.29848 14.2095 7.89111 14.2095 7.39321C14.2095 6.89531 13.8022 6.48794 13.3043 6.48794C12.8064 6.48794 12.399 6.89531 12.399 7.39321C12.399 7.89111 12.8064 8.29848 13.3043 8.29848Z",fill:"currentColor"})})}),eK=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"joystick",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M9.5 16V14.5H15.5V16M13.5 10.5V14.5M11.5 10.5V14.5M15.5 7.5C15.5 9.15685 14.1569 10.5 12.5 10.5C10.8431 10.5 9.5 9.15685 9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5ZM18.5 19.5H6.5C5.94772 19.5 5.5 19.0523 5.5 18.5V17.5C5.5 16.9477 5.94772 16.5 6.5 16.5H18.5C19.0523 16.5 19.5 16.9477 19.5 17.5V18.5C19.5 19.0523 19.0523 19.5 18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eJ=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"launch",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M14 6.5H5.5V19.5H18.5V11M20.5 4.5L10.5 14.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16 4.5H20.5V9",stroke:"currentColor",strokeWidth:1.2})]})}),eQ=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"leave",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M16.5 15V19.5H5.5V5.5H16.5V10M10 12.5H22.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M20 10L22.5 12.5L20 15",stroke:"currentColor",strokeWidth:1.2})]})}),e1=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"lemon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10.6569 10.3431L6.41422 14.5858C7.58579 15.7574 9.12132 16.3431 10.6569 16.3431M10.6569 10.3431L14.8995 6.1005C16.0711 7.27208 16.6569 8.80761 16.6569 10.3431M10.6569 10.3431L10.6569 16.3431M10.6569 10.3431L16.6569 10.3431M10.6569 10.3431L14.8995 14.5858M14.8995 14.5858C13.7279 15.7574 12.1924 16.3431 10.6569 16.3431M14.8995 14.5858C16.0711 13.4142 16.6569 11.8787 16.6569 10.3431M16.3137 4.68629C19.4379 7.81049 19.4379
1212.8758 16.3137 16C13.1895 19.1242 8.12419 19.1242 5 16L16.3137 4.68629Z",stroke:"currentColor",strokeWidth:1.2})})}),e0=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"link",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M11 12.5L12.5 14C13.281 14.7811 14.719 14.7811 15.5 14L18.5 11C19.281 10.219 19.281 8.78105 18.5 8L18 7.50001C17.2189 6.71896 15.781 6.71896 15 7.5L13 9.5M12 15.5L10 17.5C9.21895 18.281 7.78105 18.281 7 17.5L6.5 17C5.71895 16.219 5.71896 14.7811 6.5 14L9.50001 11C10.2811 10.219 11.719 10.219 12.5 11L14 12.5",stroke:"currentColor",strokeWidth:1.2})})}),e5=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"link-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.4243 7.07574C17.9038 6.55531 17.1875 6.31422 16.5 6.31422C15.8125 6.31422 15.0962 6.55531 14.5757 7.07574L12.5757 9.07574L13.4243 9.92427L15.4243 7.92427C15.6849 7.66365 16.078 7.51422 16.5 7.51422C16.922 7.51422 17.3151 7.66365 17.5757 7.92427L17.9983 7.50165L17.5757 7.92427L18.0757 8.42427C18.3363 8.68488 18.4858 9.07799 18.4858 9.5C18.4858 9.92201 18.3363 10.3151 18.0757 10.5757L16.7515 11.9H18.4485L18.9243 11.4243C19.4447 10.9038 19.6858 10.1875 19.6858 9.5C19.6858 8.81253 19.4447 8.09617 18.9243 7.57574L18.5 8L18.9243 7.57574L18.4243 7.07574ZM12.0757 11.4243L12.5515 11.9H14.2485L12.9243 10.5757C12.4038 10.0553 11.6875 9.81421 11 9.81421C10.3125 9.81421 9.59617 10.0553 9.07574 10.5757L7.75147 11.9H9.44853L9.92427 11.4243C10.1849 11.1636 10.578 11.0142 11 11.0142C11.422 11.0142 11.8151 11.1636 12.0757 11.4243ZM7.24853 14.1H5.67654C5.43071 14.5303 5.31421 15.0221 5.31421 15.5C5.31421 16.1875 5.55529 16.9038 6.07573 17.4243L6.4965 17.0035L6.07573 17.4243L6.57573 17.9243C7.09616 18.4447 7.81252 18.6858 8.49999 18.6858C9.18746 18.6858 9.90382 18.4447 10.4243 17.9243L12.4243 15.9243L11.5757 15.0757L9.57573 17.0757C9.31511 17.3363 8.922 17.4858 8.49999 17.4858C8.07798 17.4858 7.68487 17.3363 7.42426 17.0757L6.99999 17.5L7.42425 17.0757L6.92426 16.5757C6.66364 16.3151 6.51421 15.922 6.51421 15.5C6.51421 15.078 6.66365 14.6849 6.92426 14.4243L7.24853 14.1ZM16.2485 14.1H11.7515L12.0757 14.4243C12.5962 14.9447 13.3125 15.1858 14 15.1858C14.6875 15.1858 15.4038 14.9447 15.9243 14.4243L16.2485 14.1ZM2 13.6H23V12.4H2V13.6Z",fill:"currentColor"})})}),e2=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"lock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M15.5 11.5V8.5C15.5 6.5 14 5.5 12.5 5.5C11 5.5 9.5 6.5 9.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2})})}),e8=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"logo-js",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM12.5254 16.1572C12.5254 17.4189 11.7742 18.1536 10.4792 18.1536C9.24243 18.1536 8.49121 17.4189 8.45801 16.2942V16.261H9.67407V16.2859C9.69897 16.7466 9.9729 17.0703 10.4626 17.0703C10.9939 17.0703 11.272 16.7507 11.272 16.1489V12.011H12.5254V16.1572ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})}),e3=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"logo-ts",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM11.0769 18H9.82349V13.0444H8.02637V12.011H12.874V13.0444H11.0769V18ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})}),e4=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"master-detail",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M6 8.5H9M10.5 5.5V19.5M6 11.5H9M13 8.5H18M6 14.5H9M4.5 5.5H20.5V19.5H4.5V5.5Z",stroke:"currentColor",strokeWidth:1.2})})}),e6=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"menu",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M6 8.1H19V6.9H6V8.1ZM6 18.1H19V16.9H6V18.1ZM6 13.1H19V11.9H6V13.1Z",fill:"currentColor"})})}),e7=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"mobile-device",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8.1 6.5C8.1 5.7268 8.7268 5.1 9.5 5.1V3.9C8.06406 3.9 6.9 5.06406 6.9 6.5H8.1ZM8.1 18.5V6.5H6.9V18.5H8.1ZM9.5 19.9C8.7268 19.9 8.1 19.2732 8.1 18.5H6.9C6.9 19.9359 8.06406 21.1 9.5 21.1V19.9ZM15.5 19.9H9.5V21.1H15.5V19.9ZM16.9 18.5C16.9 19.2732 16.2732 19.9 15.5 19.9V21.1C16.9359 21.1 18.1 19.9359 18.1 18.5H16.9ZM16.9 6.5V18.5H18.1V6.5H16.9ZM15.5 5.1C16.2732 5.1 16.9 5.7268 16.9 6.5
12H18.1C18.1 5.06406 16.9359 3.9 15.5 3.9V5.1ZM9.5 5.1H15.5V3.9H9.5V5.1ZM12.9 17.5C12.9 17.7209 12.7209 17.9 12.5 17.9V19.1C13.3837 19.1 14.1 18.3837 14.1 17.5H12.9ZM12.5 17.1C12.7209 17.1 12.9 17.2791 12.9 17.5H14.1C14.1 16.6163 13.3837 15.9 12.5 15.9V17.1ZM12.1 17.5C12.1 17.2791 12.2791 17.1 12.5 17.1V15.9C11.6163 15.9 10.9 16.6163 10.9 17.5H12.1ZM12.5 17.9C12.2791 17.9 12.1 17.7209 12.1 17.5H10.9C10.9 18.3837 11.6163 19.1 12.5 19.1V17.9Z",fill:"currentColor"})})}),e9=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"moon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M19.6065 16.1775C18.9417 16.387 18.234 16.5 17.5 16.5C13.634 16.5 10.5 13.366 10.5 9.5C10.5 7.54163 11.3042 5.77109 12.6004 4.50062C12.567 4.50021 12.5335 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C15.5924 20.5 18.275 18.7454 19.6065 16.1775Z",stroke:"currentColor",strokeWidth:1.2})})}),te=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"number",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M7.09808 13.3967V7.50803H5.74066L3.83636 8.78244V10.091L5.65277 8.88498H5.74066V13.3967H3.84125V14.5539H8.89984V13.3967H7.09808Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M9.81781 9.63205V9.66135H11.1069V9.62717C11.1069 8.95334 11.5756 8.49435 12.2739 8.49435C12.9575 8.49435 13.4018 8.89474 13.4018 9.5051C13.4018 9.97873 13.1528 10.3498 12.1909 11.3117L9.89594 13.5822V14.5539H14.8618V13.3869H11.7807V13.299L13.1577 11.9856C14.3491 10.843 14.7543 10.1838 14.7543 9.41232C14.7543 8.19162 13.7729 7.36642 12.3178 7.36642C10.8383 7.36642 9.81781 8.28439 9.81781 9.63205Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M17.6694 11.4631H18.5092C19.3198 11.4631 19.8422 11.8684 19.8422 12.4983C19.8422 13.1184 19.3295 13.5139 18.5239 13.5139C17.767 13.5139 17.2592 13.133 17.2104 12.5324H15.9262C15.9897 13.8508 17.0248 14.6955 18.5629 14.6955C20.1401 14.6955 21.2192 13.841 21.2192 12.591C21.2192 11.6584 20.6528 11.0334 19.7006 10.9211V10.8332C20.4721 10.677 20.9457 10.0666 20.9457 9.23654C20.9457 8.12326 19.9741 7.36642 18.5434 7.36642C17.0541 7.36642 16.1118 8.17697 16.0629 9.50021H17.2983C17.3422 8.8801 17.8061 8.48459 18.4995 8.48459C19.2075 8.48459 19.6567 8.85568 19.6567 9.44162C19.6567 10.0324 19.1977 10.4182 18.4946 10.4182H17.6694V11.4631Z",fill:"currentColor"})]})}),tt=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"ok-hand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M15.9957 11.5C14.8197 10.912 11.9957 9 10.4957 9C8.9957 9 5.17825 11.7674 6 13C7 14.5 9.15134 11.7256 10.4957 12C11.8401 12.2744 13 13.5 13 14.5C13 15.5 11.8401 16.939 10.4957 16.5C9.15134 16.061 8.58665 14.3415 7.4957 14C6.21272 13.5984 5.05843 14.6168 5.5 15.5C5.94157 16.3832 7.10688 17.6006 8.4957 19C9.74229 20.2561 11.9957 21.5 14.9957 20C17.9957 18.5 18.5 16.2498 18.5 13C18.5 11.5 13.7332 5.36875 11.9957 4.5C10.9957 4 10 5 10.9957 6.5C11.614 7.43149 13.5 9.27705 14 10.3751M15.5 8C15.5 8 15.3707 7.5 14.9957 6C14.4957 4 15.9957 3.5 16.4957 4.5C17.1281 5.76491 18.2872 10.9147 18.4957 13",stroke:"currentColor",strokeWidth:1.2})})}),tn=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"olist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M7.5 18.5V19H8.30902L7.94721 18.2764L7.5 18.5ZM7.5 16.5L7.94721 16.7236L8.30902 16H7.5V16.5ZM7 17.5L6.55279 17.2764L6.44098 17.5L6.55279 17.7236L7 17.5ZM6.5 6.5H7V6H6.5V6.5ZM6 13.5L5.55279 13.2764L5.19098 14H6V13.5ZM7 11.5L7.44721 11.7236L7.80902 11H7V11.5ZM10 8H19V7H10V8ZM10 13H19V12H10V13ZM10 18H19V17H10V18ZM5 19H7.5V18H5V19ZM7.5 16H5V17H7.5V16ZM7.94721 18.2764L7.44721 17.2764L6.55279 17.7236L7.05279 18.7236L7.94721 18.2764ZM7.44721 17.7236L7.94721 16.7236L7.05279 16.2764L6.55279 17.2764L7.44721 17.7236ZM5 7H6.5V6H5V7ZM5 9H6.5V8H5V9ZM6.5 9H8V8H6.5V9ZM6 6.5V8.5H7V6.5H6ZM8 13H6V14H8V13ZM6.44721 13.7236L7.44721 11.7236L6.55279 11.2764L5.55279
1213.2764L6.44721 13.7236ZM7 11H5V12H7V11Z",fill:"currentColor"})})}),tr=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"overage",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 5.9H18.5H19.1V6.5V11H17.9V7.94853L12.8485 13H11.1515L17.0515 7.1H14V5.9ZM10.2515 13.9H11.9485H22V15.1L12.95 15.1H7.95L3 15.1V13.9H10.2515ZM8.15148 16L6.07574 18.0757L6.92426 18.9243L9.84853 16H8.15148Z",fill:"currentColor"})})}),ti=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"package",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 13V22M12.5 13L4.5 8M12.5 13L20.5 8M8.5 5.5L16.5 10.5M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2})})}),to=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"pause",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 7.5H8.5V17.5H10.5V7.5ZM16.5 7.5H14.5V17.5H16.5V7.5Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M8.5 7.5V6.9H7.9V7.5H8.5ZM10.5 7.5H11.1V6.9H10.5V7.5ZM8.5 17.5H7.9V18.1H8.5V17.5ZM10.5 17.5V18.1H11.1V17.5H10.5ZM14.5 7.5V6.9H13.9V7.5H14.5ZM16.5 7.5H17.1V6.9H16.5V7.5ZM14.5 17.5H13.9V18.1H14.5V17.5ZM16.5 17.5V18.1H17.1V17.5H16.5ZM8.5 8.1H10.5V6.9H8.5V8.1ZM9.1 17.5V7.5H7.9V17.5H9.1ZM10.5 16.9H8.5V18.1H10.5V16.9ZM9.9 7.5V17.5H11.1V7.5H9.9ZM14.5 8.1H16.5V6.9H14.5V8.1ZM15.1 17.5V7.5H13.9V17.5H15.1ZM16.5 16.9H14.5V18.1H16.5V16.9ZM15.9 7.5V17.5H17.1V7.5H15.9Z",fill:"currentColor"})]})}),ta=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"pin",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 14 15.5 17.5 12.5 20.5C9.5 17.5 6.5 14 6.5 10.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M14 10.5C14 11.3284 13.3284 12 12.5 12C11.6716 12 11 11.3284 11 10.5C11 9.67157 11.6716 9 12.5 9C13.3284 9 14 9.67157 14 10.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),ts=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"pin-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0757 20.9243L12.5 21.3485L12.9243 20.9243C14.4315 19.417 15.9655 17.7584 17.1242 16.0203C17.5402 15.3963 17.9127 14.7549 18.2192 14.1H16.8785C16.6575 14.5172 16.4051 14.9356 16.1258 15.3547C15.1381 16.8362 13.8436 18.2803 12.5 19.6478C11.1564 18.2803 9.86189 16.8362 8.87423 15.3547C8.59486 14.9356 8.34249 14.5172 8.12154 14.1H6.78084C7.08725 14.7549 7.45976 15.3963 7.87577 16.0203C9.03448 17.7584 10.5685 19.417 12.0757 20.9243ZM19.1 10.5C19.1 10.9701 19.0508 11.4372 18.9594 11.9H17.732C17.8418 11.4297 17.9 10.9627 17.9 10.5C17.9 7.33137 15.6686 5.1 12.5 5.1C9.33137 5.1 7.1 7.33137 7.1 10.5C7.1 10.9627 7.15822 11.4297 7.26799 11.9H6.04056C5.94923 11.4372 5.9 10.9701 5.9 10.5C5.9 6.66863 8.66863 3.9 12.5 3.9C16.3314 3.9 19.1 6.66863 19.1 10.5ZM14.6 10.5C14.6 11.0379 14.3978 11.5285 14.0653 11.9H10.9347C10.6022 11.5285 10.4 11.0379 10.4 10.5C10.4 9.3402 11.3402 8.4 12.5 8.4C13.6598 8.4 14.6 9.3402 14.6 10.5ZM11.6 10.5C11.6 10.0029 12.0029 9.6 12.5 9.6C12.9971 9.6 13.4 10.0029 13.4 10.5C13.4 10.9971 12.9971 11.4 12.5 11.4C12.0029 11.4 11.6 10.9971 11.6 10.5ZM2 13.6H23V12.4H2V13.6Z",fill:"currentColor"})})}),tl=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"play",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),tu=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"plug",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M13.25 8.5L16.75 5M16.25 11.5L19.75 8M9.25 15.5L5.25 19.5M7.75 14L9.75 12C8.25 10 8.75 9 9.75 8C10.15 7.6 11.25 6.5 11.25 6.5L18.25 13.5C18.25 13.5 17.3825 14.3675 16.75 15C15.75 16 14.75 16.5 12.75 15L10.75 17L7.75 14Z",stroke:"currentColor",strokeWidth:1.2})})}),tc=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"presentation",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10.5 18H5.5V8.5H19.5V18H14.5M10.5 18L9 22M10.5 18H14.5M14.5 18L16 22M4.5 8.5H20.5V6.5H4.5V8.5Z",stroke:"currentColor",strokeWidth:1.2})})}),td=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"publish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M4.99997 5.50005H20M7.5 14L12.5 9.00003L17.5 14",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.5 9.00003V20",stroke:"currentColor",strokeWidth:1.2})]})}),tf=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"read-only",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5",stroke:"currentColor",strokeWidth:1.2})})}),th=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"remove-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8 12.4H17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tp=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2})})}),tg=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"reset",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M4.56189 13.5L4.14285 13.9294L4.5724 14.3486L4.99144 13.9189L4.56189 13.5ZM9.92427 15.9243L15.9243 9.92427L15.0757 9.07574L9.07574 15.0757L9.92427 15.9243ZM9.07574 9.92426L15.0757 15.9243L15.9243 15.0757L9.92426 9.07574L9.07574 9.92426ZM19.9 12.5C19.9 16.5869 16.5869 19.9 12.5 19.9V21.1C17.2496 21.1 21.1 17.2496 21.1 12.5H19.9ZM5.1 12.5C5.1 8.41309 8.41309 5.1 12.5 5.1V3.9C7.75035 3.9 3.9 7.75035 3.9 12.5H5.1ZM12.5 5.1C16.5869 5.1 19.9 8.41309 19.9 12.5H21.1C21.1 7.75035 17.2496 3.9 12.5 3.9V5.1ZM5.15728 13.4258C5.1195 13.1227 5.1 12.8138 5.1 12.5H3.9C3.9 12.8635 3.92259 13.2221 3.9665 13.5742L5.15728 13.4258ZM12.5 19.9C9.9571 19.9 7.71347 18.6179 6.38048 16.6621L5.38888 17.3379C6.93584 19.6076 9.54355 21.1 12.5 21.1V19.9ZM4.99144 13.9189L7.42955 11.4189L6.57045 10.5811L4.13235 13.0811L4.99144 13.9189ZM4.98094 13.0706L2.41905 10.5706L1.58095 11.4294L4.14285 13.9294L4.98094 13.0706Z",fill:"currentColor"})})}),tm=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"restore",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9
12183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5M12.5 8V12.5L15.5 15.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2})]})}),tv=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"retrieve",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M12.5 10.5L12.5 17.5M4.5 7.5V20.5H20.5V7.5L18.5 4.5H6.5L4.5 7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9 14L12.5 10.5L16 14",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M4.5 7.5H20.5",stroke:"currentColor",strokeWidth:1.2})]})}),ty=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"revert",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M5 9L14.5 9C16.9853 9 19 11.0147 19 13.5C19 15.9853 16.9853 18 14.5 18H5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9 13L5 9L9 5",stroke:"currentColor",strokeWidth:1.2})]})}),tw=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"robot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 15.5V17.5M12.5 8.5V6.5M12.5 6.5C13.3284 6.5 14 5.82843 14 5C14 4.17157 13.3284 3.5 12.5 3.5C11.6716 3.5 11 4.17157 11 5C11 5.82843 11.6716 6.5 12.5 6.5ZM20.5 20.5V19.5C20.5 18.3954 19.6046 17.5 18.5 17.5H6.5C5.39543 17.5 4.5 18.3954 4.5 19.5V20.5H20.5ZM11.5 12C11.5 12.5523 11.0523 13 10.5 13C9.94772 13 9.5 12.5523 9.5 12C9.5 11.4477 9.94772 11 10.5 11C11.0523 11 11.5 11.4477 11.5 12ZM15.5 12C15.5 12.5523 15.0523 13 14.5 13C13.9477 13 13.5 12.5523 13.5 12C13.5 11.4477 13.9477 11 14.5 11C15.0523 11 15.5 11.4477 15.5 12ZM8.5 15.5H16.5C17.6046 15.5 18.5 14.6046 18.5 13.5V10.5C18.5 9.39543 17.6046 8.5 16.5 8.5H8.5C7.39543 8.5 6.5 9.39543 6.5 10.5V13.5C6.5 14.6046 7.39543 15.5 8.5 15.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tb=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"rocket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 20.5L15.5 14M11 9.5L4.5 12.5M9 14C9 14 7.54688 14.9531 6.5 16C5.5 17 4.5 20.5 4.5 20.5C4.5 20.5 8 19.5 9 18.5C10 17.5 11 16 11 16M9 14C9 14 10.1 9.90001 12.5 7.50001C15.5 4.50001 20.5 4.50001 20.5 4.50001C20.5 4.50001 20.5 9.5 17.5 12.5C15.7492 14.2508 11 16 11 16L9 14ZM16.5 10C16.5 10.8284 15.8284 11.5 15 11.5C14.1716 11.5 13.5 10.8284 13.5 10C13.5 9.17157 14.1716 8.5 15 8.5C15.8284 8.5 16.5 9.17157 16.5 10Z",stroke:"currentColor",strokeWidth:1.2})})}),tx=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"search",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M14.0355 14.0355L20 20M15.5 10.5C15.5 13.2614 13.2614 15.5 10.5 15.5C7.73858 15.5 5.5 13.2614 5.5 10.5C5.5 7.73858 7.73858 5.5 10.5 5.5C13.2614 5.5 15.5 7.73858 15.5 10.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tC=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"select",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M16.5 15.5L12.5 19.5L8.5 15.5M8.5 9.5L12.5 5.5L16.5 9.5",stroke:"currentColor",strokeWidth:1.2})})}),tE=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"sort",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8.5 18.5V6M16.5 19V6.5M12 15L8.5 18.5L5 15M13 10L16.5 6.5L20 10",stroke:"currentColor",strokeWidth:1.2})})}),tk=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"spinner",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9
12183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5",stroke:"currentColor",strokeWidth:1.2})})}),t_=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"split-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M19.5 10.5V20.5H5.5V10.5M19.5 10.5H5.5M19.5 10.5V4.5H5.5V10.5M12.5 13V15.5M12.5 18V15.5M12.5 15.5H15M12.5 15.5H10",stroke:"currentColor",strokeWidth:1.2})})}),tA=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"split-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10.5 5.5V19.5M13 12.5H15.5M18 12.5H15.5M15.5 12.5V15M15.5 12.5V10M4.5 5.5H20.5V19.5H4.5V5.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tR=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"square",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("rect",{x:5.5,y:5.5,width:14,height:14,stroke:"currentColor",strokeWidth:1.2})})}),tS=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"stack-compact",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5.5 15.5V18.5H19.5V15.5M5.5 15.5H19.5M5.5 15.5V9.5M19.5 15.5V9.5M5.5 9.5V6.5H19.5V9.5M5.5 9.5H19.5M5.5 12.5H19.5",stroke:"currentColor",strokeWidth:1.2})})}),tj=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"stack",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tM=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"star",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M13 4L15.2747 9.8691L21.5595 10.2188L16.6806 14.1959L18.2901 20.2812L13 16.87L7.70993 20.2812L9.31941 14.1959L4.44049 10.2188L10.7253 9.8691L13 4Z",stroke:"currentColor",strokeWidth:1.2})})}),tP=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"stop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("rect",{x:7.5,y:7.5,width:10,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),tL=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"strikethrough",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5656 7.73438C11.0656 7.73438 10.0734 8.48438 10.0734 9.625C10.0734 10.2317 10.3649 10.6613 11.0519 11H8.90358C8.71703 10.6199 8.62813 10.1801 8.62813 9.67188C8.62813 7.75781 10.2297 6.46094 12.6125 6.46094C14.7922 6.46094 16.4172 7.75781 16.5344 9.57812H15.1203C14.925 8.42188 13.9719 7.73438 12.5656 7.73438ZM12.4875 18.2656C10.0969 18.2656 8.44844 17 8.3 15.0547H9.72188C9.89375 16.2344 11.0188 16.9844 12.6203 16.9844C14.1359 16.9844 15.2531 16.1641 15.2531 15.0469C15.2531 14.6375 15.1255 14.292 14.8589 14H16.5912C16.6638 14.266 16.6984 14.5566 16.6984 14.875C16.6984 16.9453 15.0656 18.2656 12.4875 18.2656ZM7 13.1H18V11.9H7V13.1Z",fill:"currentColor"})})}),tI=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"string",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M11.6748 15.5227H13.1855L9.87842 6.36304H8.34863L5.0415 15.5227H6.50146L7.3457 13.0916H10.8369L11.6748 15.5227ZM9.04053 8.02612H9.14844L10.4751 11.8982H7.70752L9.04053 8.02612Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M16.8101 14.488C16.0674 14.488 15.5278 14.1262 15.5278 13.5042C15.5278 12.8948 15.9595 12.571 16.9116 12.5076L18.6001 12.3997V12.9773C18.6001 13.8342 17.8384 14.488 16.8101 14.488ZM16.4609 15.637C17.3687 15.637 18.124 15.2434 18.5366 14.5515H18.6445V15.5227H19.9585V10.8C19.9585 9.34009 18.981 8.47681 17.248 8.47681C15.6802 8.47681 14.563 9.23853 14.4233 10.4255H15.7437C15.896 9.93677 16.4229 9.65747 17.1846 9.65747C18.1177 9.65747 18.6001 10.0701 18.6001 10.8V11.3967L16.7275 11.5046C15.0835 11.6062 14.1567 12.3235 14.1567 13.5676C14.1567 14.8308 15.1279
1215.637 16.4609 15.637Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z",fill:"currentColor"})]})}),tO=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"sun",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M19 12.5H22M3 12.5H6M12.5 6V3M12.5 22V19M17.3891 7.61091L19.5104 5.48959M5.48959 19.5104L7.61091 17.3891M7.61091 7.61091L5.48959 5.48959M19.5104 19.5104L17.3891 17.3891M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tD=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"sync",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M13.5 4.5H12.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 15.6631 6.33576 18.3975 9 19.6958M11.5 20.5H12.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 9.33688 18.6642 6.60253 16 5.30423",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M14 17.5619L11.5 20.5L14.5 23.0619M11 7.43811L13.5 4.50001L10.5 1.93811",stroke:"currentColor",strokeWidth:1.2})]})}),tT=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"tag",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M11 15.5C11 16.3284 10.3284 17 9.5 17C8.67157 17 8 16.3284 8 15.5C8 14.6716 8.67157 14 9.5 14C10.3284 14 11 14.6716 11 15.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),tN=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"terminal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8.5 9.5L11.5 12.5L8.5 15.5M13 15.5H17M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tF=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"th-large",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 6.5V12.5M12.5 12.5V18.5M12.5 12.5H20.5M12.5 12.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tH=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"th-list",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H20.5M9.5 10.5H4.5M9.5 14.5V18.5M9.5 14.5H20.5M9.5 14.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tV=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"tiers",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M16.5 14.5L20.5 16.5L12.5 20.5L4.5 16.5L8.5 14.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16.5 10.5L20.5 12.5L12.5 16.5L4.5 12.5L8.5 10.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M20.5 8.5L12.5 12.5L4.5 8.5L12.5 4.5L20.5 8.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),tz=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"toggle-arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10 16.5V8.5L16 12.5L10 16.5Z",fill:"currentColor"})})}),tB=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"token",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M17.5711 12.5C17.5711 15.2614 15.3325 17.5 12.5711 17.5M7.57107 12.5C7.57107 9.73858 9.80964 7.5 12.5711 7.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tU=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"transfer",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M19.5 16.5H6M5.5 8.5L19 8.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5",stroke:"currentColor",strokeWidth:1.2})]})}),tZ=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"translate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4 5.4H4V6.6H13.2189C13.1612 6.78478 13.0895 6.99578 13.0025 7.22211C12.7032 8.00031 12.2402 8.91125 11.5757 9.57574L10 11.1515L9.42426 10.5757C8.72102 9.8725 8.25297 9.16987 7.96199 8.64611C7.81668 8.38455 7.71617 8.16874 7.65305 8.02146C7.62151 7.94787 7.59937 7.89154 7.5857 7.85534C7.57886 7.83725 7.57415 7.8242 7.57144 7.81657L7.56886 7.80922C7.56886 7.80922 7.56921 7.81026 7 8C6.43079 8.18974 6.43091 8.19009 6.43091 8.19009L6.43133 8.19135L6.43206 8.19351L6.4341 8.19948L6.44052 8.21786C6.44587 8.23292 6.45336 8.25357 6.46313 8.27942C6.48266 8.33112 6.5113 8.40369 6.55008 8.49416C6.62758 8.67501 6.74582 8.92795 6.91301 9.22889C7.24703 9.83013 7.77898 10.6275 8.57574 11.4243L9.15147 12L4.57964 16.5718L4.57655 16.5749L4.57577 16.5757L5.4243 17.4242L5.42688 17.4216L10.0368 12.8117L12.6159 14.9609L13.3841 14.0391L10.8888 11.9597L12.4243 10.4243C13.2598 9.58875 13.7968 8.49969 14.1225 7.65289C14.2818 7.23863 14.395 6.87072 14.4696 6.6H16V5.4H10.6V4H9.4V5.4ZM17.4405 10L21.553 19.7672H20.2509L19.1279 17.1H14.8721L13.7491 19.7672H12.447L16.5595 10H17.4405ZM15.3773 15.9H18.6227L17 12.0462L15.37
1273 15.9Z",fill:"currentColor"})})}),tW=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"trash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5 6.5H20M10 6.5V4.5C10 3.94772 10.4477 3.5 11 3.5H14C14.5523 3.5 15 3.94772 15 4.5V6.5M12.5 9V17M15.5 9L15 17M9.5 9L10 17M18.5 6.5L17.571 18.5767C17.5309 19.0977 17.0965 19.5 16.574 19.5H8.42603C7.90349 19.5 7.46905 19.0977 7.42898 18.5767L6.5 6.5H18.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tG=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"trend-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M20.5 11V6.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),tq=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"triangle-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z",stroke:"currentColor",strokeWidth:1.2})})}),t$=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"trolley",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8 17.5L5.81763 6.26772C5.71013 5.81757 5.30779 5.5 4.84498 5.5H3M8 17.5H17M8 17.5C8.82843 17.5 9.5 18.1716 9.5 19C9.5 19.8284 8.82843 20.5 8 20.5C7.17157 20.5 6.5 19.8284 6.5 19C6.5 18.1716 7.17157 17.5 8 17.5ZM17 17.5C17.8284 17.5 18.5 18.1716 18.5 19C18.5 19.8284 17.8284 20.5 17 20.5C16.1716 20.5 15.5 19.8284 15.5 19C15.5 18.1716 16.1716 17.5 17 17.5ZM7.78357 14.5H17.5L19 7.5H6",stroke:"currentColor",strokeWidth:1.2})})}),tX=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"truncate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M5 12.5H20M8.5 19.5L12.5 15.5L16.5 19.5M16.5 5.5L12.5 9.5L8.5 5.5",stroke:"currentColor",strokeWidth:1.2})})}),tY=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"ulist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M10 7.5H19M10 17.5H19M10 12.5H19M7.10153 17.5001C7.10153 17.8323 6.83221 18.1016 6.5 18.1016C6.16778 18.1016 5.89847 17.8323 5.89847 17.5001C5.89847 17.1678 6.16778 16.8985 6.5 16.8985C6.83221 16.8985 7.10153 17.1678 7.10153 17.5001ZM7.10153 7.5C7.10153 7.83221 6.83221 8.10153 6.5 8.10153C6.16778 8.10153 5.89847 7.83221 5.89847 7.5C5.89847 7.16778 6.16778 6.89847 6.5 6.89847C6.83221 6.89847 7.10153 7.16778 7.10153 7.5ZM7.10153 12.5C7.10153 12.8322 6.83221 13.1015 6.5 13.1015C6.16778 13.1015 5.89847 12.8322 5.89847 12.5C5.89847 12.1678 6.16778 11.8985 6.5 11.8985C6.83221 11.8985 7.10153 12.1678 7.10153 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tK=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"underline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.17 7.11409H9.52791V14.1677C9.52791 15.8123 10.6067 17.0042 12.4927 17.0042C14.3787 17.0042 15.4574 15.8123 15.4574 14.1677V7.11409H16.8154V14.2582C16.8154 16.5817 15.1934 18.2565 12.4927 18.2565C9.79195 18.2565 8.17 16.5817 8.17 14.2582V7.11409ZM7 21.1H18V19.9H7V21.1Z",fill:"currentColor"})})}),tJ=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"undo",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2})]})}),tQ=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"unknown",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M5.5 5.5H19.5V19.5H5.5V5.5Z",stroke:"currentColor",strokeWidth:1.2})})}),t1=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"unlock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M3.5 11.5V8.5C3.5 6.5 5 5.5 6.5 5.5C8 5.5 9.5 6.5 9.5 8.5V11.5",stroke:"currentColor",strokeWidth:1.2})]})}),t0=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"unpublish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M5 19.5H20M12.5 16V4.99998",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2})]})}),t5=(0,r.forwardRef)(function(e,t){return(0,i.jsxs)("svg",{"data-sanity-icon":"upload",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,i.jsx)("path",{d:"M12.5 6.00003V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M7.5 11L12.5 6.00003L17.5 11",stroke:"currentColor",strokeWidth:1.2})]})}
12),t2=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"user",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M8 14.5C7 15 5.5 16 5.5 19.5H19.5C19.5 16 18.3416 15.1708 17 14.5C16 14 14 14 14 12.5C14 11 15 10.25 15 8.25C15 6.25 14 5.25 12.5 5.25C11 5.25 10 6.25 10 8.25C10 10.25 11 11 11 12.5C11 14 9 14 8 14.5Z",stroke:"currentColor",strokeWidth:1.2})})}),t8=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"users",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M17.5 18.5H21.5C21.5 15 20.8416 14.1708 19.5 13.5C18.5 13 16.5 12.5 16.5 11C16.5 9.5 17.5 9 17.5 7C17.5 5 16.5 4 15 4C13.6628 4 12.723 4.79472 12.5347 6.38415M4.5 20.5C4.5 17 5.5 16 6.5 15.5C7.5 15 9.5 14.5 9.5 13C9.5 11.5 8.5 11 8.5 9C8.5 7 9.5 6 11 6C12.5 6 13.5 7 13.5 9C13.5 11 12.5 11.5 12.5 13C12.5 14.5 14.5 15 15.5 15.5C16.8416 16.1708 17.5 17 17.5 20.5H4.5Z",stroke:"currentColor",strokeWidth:1.2})})}),t3=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"warning-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7728 5.35558C13.7822 3.57248 11.2178 3.57247 10.2272 5.35558L3.62622 17.2373C2.66345 18.9703 3.91657 21.1 5.89903 21.1H19.101C21.0834 21.1 22.3365 18.9703 21.3738 17.2373L14.7728 5.35558ZM13 16V17.5H12V16H13ZM12 10.4999V14.5H13V10.4999H12Z",fill:"currentColor"})})}),t4=(0,r.forwardRef)(function(e,t){return(0,i.jsx)("svg",{"data-sanity-icon":"warning-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,i.jsx)("path",{d:"M12.5 10V14M12.5 17V15.5M14.2483 5.64697L20.8493 17.5287C21.5899 18.8618 20.6259 20.5 19.101 20.5H5.89903C4.37406 20.5 3.41013 18.8618 4.15072 17.5287L10.7517 5.64697C11.5137 4.27535 13.4863 4.27535 14.2483 5.64697Z",stroke:"currentColor",strokeWidth:1.2})})}),t6={"access-denied":o,activity:a,"add-circle":s,add:l,api:u,archive:c,"arrow-down":d,"arrow-left":f,"arrow-right":h,"arrow-top-right":p,"arrow-up":g,"bar-chart":m,basket:v,bell:y,bill:w,"binary-document":b,"block-content":x,"block-element":C,blockquote:E,bold:k,book:_,bottle:A,"bulb-filled":R,"bulb-outline":S,calendar:j,case:M,"chart-upward":P,"checkmark-circle":L,checkmark:I,"chevron-down":O,"chevron-left":D,"chevron-right":T,"chevron-up":N,circle:F,clipboard:H,"clipboard-image":V,clock:z,"close-circle":B,close:U,"code-block":Z,code:W,cog:G,collapse:q,comment:$,component:X,compose:Y,controls:K,copy:J,"credit-card":Q,crop:ee,dashboard:et,database:en,desktop:er,document:ei,"document-pdf":eo,"document-remove":ea,"document-sheet":es,"document-text":el,"document-video":eu,"document-word":ec,"document-zip":ed,documents:ef,dot:eh,"double-chevron-down":ep,"double-chevron-left":eg,"double-chevron-right":em,"double-chevron-up":ev,download:ey,"drag-handle":ew,drop:eb,"earth-americas":ex,"earth-globe":eC,edit:eE,"ellipsis-horizontal":ek,"ellipsis-vertical":e_,envelope:eA,equal:eR,"error-filled":eS,"error-outline":ej,expand:eM,"eye-closed":eP,"eye-open":eL,filter:eI,folder:eO,generate:eD,"heart-filled":eT,heart:eN,"help-circle":eF,home:eH,"ice-cream":eV,image:ez,"image-remove":eB,images:eU,"info-filled":eZ,"info-outline":eW,"inline-element":eG,inline:eq,"insert-above":e$,"insert-below":eX,italic:eY,joystick:eK,launch:eJ,leave:eQ,lemon:e1,link:e0,"link-removed":e5,lock:e2,"logo-js":e8,"logo-ts":e3,"master-detail":e4,menu:e6,"mobile-device":e7,moon:e9,number:te,"ok-hand":tt,olist:tn,overage:tr,package:ti,pause:to,pin:ta,"pin-removed":ts,play:tl,plug:tu,presentation:tc,publish:td,"read-only":tf,"remove-circle":th,remove:tp,reset:tg,restore:tm,retrieve:tv,revert:ty,robot:tw,rocket:tb,search:tx,select:tC,sort:tE,spinner:tk,"split-horizontal":t_,"split-vertical":tA,square:tR,"stack-compact":tS,stack:tj,star:tM,stop:tP,strikethrough:tL,string:tI,sun:tO,sync:tD,tag:tT,terminal:tN,"th-large":tF,"th-list":tH,tiers:tV,"toggle-arrow-right":tz,token:tB,transfer:tU,translate:tZ,trash:tW,"trend-upward":tG,"triangle-outline":tq,trolley:t$,truncate:tX,ulist:tY,underline:tK,undo:tJ,unknown:tQ,unlock:t1,unpublish:t0,upload:t5,user:t2,users:t8,"warning-filled":t3,"warning-outline":t4};(0,r.forwardRef)(function(e,t){let{symbol:n,...i}=e,o=t6[n];return o?(0,r.createElement)(o,{...i,ref:t}):null})},21137:function(e,t,n){"use strict";n.d(t,{hn:function(){return s},xN:function(){return u}});var r=n(85893),i=n(55379),o=n(67294);(0,o.forwardRef)(function(e,t){return(0,r.jsxs)("svg",{"data-sanity-icon":"groq-logo",height:"1em",viewBox:"0 0 304 64",f
12ill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,r.jsx)("path",{d:"M32 0L0 32H32V0Z",fill:i.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M32 32H0L32 64V32Z",fill:i.VG.green[300].hex}),(0,r.jsx)("path",{d:"M64 32H32V64L64 32Z",fill:i.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M112 0L80 32H112V0Z",fill:i.VG.green[300].hex}),(0,r.jsx)("path",{d:"M112 0H80V32L112 0Z",fill:i.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M112 32H80L112 64V32Z",fill:i.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M144 64L112 32V64H144Z",fill:i.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M80 32V64H112L80 32Z",fill:i.VG.orange[400].hex}),(0,r.jsx)("path",{d:"M112 0V32H144L112 0Z",fill:i.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M192 0L160 32H192V0Z",fill:i.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M192 32H160L192 64V32Z",fill:i.VG.orange[400].hex}),(0,r.jsx)("path",{d:"M224 32H192V64L224 32Z",fill:i.VG.green[300].hex}),(0,r.jsx)("path",{d:"M192 0V32H224L192 0Z",fill:i.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M272 0L240 32H272V0Z",fill:i.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M304 32L272 64H304V32Z",fill:i.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M272 32H240L272 64V32Z",fill:i.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M304 32H272V64L304 32Z",fill:i.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M272 0V32H304L272 0Z",fill:i.VG.green[300].hex})]})}),(0,o.forwardRef)(function(e,t){return(0,r.jsxs)("svg",{"data-sanity-icon":"groq-monogram",width:"1em",height:"1em",viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,r.jsx)("rect",{width:"128",height:"128",rx:"8",fill:i.VG.green[950].hex}),(0,r.jsx)("rect",{y:"32",width:"64",height:"64",fill:i.VG.green[800].hex}),(0,r.jsx)("path",{d:"M64 32L32 64H64V32Z",fill:i.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M64 64H32L64 96V64Z",fill:i.VG.green[300].hex}),(0,r.jsx)("path",{d:"M96 64H64V96L96 64Z",fill:i.VG.purple[300].hex})]})});let a={light:[i.VG.red[200].hex,i.VG.red[300].hex,i.VG.red[500].hex],dark:[i.VG.gray[500].hex,i.VG.gray[300].hex,i.ix.hex]},s=(0,o.forwardRef)(function(e,t){let{dark:n,...i}=e,o=a[n?"dark":"light"];return(0,r.jsxs)("svg",{"data-sanity-icon":"sanity-logo",height:"1em",viewBox:"0 0 352 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,ref:t,children:[(0,r.jsx)("path",{d:"M311.14 57.234V80.0016H298.499V57.234",fill:o[1]}),(0,r.jsx)("path",{d:"M298.499 57.2341L319.889 20.0017H333.316L311.14 57.2341H298.499Z",fill:o[2]}),(0,r.jsx)("path",{d:"M298.499 57.2341L276.515 20.0017H290.345L305.239 45.5161L298.499 57.2341Z",fill:o[1]}),(0,r.jsx)("path",{d:"M253.839 40.9625V80.0017H241.007V47.6275L253.839 40.9625Z",fill:o[1]}),(0,r.jsx)("path",{d:"M241.007 47.5944L273.538 30.9469L268.042 21.6519L241.007 34.8633V47.5944Z",fill:o[0]}),(0,r.jsx)("path",{d:"M241.007 30.9469H221.404V20.0017H267.064L273.538 30.9469H253.839H241.007Z",fill:o[2]}),(0,r.jsx)("path",{d:"M214.047 20.0017H201.311V80.0121H214.047V20.0017Z",fill:o[2]}),(0,r.jsx)("path",{d:"M149.39 37.8712V80.0017H137.153V20.0017L149.39 37.8712Z",fill:o[1]}),(0,r.jsx)("path",{d:"M151.282 20.0017L178.231 60.9939V80.0017L137.153 20.0017H151.282Z",fill:o[2]}),(0,r.jsx)("path",{d:"M178.231 57.9129V20.0017H190.467V80.0017H178.231V57.9129Z",fill:o[1]}),(0,r.jsx)("path",{d:"M82.1168 80.9834L112.102 65.3053L108.405 55.7303L88.6644 64.9362L82.1168 80.9834Z",fill:o[0]}),(0,r.jsx)("path",{d:"M100.657 35.5422L82.1167 80.9834L72.5807 72.7745L94.6719 20.0017L100.657 35.5422Z",fill:o[1]}),(0,r.jsx)("path",{d:"M94.672 20.0017H107.312L130.69 80.0017H117.752L94.672 20.0017Z",fill:o[2]}),(0,r.jsx)("path",{d:"M25.1347 26.926C25.1347 35.2811 30.3864 40.2524 40.9004 42.8738L52.0417 45.4117C61.9923 47.6571 68.0519 53.2341 68.0519 62.3203C68.1293 66.2787 66.8194 70.1429 64.3417 73.2654C64.3417 64.2002 59.5684 59.302 48.0551 56.3568L37.1158 53.913C28.3559 51.9495 21.5946 47.3647 21.5946 37.4952C21.5485 33.6839 22.7939 29.9658 25.1347 26.926",fill:o[2]}),(0,r.jsx)("path",{d:"M57.4954 60.0957C62.2475 63.0827 64.3311 67.2602 64.3311 73.255C60.3977 78.2054 53.4875 80.9834 45.3655 80.9834C31.6941 80.9834 22.1262 74.3725 20 62.8842H33.1292C34.8196 68.1584 39.2952 70.6022 45.2698 70.6022C52.5626 70.6022 57.4104 66.7798 57.506 60.0748",fill:o[1]}),(0,r.jsx)("path",{d:"M31.9598 39.3124C29.7898 38.0455 28.0095 36.225 26.8079 34.0442C25.6062 31.8634 25.028 29.4036 25.1347 26.926C28.93 22.0174 35.5318 19.02 43.5794 19.02C57.506 19.02 65.5643 26.2472 67.5523 36.4195H54.9227C53.53 32.409 50.0431 29.2863 43.6858 29.2863C36.8926 29.2863 32.2575 33.1715 31.9917 39.3124",fill:o[1]})]})}),l={bg1:i.VG.red[500].hex,bg2:i.VG.red[200].hex,fg:i.ix.hex}
12,u=(0,o.forwardRef)(function(e,t){let{color:n=l,...i}=e;return(0,r.jsxs)("svg",{"data-sanity-icon":"sanity-monogram",width:"1em",height:"1em",viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,ref:t,children:[(0,r.jsx)("rect",{width:"128",height:"128",rx:"8",fill:n.bg1}),(0,r.jsx)("path",{d:"M39.423 33.163C39.423 44.1615 46.3363 50.7056 60.1768 54.1564L74.843 57.4972C87.9418 60.453 95.9186 67.7945 95.9186 79.7554C96.0205 84.9662 94.2961 90.0531 91.0345 94.1635C91.0345 82.2301 84.751 75.7822 69.595 71.9052L55.1948 68.6882C43.6633 66.1035 34.7629 60.0681 34.7629 47.0761C34.7022 42.0589 36.3416 37.1644 39.423 33.163",fill:n.fg}),(0,r.jsx)("path",{d:"M82.0221 76.827C88.2776 80.759 91.0206 86.2582 91.0206 94.1497C85.8426 100.666 76.7462 104.323 66.0545 104.323C48.0576 104.323 35.4626 95.6207 32.6637 80.4977H49.9468C52.172 87.4406 58.0636 90.6576 65.9285 90.6576C75.5287 90.6576 81.9102 85.6258 82.0361 76.7995",fill:n.bg2}),(0,r.jsx)("path",{d:"M48.4075 49.4682C45.551 47.8004 43.2074 45.404 41.6256 42.5332C40.0437 39.6624 39.2826 36.4244 39.4231 33.1629C44.4191 26.7013 53.1096 22.7556 63.7034 22.7556C82.0362 22.7556 92.6439 32.2693 95.2609 45.66H78.6355C76.8022 40.3807 72.2121 36.27 63.8434 36.27C54.9009 36.27 48.7993 41.3843 48.4495 49.4682",fill:n.bg2})]})})},6551:function(e,t,n){"use strict";n.d(t,{MG:function(){return m}});var r=n(67294);/** 13 * virtual-core 14 * 15 * Copyright (c) TanStack 16 * 17 * This source code is licensed under the MIT license found in the 18 * LICENSE.md file in the root directory of this source tree. 19 * 20 * @license MIT 21 */function i(e,t,n){let r,i=[];return()=>{let o,a;n.key&&null!=n.debug&&n.debug()&&(o=Date.now());let s=e(),l=s.length!==i.length||s.some((e,t)=>i[t]!==e);if(!l)return r;if(i=s,n.key&&null!=n.debug&&n.debug()&&(a=Date.now()),r=t(...s),null==n||null==n.onChange||n.onChange(r),n.key&&null!=n.debug&&n.debug()){let u=Math.round((Date.now()-o)*100)/100,c=Math.round((Date.now()-a)*100)/100,d=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%câ± ${d(c,5)} /${d(u,5)} ms`,` 22 font-size: .6rem; 23 font-weight: bold; 24 color: hsl(${Math.max(0,Math.min(120-120*(c/16),120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}/** 25 * virtual-core 26 * 27 * Copyright (c) TanStack 28 * 29 * This source code is licensed under the MIT license found in the 30 * LICENSE.md file in the root directory of this source tree. 31 * 32 * @license MIT 33 */let o=e=>e,a=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=t;i<=n;i++)r.push(i);return r},s=(e,t)=>{let n=new ResizeObserver(e=>{var n,r;t({width:null==(n=e[0])?void 0:n.contentRect.width,height:null==(r=e[0])?void 0:r.contentRect.height})});if(e.scrollElement)return t(e.scrollElement.getBoundingClientRect()),n.observe(e.scrollElement),()=>{n.unobserve(e.scrollElement)}},l={element:["scrollLeft","scrollTop"],window:["scrollX","scrollY"]},u=e=>(t,n)=>{if(!t.scrollElement)return;let r=l[e][0],i=l[e][1],o=t.scrollElement[r],a=t.scrollElement[i],s=()=>{let e=t.scrollElement[t.options.horizontal?r:i];n(Math.max(0,e-t.options.scrollMargin))};s();let u=e=>{let n=e.currentTarget,l=n[r],u=n[i];(t.options.horizontal?o-l:a-u)&&s(),o=l,a=u};return t.scrollElement.addEventListener("scroll",u,{capture:!1,passive:!0}),()=>{t.scrollElement.removeEventListener("scroll",u)}},c=u("element");u("window");let d=(e,t)=>Math.round(e.getBoundingClientRect()[t.options.horizontal?"width":"height"]),f=(e,t,n)=>{var r;let{adjustments:i,behavior:o,sync:a}=t,s=(a?e:e+n.options.scrollMargin)+(i??0);null==(r=n.scrollElement)||null==r.scrollTo||r.scrollTo({[n.options.horizontal?"left":"top"]:s,behavior:o})};class h{constructor(e){var t=this;this.unsubs=[],this.scrollElement=null,this.isScrolling=!1,this.isScrollingTimeoutId=null,this.measurementsCache=[],this.itemMeasurementsCache={},this.pendingMeasuredCacheIndexes=[],this.scrollAdjustments=0,this.measureElementCache={},this.pendingScrollToIndexCallback=null,this.getResizeObserver=(()=>{let e=null;return()=>e||("undefined"!=typeof ResizeObserver?e=new ResizeObserver(e=>
33{e.forEach(e=>{this._measureElement(e.target,!1)})}):null)})(),this.range={startIndex:0,endIndex:0},this.setOptions=e=>{Object.entries(e).forEach(t=>{let[n,r]=t;void 0===r&&delete e[n]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:o,rangeExtractor:a,onChange:()=>{},measureElement:d,initialRect:{width:0,height:0},scrollMargin:0,scrollingDelay:150,indexAttribute:"data-index",...e}},this.notify=()=>{var e,t;null==(e=(t=this.options).onChange)||e.call(t,this)},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.scrollElement=null},this._didMount=()=>{let e=this.getResizeObserver();return Object.values(this.measureElementCache).forEach(t=>null==e?void 0:e.observe(t)),()=>{null==e||e.disconnect(),this.cleanup()}},this._willUpdate=()=>{var e;null==(e=this.pendingScrollToIndexCallback)||e.call(this);let t=this.options.getScrollElement();this.scrollElement!==t?(this.cleanup(),this.scrollElement=t,this._scrollToOffset(this.scrollOffset,{adjustments:void 0,behavior:void 0,sync:!0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.calculateRange()})),this.unsubs.push(this.options.observeElementOffset(this,e=>{null!==this.isScrollingTimeoutId&&(clearTimeout(this.isScrollingTimeoutId),this.isScrollingTimeoutId=null),this.scrollOffset!==e?(this.scrollOffset=e,this.isScrolling=!0,this.scrollAdjustments=0,this.isScrollingTimeoutId=setTimeout(()=>{this.isScrollingTimeoutId=null,this.isScrolling=!1,this.notify()},this.options.scrollingDelay)):(this.isScrolling=!1,this.scrollAdjustments=0),this.calculateRange()}))):this.isScrolling||this.calculateRange()},this.getSize=()=>this.scrollRect[this.options.horizontal?"width":"height"],this.getMeasurements=i(()=>[this.options.count,this.options.paddingStart,this.options.getItemKey,this.itemMeasurementsCache],(e,t,n,r)=>{let i=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let o=this.measurementsCache.slice(0,i);for(let a=i;a<e;a++){let s=n(a),l=r[s],u=o[a-1]?o[a-1].end:t,c="number"==typeof l?l:this.options.estimateSize(a),d=u+c;o[a]={index:a,start:u,size:c,end:d,key:s}}return this.measurementsCache=o,o},{key:!1,debug:()=>this.options.debug}),this.calculateRange=i(()=>[this.getMeasurements(),this.getSize(),this.scrollOffset],(e,t,n)=>{let r=function(e){let{measurements:t,outerSize:n,scrollOffset:r}=e,i=t.length-1,o=p(0,i,e=>t[e].start,r),a=o;for(;a<i&&t[a].end<r+n;)a++;return{startIndex:o,endIndex:a}}({measurements:e,outerSize:t,scrollOffset:n});return(r.startIndex!==this.range.startIndex||r.endIndex!==this.range.endIndex)&&(this.range=r,this.notify()),this.range},{key:!1,debug:()=>this.options.debug}),this.getIndexes=i(()=>[this.options.rangeExtractor,this.range,this.options.overscan,this.options.count],(e,t,n,r)=>e({...t,overscan:n,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let n=this.indexFromElement(e),r=this.measurementsCache[n];if(!r)return;let i=this.measureElementCache[r.key],o=this.getResizeObserver();if(!e.isConnected){i&&(null==o||o.unobserve(i),delete this.measureElementCache[r.key]);return}i&&i===e||(i&&(null==o||o.unobserve(i)),this.measureElementCache[r.key]=e,null==o||o.observe(e));let a=this.options.measureElement(e,this),s=this.itemMeasurementsCache[r.key]??r.size,l=a-s;0!==l&&(r.start<this.scrollOffset&&this.isScrolling&&this._scrollToOffset(this.scrollOffset,{adjustments:this.scrollAdjustments+=l,behavior:void 0,sync:!1}),this.pendingMeasuredCacheIndexes.push(n),this.itemMeasurementsCache={...this.itemMeasurementsCache,[r.key]:a},this.notify())},this.measureElement=e=>{e&&this._measureElement(e,!0)},this.getVirtualItems=i(()=>[this.getIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let r=0,i=e.length;r<i;r++){let o=e[r],a=t[o];n.push(a)}return n},{key:!1,debug:()=>this.options.debug}),this.scrollToOffset=function(e,n){let{align:r="start",behavior:i}=void 0===n?{}:n,o=t.scrollOffset,a=t.getSize();"auto"===r&&(r=e<=o?"start":e>=o+a?"end":"start");let s={adjustments:void 0,behavior:i,sync:!1};"start"===r?t._scrollToOffset(e,s):"end"===r?t._scrollToOffset(e-a,s):"center"===r&&t._scrollToOffset(e-a/2,s)},this.scrollToIndex=function(e,n){let{align:r="auto",...i}=void 0===n?{}:n;t.pendingScrollToIndexCallback=null;let o=t.getMeasurements(),a=t.scrollOffset,s=t.getSize(),{count:l}=t.options,u=o[Math.max(0,Math.min(e,l-1))];if(!u)return;if("auto"===r){if(u.end>=a+s-t.options.scrollPaddingEnd)r="end";else{if(!(u.start<=a+t.options.scrollPaddingStart))return;r="start"}}let c="end"===r?u.end+t.options.scrollPaddingEnd:u.start-t.options.scrollPaddingStart;t.scrollToOffset(c,{align:r,...i});let d=Object.keys(t.measureElementCache).length>0;if(d){let f=()=>"number"==typeof t.itemMeasurementsCache[t.options.getItemKey(e)];f()||(t.pendingScrollToIndexCallback=()=>{f()&&(t.pendingScrollToIndexCallback=null,t.scrollToIndex(e,{align:r,...i}))})}},this.getTotalSize=()=>{var e;return((null==(e=this.getMeasurements()[this.options.count-1])?void 0:e.end)||this.options.paddingStart)+this.options.paddingEnd},this._scrollToOffset=(e,t)=>
33{let{adjustments:n,behavior:r,sync:i}=t;this.options.scrollToFn(e,{behavior:r,sync:i,adjustments:n},this)},this.measure=()=>{this.itemMeasurementsCache={},this.notify()},this.setOptions(e),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset,this.calculateRange()}}let p=(e,t,n,r)=>{for(;e<=t;){let i=(e+t)/2|0,o=n(i);if(o<r)e=i+1;else{if(!(o>r))return i;t=i-1}}return e>0?e-1:0},g="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function m(e){return function(e){let t=r.useReducer(()=>({}),{})[1],n={...e,onChange:n=>{t(),null==e.onChange||e.onChange(n)}},[i]=r.useState(()=>new h(n));return i.setOptions(n),r.useEffect(()=>i._didMount(),[]),g(()=>i._willUpdate()),i}({observeElementRect:s,observeElementOffset:c,scrollToFn:f,...e})}},4527:function(e,t,n){"use strict";function r(e){return window.crypto.getRandomValues(e)}n.d(t,{Z:function(){return r}})},53416:function(e,t,n){"use strict";n.d(t,{kP:function(){return o},x0:function(){return a}});let r=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return (o=t)=>{let a="";for(;;){let s=n(i),l=i;for(;l--;)if((a+=e[s[l]&r]||"").length===o)return a}}},o=(e,t=21)=>i(e,t,r),a=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},90908:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(85893),i="data:image/vnd.microsoft.icon;base64,AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAlL7VMLz7w6y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPfDrJSy1TC8+8OsvPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvDrLz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/M0Lw/zdF8P8zQvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/zNC8P9dafP/ho/2/6Go+P+rsfn/q7H5/6ux+f+dpPj/foj2/05b8v8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P9MWfL/nKP4/6ux+f+rsfn/q7H5/6ux+f+rsfn/q7H5/6ux+f+rsfn/q7H5/4SN9v81Q/D/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/UFzy/6et+f+rsfn/q7H5/6ux+f+rsfn/q7H5/6ux+f+rsfn/q7H5/6ux+f+rsfn/q7H5/5Ka9/82RPD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/zdF8P+epPj/q7H5/6ux+f+rsfn/q7H5/4aP9v9jbvT/WGTz/2Vw9P+IkPb/q7H5/6ux+f+rsfn/w8j7/4qS9v8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Z3L0/6ux+f+rsfn/q7H5/6mv+f9RXvL/Lz7w/y8+8P8vPvD/Lz7w/y8+8P9dafP/q7H5/6ux+f/X2vz/ztL7/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P9+iPX/m6L4/5ui+P+bovj/d4D1/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P+Ikfb/t7z6//v7///19v7/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/4WO9v/09f7///////j5/v8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/NkTw/2p09P++wvr/////////////////1df8/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/0JQ8f9zffX/pKv4/9LV+//4+f7///////////////////////////+EjPb/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/32G9v/S1fz/////////////////////////////////////////////////xMn7/zJB8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/zZE8P/Eyfv//////
33///////////////////////////////////////////+Pn+/56k+P82RPD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/rrT5///////////////////////////////////////r7f7/u8D6/4SM9v9CUPH/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/zxK8f/8/P//////////////////7/D+/7G2+f96hPX/TFny/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/ZnH0////////////+Pn+/5CY9/82RPD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P9td/T///////b2/v+1u/r/Tlvy/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/0RS8f9lcfT/ZXH0/2Vx9P9aZvP/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/1Nf8v//////ys77/6ux+f+MlPf/MUDw/y8+8P8vPvD/Lz7w/y8+8P8zQvD/kJj3/6ux+f+rsfn/q7H5/3R/9f8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/9jb/P+ssvn/q7H5/6ux+f+QmPf/VGDy/zlH8P87SfH/VGDy/5Ka9/+rsfn/q7H5/6ux+f+pr/n/QE7x/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Xmr0/6ux+f+rsfn/q7H5/6ux+f+rsfn/q7H5/6ux+f+rsfn/q7H5/6ux+f+rsfn/q7H5/2959f8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Ymz0/6mv+f+rsfn/q7H5/6ux+f+rsfn/q7H5/6ux+f+rsfn/q7H5/6ux+f9xe/X/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/RFLy/4CJ9v+nrvn/q7H5/6ux+f+rsfn/q7H5/6eu+f+Ikfb/Slfy/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/zNB8P9KV/L/VmLz/1Rg8/9IVfL/NUPw/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvDrLz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w6yUvtUwvPvDrLz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8P8vPvD/Lz7w/y8+8OslLLVMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",o="data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Crect%20width%3D%22512%22%20height%3D%22512%22%20fill%3D%22%23F03E2F%22%20rx%3D%2230%22%20%2F%3E%20%3Cpath%20d%3D%22M161.527%20136.723C161.527%20179.76%20187.738%20205.443%20240.388%20219.095L296%20232.283C345.687%20243.852%20376%20272.775%20376%20319.514C376%20341.727%20369.162%20360.931%20357.538%20375.971C357.538%20329.232%20333.607%20303.78%20276.171%20288.74L221.47%20276.246C177.709%20266.065%20143.977%20242.464%20143.977%20191.56C143.977%20170.505%20150.359%20151.994%20161.527%20136.723Z%22%20fill%3D%22white%22%20%2F%3E%20%3Cpath%20opacity%3D%220.5%22%20d%3D%22M323.35%20308.176C347.054%20323.679%20357.538%20345.197%20357.538%20376.202C337.709%20401.654%20303.293%20416%20262.724%20416C194.575%20416%20146.484%20381.756%20136%20322.753H201.641C210.074%20350.056%20232.41%20362.551%20262.268%20362.551C298.735%20362.32%20322.895%20342.652%20323.35%20308.176Z%22%20fill%3D%22white%22%20%2F%3E%20%3Cpath%20opacity%3D%220.5%22%20d%3D%22M195.715%20200.816C172.923%20186.007%20161.527%20165.183%20161.527%20136.954C180.672%20111.503%20213.493%2096%20253.835%2096C323.35%2096%20363.692%20133.252%20373.721%20185.776H310.359C303.293%20165.183%20285.971%20148.986%20254.291%20148.986C220.33%20148.986%20197.311%20169.116%20195.715%20200.816Z%22%20fill%3D%22white%22%20%2F%3E%3C%2Fsvg%3E";function a(e){let{charSet:t="utf-8",viewport:n=!0,robots:a="noindex",referrer:s="same-origin",favicons:l=!0,title:u="Sanity"}=e;return(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)("meta",{charSet:t},"charset"),n&&(0,r.jsx)("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"},"viewport"),a&&(0,r.jsx)("meta",{name:"robots",content:a},"robots"),s&&(0,r.jsx)("meta",{name:"referrer",content:s},"referrer"),u&&(0,r.jsx)("title",{children:u}),l&&(0,r.jsx)("link",{rel:"icon",href:i.default||i,sizes:"any"},"favicon.ico"),l&&(0,r.jsx)("link",{rel:"apple-touch-icon",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA33SURBVHgB7Z1djJTVGcef952ZnfUDFtLyUSuyVdFGLIuoGLC7sPUjaIPaJhWTxkZbL7xoYm+atDet9aZNelNjmpjQxirxQmuqxaTS2mRhsaCouBBogtKyFFq+ouwuCDPMx+n5n5l3md2d2ZlZ3nnnPc95fslmPiGw83ufec55znmORzU4vXb5HCrQQz6pNcqjtfqpbhKE9jFEioZ9T70xe3Dvi7Xe5FV7crRv2VOKvKf13TkkCPFjWAfap6uJPUFoRGWvoF6nUkQWhHijaKvKeY/PfXdoOHhqXGgtc7dXVAMkqYVgF8PK926Zu3VoBA/84FkdmV8gkVmwj26TVZQxQp/u/dpjkmYI1qLdPd277Eelu5qRvp5DJNFZsJsRnXp8xTfRWWQW7EdPMxce8j3yHyRBYIBP/hpfJx3dJAgMQAEQg8LlJAg86PZJEBghQgusEKEFVojQAitEaIEVIrTAChFaYIUILbBChBZYIUILrBChBVaI0AIrRGiBFSK0wAoRWmCFCC2wQoQWWCFCC6wQoQVWiNACK0RogRVJEmaMl06Tv2gx0ew55Hd1kddxGfkL5hOlO0uvz57ajVhlM0TlH5XJmsdqbISKo6OkTp0gNTqiH4+SMDNE6Cbw5i0wAif0D269srhN/R34M4HwNd5jJD95ggpHDlPx6GF9/7h+LktCfbyRvh5FQk38q7XAS26gxNKeGQkcFkUtd37/HnMrEbw2InQVkEokV9xBiVtXtlXiWgRyF/bvJWEiInQF3uwuSq7uo8T1N8ZS5Mkg985/uIsKBw9I1C4jQlM5Iq9aQ0kdkW0EYhf27TVR23WxnRc6uWKlico2ROR6QOzcjkGnUxFnhUZ60bHugdK0GzOQY1/YstnJaO2k0Jyici0w9ZfX0Tq/exe5hHPz0Km191qbKzcDLtZU/73k6YJPbuBtcgVnSt8Y+HWsW++EzJVg+rHze0+YFMsFnBAaMqc3PGqKIy7izVto/v8uSO2E0ObD1B+qy2BdiQtSsxcaObPrMgeMS62/sbjCWuhU313O5cz1gNQdDz5MXGErtL/wKur49iMkTAVz76n+e4gjbIW+4tnfkVAbs/jq+huIGyyFTj/+pInQ3uVXkFCblK6Ucsun2QkNkTsfe7L0IJUioTam+KKl5gS7SiGic0CUEVplMlQ4+DEVTx0nGhul4skTpefHRia8D4MyVO8gU7ADxte3Xmd7yvBYKot/A9Z/cICV0GYgWBFxWj3nConzH+0yMjQqBAQfl/zgAaKdpbtma9fSZZRsQ/EntaqPskc2EQdYCV0ZnYGJ0EmdduRzFCbYyJrbGe4yzeCiwIIiLJyKUmy/vEeSQ5Rmk0N7V86i1Nf7pzzvf+kqChOInN20sWVrjrHkM7flTcpsfC5SwRClOcBGaMgMqSfjf3EehQGicualjSaCRrEDG2JnX91kLqAoCKK07bAROtnbX/V5f+GXS2nHJYA2ApALfTOiBhcQFutHAYcozSpCV38hRYlrummmIDIbmdu4+wPpTRRSl3qN2D0vzULoxPLbpn3dv3YJzYRxmWPQ5AVSR5F+2L7ElofQei51OrzLL9fRp5uaBQLFaV8e0o9WDxTr/S7jDguhk7fcVvc9iRtvaiqXLsS0kUurUw/b0w4WQqOgUg9EaSN1g6AdQBwx03otTj38679KtuKM0CBx3RLyvlB/Gq8Q84YthQ9bu5Pbnz+fbIWF0NXmn2uRvOV2ojprPPIxb9SCFgWtzKXRoNJWrC99NxqdA5B6pG5fRbl/bKtaEm+1LGGBXNrrmkPCRJzsDw0RUneuqSq1LesZkBJJg8apOHskRSD15PQjWPYp2InTZ6wYqVdPlNqsZxasxXqh1dkzdCkgp+64+z5KBNVEOfrBapwXOiBxcw+l7r5f/0YSJNgLi5SjePx/FAaI1rNe+hNd9tNnmp49EeIBC6FxJEOYYBsX2iAEu8cFe+ARoY+FE6ErCXaPX/n7VyRiWwQPoUOO0JWgComIPeuVv5iozW3bPzdYdPBH9IRwUYGBaO6dAcptH6C8vhXiA5sjKSB0O9ICyJ0f+sDIXdC3YQ1QhZnBRui0znc7J7UxaAcQGoPU/EcfGNFbmQ4JU2GzlgPRMQ7gWwI/wR5HRPDJgoc1dy5MhdUpWBi0JZfX373SbiB4IDluJYqHByuhIbONbXQr0xQje0y+bWyE3TmFtkTpeiA9CSRHBJfBZmOwE9rWKF2PIE0JZlMkD68Oy5NkO3/4Y0p/57vEGUTwC29tlqnCSbAUGtU9RGnbe0w0CrZjSZGnBNuzvjF1hnUYzWygtR1E6swLz1Muol54cYT14fWI0IjULkkNXBabtdDAVamBi2InfrJ44dPEGPXZp5TftYOSd9zpnNSmCXxvv2n67kqF0olNspju+vypJ5ydDQg2LNRsOcwI9hE6ANHpwmsvm6iVXLqMXMNE67vW6TvxWffSCpwROgDpBz5QdCx1Ma9G4cmbNcv8HjjinNAAqYeJ1lQ6VMg1sZM3LTP/7/w7W4kbTgodgGqbKUbodMQ1sc2Bm0ZqXsUYp4UGwY4TRGylI3diyY3OiG0qqcxyaueFrgSzIRA7+ICRa3KXGzk1UjAua7LZF1YuFXzgST3dhUEk17Uh+JY6+4MNLKY1RegmwPoQSI1Tt5CacFh3HYC0C3P1tiNCXyKQ2teSBxHc5oY0EDpveT4tQodMZRS3LU3hEKVF6BaDQaWJ3OUobgobMR5o2h6lReg2EKQmcYzitkdpEToGBFE8LrMpY9/stXZlnggdQxC9kZqk7nugLTM
33pWEOd/cPzZCMidMxph9w2px0itEVAbvTwQ1rS6ulBW9MOEdpCzNpmnW+38oQBW2c7nD7WzVbMZoUtm+nMhvvp/C9/RsVj/6Ww8S0t84vQlgOxzz7xCGVfCHcQZ2vFU4RmACJ2Rs9KnH/2V6TOfU5hIEILbcdLpij397eocOCfdKlg8b+NiNAMgdC5XTtI5XI0U2xdBy5CM8Kbt2D8Pnbf5Le9HVoKYgsiNBN8LbPX2TnhOXXuHOV3bHNKamvPWEk//Ci1ktzu96h48GOyBW/+gqrPG6nf30nJ1WvIS6WIO/YeGpTuJL/GhxgG+OizFgk93YImNTpChX1DusJ4O3HH2pSjeOQwtRJ/0WLy0mmyAW92V90Vevh9Ff79CTWKrfsL7RX6aGuFBsnVfWQDuPgaAbMf6vRnDb1XnbFz+ahE6GlIrrjDRL84g2+RVKMXnp7GKwz/q6G3Fixta2Ct0CqbiUTqjpgfVp+8FRfdnIbf32jqIUK3gXwEv3R8nadWxTP18K9eTMkZ/NuKJ0/UfY+SHDp6ivv3kspkqNUgl04u7aE4gVSo4771NBPU6U+nrSIGB4HaiNVCm7QjgsEhSK1bHxupIXN6w6NNpRoT0DIXjwzXfBmHfdqK9ZXC/O5dFBVG6hUrqZ2gvH1JMpcpHqudUtjcxsB6oTHIiWJwGJDqv1cPFNe3ZfYDF1MYMgM1NlJ1i5Xpxmpxi10WazlyOwcpShI69YBYiYiOtsDgD6V+XExeupNCQacdqCBOeXr7gNWHC9lb+q4giNKNFhjCAFESU3pKDxgL+/ZSfv8eHfVGKSwwv+zrCyeJpjQt+n9hDDIZW9sXBLAQGiBKpxe1dsFSNSC2mQXRP2aOFxeXHqiqk8e1MNnm/i6dH0NeSIzFRqFF4xpg+i5x7ZLxx3kG54azERoyYYDYzkEbZKyMpiZPHR01kdDcz1wU3OtMk9dxGZG+xSKrMPLipvEnZpyZ535NtsNGaJDfMUiJ624gr6sNclQBkrZF1EYZu5hDX3hrs7Vzz5WwWuCPSHjhr2+S0BwYBNqeOwew27GC1CM38DcS6oPF/wAtELicsstyCxZy6SgLLjaTGxyg7GsvExfY7ilElI6y4GIjmIfO/Nb+gWAlrDfJXvjzHxtaWeYikDn76iY2qUYAa6HNIBEfmkg9AaxQzOqLPcxCUFxg38YAUmc3bZScuoyRWV/k6hTPi5zVPPR0IKeG3HFdrB8FQZrBMTIHOCM0QOFF6fQjtfae2BRfogIl+dyWzaxlBk4JDVANK548HstdKK0iv/s9/Q31NrmA0x38sfwTKQjXaI0UA5VTl6Yv5UgKKu8ZvGkZG7FV5jzlP3qfCh++1/SKP9sRocuY7kM391gttssiB4jQVUAqgiYzreydFyYi8kVE6GnAgvvkrSspcfXi2EVtSFw8dZLyOwelxF+BCN0gwW4SNEVMLLoGz1DUQOLCwU+oeHSYinq2xvVoXA0ReoaY7qRlybFVyp83v9xwPBzRIa8aGzNleyPwkf+YXS/C9IjQIYKNrd78haW9gHqQiVtstSJstcLrXRdbH2Br1vh9bM/ChlWzVWu0tG1L5J0RzhVWWglSACX5bFuRM1YEVojQAitEaIEVIrTAChFaYIUILbBChBZYIUILrBChBVaI0AIrRGiBFSK0wAoRWmCFCC2wQoQWWCFCC6wQoQVWiNACK0RogRUitMAKEVpghQgtsAJCD5Mg8GDIV6S2kSAwQLt82CeltpIgMMAn/3WfEok39H3pOyXYzqGuwaEX/blbh0aU8n5BgmAxHpUcHm+VOdLbM6AfrSVBsA1FA3O27/kG7o5P26mE9y2SGQ/BPg6pnPf94MG40Cb18L1+bftWEoT4oxCZtbMr5r47NBw8WbU79+ne5Y95nvq5vttNghAv0M8c475n5m4f+s3kF6dtN2/EJvWgfle3fricokeasQsBw57OHorkDVKC3kBGUe1N/wfbbdzDqoctgAAAAABJRU5ErkJggg==".default||o},"apple-touch-icon.png"),l&&(0,r.jsx)("link",{rel:"icon",href:o.default||o,type:"image/svg+xml"},"favicon.svg")]})}},64446:function(e,t,n){"use strict";n.d(t,{nD:function(){return x}});var r,i,o,a=n(85893),s=n(67294),l=n(32932),u=n(50066),c=n(40168),d=n(11636);function f(e){let t=(0,s.useMemo)(()=>Array.isArray(e)?e[0]:e,[e]);return(0,s.useMemo)(()=>(null==t?void 0:t.theme)||l.uHP,[t])}let h={__html:"\n.sanity-app-no-js__root {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n background: #fff;\n z-index: 1;\n}\n\n.sanity-app-no-js__content {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n text-align: center;\n font-family: helvetica, arial, sans-serif;\n}\n"},p=()=>(0,a.jsx)("noscript",{children:(0,a.jsx)("div",{className:"sanity-app-no-js__root",children:(0,a.jsxs)("div",{className:"sanity-app-no-js__content",children:[(0,a.jsx)("style",{type:"text/css",dangerouslySetInnerHTML:h}),(0,a.jsx)("h1",{children:"JavaScript disabled"}),(0,a.jsxs)("p",{children:["Please ",(0,a.jsx)("a",{href:"https://www.enable-javascript.com/",children:"enable JavaScript"})," in your browser and reload the page to proceed."]})]})})});function g(e){let{config:t,scheme:n="light",unstable__noScript:r=!0}=e,i="next-sanity-spinner",o=f(t),{fonts:s,media:l}=o,u=(0,d.Lt)(l,[2],e=>{let{ascenderHeight:t,descenderHeight:r,lineHeight:a,iconSize:l}=s.text.sizes[e],u=a-t-r;return{wrapper:{display:"block",animation:"".concat(i," 500ms linear infinite"),color:o.color[n].default.muted.default.enabled.muted.fg,width:(0,d.hO)(u),height:(0,d.hO)(u)},svg:{display:"block",width:(0,d.hO)(l),height:(0,d.hO)(l),margin:(u-l)/2}}})[0];return(0,a.jsxs)(a.Fragment,{children:[r&&(0,a.jsx)(p,{}),(0,a.jsx)("div",{style:{fontFamily:s.text.family,backgroundColor:o.color[n].default.base.bg,height:"100vh",maxHeight:"100dvh",overscrollBehavior:"none",WebkitFontSmoothing:"antialiased",overflow:"auto"},children:(0,a.jsxs)("div",{"data-ui":"Flex",style:{display:"flex",minWidth:0,minHeight:0,alignItems:"center",justifyContent:"center",flexDirection:"column",height:"100%",margin:0,padding:0,gap:"10px"},children:[(0,a.jsx)("style",{children:"@keyframes ".concat(i," {").concat("\nfrom {\n transform: rotate(0deg);\n}\n\nto {\n transform: rotate(360deg);\n}\n","}")},n),(0,a.jsx)("div",{"data-ui":"Text",style:{position:"relative",fontWeight:400,padding:"1px 0px",fontSize:"1rem",lineHeight:"calc(1.3125)",transform:"translateY(-5px)",color:o.color[n].default.muted.default.enabled.muted.fg},children:(0,a.jsx)("span",{children:"Loadingâ¦"})}),(0,a.jsx)("div",{"data-ui":"Spinner",style:u.wrapper,children:(0,a.jsx)(c.L4p,{style:u.svg})})]})})]})}function m(e){let{children:t,fallback:n}
33=e,[r,i]=(0,s.useState)(!1);return(0,s.useEffect)(()=>(0,s.startTransition)(()=>i(!0)),[]),(0,a.jsx)(a.Fragment,{children:r?t:n})}let v=u.ZP.div(o||(r=["\n font-family: ",";\n background-color: ",";\n height: 100vh;\n max-height: 100dvh;\n overscroll-behavior: none;\n -webkit-font-smoothing: antialiased;\n overflow: auto;\n"],i||(i=r.slice(0)),o=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(i)}}))),e=>{let{$fontFamily:t}=e;return t},e=>{let{$bg:t}=e;return t}),y=e=>{let{children:t,config:n,scheme:r="light"}=e,i=f(n);return(0,a.jsx)(v,{"data-ui":"NextStudioLayout",$fontFamily:i.fonts.text.family,$bg:i.color[r].default.base.bg,children:t})},w=(0,s.memo)(y),b=e=>{let{children:t,config:n,unstable__noScript:r,scheme:i,...o}=e;return(0,a.jsx)(m,{fallback:(0,a.jsx)(g,{unstable__noScript:r,config:n,scheme:i}),children:(0,a.jsx)(w,{config:n,scheme:i,children:t||(0,a.jsx)(l.NEx,{config:n,scheme:i,unstable_globalStyles:!0,...o})})})},x=(0,s.memo)(b);"undefined"!=typeof document&&window.matchMedia("(prefers-color-scheme: dark)")},3982:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});let r=[],i=[],o=new Set,a=new Map,s=new Map,l=e=>"string"==typeof e?RegExp("^".concat(e,"$"),"i"):e,u=(e,t)=>"string"!=typeof t?e:e===t?t:e===e.toLowerCase()?t.toLowerCase():e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase(),c=(e,t,n)=>{if(!e.length||o.has(e))return t;let{length:r}=n;for(;r--;){let i=n[r];if(i[0].test(t))return t.replace(i[0],function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let[o,a]=n,s=i[1].replace(/\$(\d{1,2})/g,(e,t)=>n[t]||"");return u(""===o?t[a-1]:o,s)})}return t},d=(e,t,n,r)=>{let i=e.toLowerCase();return n.has(i)?u(e,i):t.has(i)?u(e,t.get(i)):c(i,e,r)},f=(e,t,n,r)=>{let i=e.toLowerCase();return!!n.has(i)||!t.has(i)&&c(i,i,r)===i},h=(e,t,n)=>{let r=1===t?h.singular(e):h.plural(e);return n?"".concat(t," ").concat(r):r};for(let[p,g]of(h.plural=e=>d(e,s,a,r),h.singular=e=>d(e,a,s,i),h.addPluralRule=(e,t)=>{r.push([l(e),t])},h.addSingularRule=(e,t)=>{i.push([l(e),t])},h.addIrregularRule=(e,t)=>{let n=t.toLowerCase(),r=e.toLowerCase();s.set(r,n),a.set(n,r)},h.addUncountableRule=e=>{"string"!=typeof e?(h.addPluralRule(e,"$0"),h.addSingularRule(e,"$0")):o.add(e.toLowerCase())},h.isPlural=e=>f(e,s,a,r),h.isSingular=e=>f(e,a,s,i),[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["my","our"],["its","their"],["his","their"],["her","their"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"],["canvas","canvases"]]))h.addIrregularRule(p,g);for(let[m,v]of[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]])h.addPluralRule(m,v);for(let[y,w]of[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/(dg|ss|ois|lk|ok|wn|mb|th|ch|ec|oal|is|ck|ix|sser|ts|wb)ies$/i,"$1ie"],[/\b(l|(?:neck|cross|hog|aun)?t|coll|faer|food|gen|goon|group|hipp|junk|vegg|(?:pork)?p|charl|calor|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]])h.addSingularRule(y,w);for(let b of["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i])h.addUncountableRule(b)},27795:function(e,t,n){"use strict";n.d(t,{YI:function(){return J}});var r=Object.defineProperty,i=Object.defineProperties,o=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,n
33)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&u(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&u(e,n,t[n]);return e},d=(e,t)=>i(e,o(t));function f(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function h(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function p(e){return h(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function g(e){return"@list"===e._type}function m(e){return"@span"===e._type}function v(e){return"@text"===e._type}let y=["strong","em","code","underline","strike-through"];function w(e,t,n){if(!f(e)||!e.marks||!e.marks.length)return[];let r=e.marks.slice(),i={};return r.forEach(e=>{i[e]=1;for(let r=t+1;r<n.length;r++){let o=n[r];if(o&&f(o)&&Array.isArray(o.marks)&&-1!==o.marks.indexOf(e))i[e]++;else break}}),r.sort((e,t)=>(function(e,t,n){let r=e[t],i=e[n];if(r!==i)return i-r;let o=y.indexOf(t),a=y.indexOf(n);return o!==a?o-a:t.localeCompare(n)})(i,e,t))}function b(e,t,n){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function x(e,t){let n=t.level||1,r=t.listItem||"normal",i="string"==typeof t.listItem;if(g(e)&&(e.level||1)===n&&i&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;let o=e.children[e.children.length-1];return o&&!f(o)?x(o,t):void 0}var C=n(67294),E=Object.defineProperty,k=Object.defineProperties,_=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,j=(e,t,n)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(e,t)=>{for(var n in t||(t={}))R.call(t,n)&&j(e,n,t[n]);if(A)for(var n of A(t))S.call(t,n)&&j(e,n,t[n]);return e},P=(e,t)=>k(e,_(t)),L=(e,t)=>{var n={};for(var r in e)R.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&A)for(var r of A(e))0>t.indexOf(r)&&S.call(e,r)&&(n[r]=e[r]);return n};function I(e,t,n){let r=t[n],i=e[n];return"function"==typeof r||r&&"function"==typeof i?r:r?M(M({},i),r):i}let O=({children:e,value:t})=>C.createElement("a",{href:null==t?void 0:t.href},e),D={textDecoration:"underline"},T=({children:e})=>C.createElement("li",null,e),N=(e,t)=>`Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,F=e=>N(`block type "${e}"`,"types"),H=e=>N(`mark type "${e}"`,"marks"),V=e=>N(`block style "${e}"`,"block"),z=e=>N(`list style "${e}"`,"list"),B=e=>N(`list item style "${e}"`,"listItem");function U(e){console.warn(e)}let Z={display:"none"},W=({value:e,isInline:t})=>{let n=F(e._type);return t?C.createElement("span",{style:Z},n):C.createElement("div",{style:Z},n)},G=({markType:e,children:t})=>C.createElement("span",{className:`unknown__pt__mark__${e}`},t),q=({children:e})=>C.createElement("p",null,e),$=({children:e})=>C.createElement("ul",null,e),X=({children:e})=>C.createElement("li",null,e),Y=()=>C.createElement("br",null),K=(0,C.createContext)({types:{},block:{normal:({children:e})=>C.createElement("p",null,e),blockquote:({children:e})=>C.createElement("blockquote",null,e),h1:({children:e})=>C.createElement("h1",null,e),h2:({children:e})=>C.createElement("h2",null,e),h3:({children:e})=>C.createElement("h3",null,e),h4:({children:e})=>C.createElement("h4",null,e),h5:({children:e})=>C.createElement("h5",null,e),h6:({children:e})=>C.createElement("h6",null,e)},marks:{em:({children:e})=>C.createElement("em",null,e),strong:({children:e})=>C.createElement("strong",null,e),code:({children:e})=>C.createElement("code",null,e),underline:({children:e})=>C.createElement("span",{style:D},e),"strike-through":({children:e})=>C.createElement("del",null,e),link:O},list:{number:({children:e})=>C.createElement("ol",null,e),bullet:({children:e})=>C.createElement("ul",null,e)},listItem:T,hardBreak:Y,unknownType:W,unknownMark:G,unknownList:$,unknownListItem:X,unknownBlockStyle:q});function J({value:e,components:t,listNestingMode:n,onMissingComponent:r=U}){let i=r||et,o=Array.isArray(e)?e:[e],a=function(e,t){let n;let r=[];for(let i=0;i<e.length;i++){let o=e[i];if(o){var a;if(!p(o)){r.push(o),n=void 0;continue}if(!n){n=b(o,i,t),r.push(n);continue}if(a=n,(o.level||1)===a.level&&o.listItem===a.listItem){n.children.push(o);continue}if((o.level||1)>n.level){let s=b(o,i,t);
33if("html"===t){let l=n.children[n.children.length-1],u=d(c({},l),{children:[...l.children,s]});n.children[n.children.length-1]=u}else n.children.push(s);n=s;continue}if((o.level||1)<n.level){let f=r[r.length-1],h=f&&x(f,o);if(h){(n=h).children.push(o);continue}n=b(o,i,t),r.push(n);continue}if(o.listItem!==n.listItem){let g=r[r.length-1],m=g&&x(g,{level:o.level||1});if(m&&m.listItem===o.listItem){(n=m).children.push(o);continue}n=b(o,i,t),r.push(n);continue}console.warn("Unknown state encountered for block",o),r.push(o)}}return r}(o,n||"html"),s=(0,C.useContext)(K),l=(0,C.useMemo)(()=>t?function(e,t){let{block:n,list:r,listItem:i,marks:o,types:a}=t,s=L(t,["block","list","listItem","marks","types"]);return M(P(M({},e),{block:I(e,t,"block"),list:I(e,t,"list"),listItem:I(e,t,"listItem"),marks:I(e,t,"marks"),types:I(e,t,"types")}),s)}(s,t):s,[s,t]),u=(0,C.useMemo)(()=>Q(l,i),[l,i]),f=a.map((e,t)=>u({node:e,index:t,isInline:!1,renderNode:u}));return t?C.createElement(K.Provider,{value:l},f):C.createElement(C.Fragment,null,f)}let Q=(e,t)=>function n(r){let{node:i,index:o,isInline:a}=r,s=i._key||`node-${o}`;return g(i)?function(r,i,o){let a=r.children.map((e,t)=>n({node:e._key?e:P(M({},e),{_key:`li-${i}-${t}`}),index:i,isInline:!1,renderNode:n})),s=e.list,l="function"==typeof s?s:s[r.listItem],u=l||e.unknownList;if(u===e.unknownList){let c=r.listItem||"bullet";t(z(c),{nodeType:"listStyle",type:c})}return C.createElement(u,{key:o,value:r,index:i,isInline:!1,renderNode:n},a)}(i,o,s):p(i)?function(r,i,o){let a=ee({node:r,index:i,isInline:!1,renderNode:n}),s=e.listItem,l="function"==typeof s?s:s[r.listItem],u=l||e.unknownListItem;if(u===e.unknownListItem){let c=r.listItem||"bullet";t(B(c),{type:c,nodeType:"listItemStyle"})}let d=a.children;if(r.style&&"normal"!==r.style){let{listItem:f}=r,h=L(r,["listItem"]);d=n({node:h,index:i,isInline:!1,renderNode:n})}return C.createElement(u,{key:o,value:r,index:i,isInline:!1,renderNode:n},d)}(i,o,s):m(i)?function(r,i,o){let{markDef:a,markType:s,markKey:l}=r,u=e.marks[s]||e.unknownMark,c=r.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return u===e.unknownMark&&t(H(s),{nodeType:"mark",type:s}),C.createElement(u,{key:o,text:function e(t){let n="";return t.children.forEach(t=>{v(t)?n+=t.text:m(t)&&(n+=e(t))}),n}(r),value:a,markType:s,markKey:l,renderNode:n},c)}(i,0,s):h(i)?function(r,i,o,a){let s=ee({node:r,index:i,isInline:a,renderNode:n}),{_key:l}=s,u=L(s,["_key"]),c=u.node.style||"normal",d="function"==typeof e.block?e.block:e.block[c],f=d||e.unknownBlockStyle;return f===e.unknownBlockStyle&&t(V(c),{nodeType:"blockStyle",type:c}),C.createElement(f,P(M({key:o},u),{value:u.node,renderNode:n}))}(i,o,s,a):v(i)?function(t,n){if("\n"===t.text){let r=e.hardBreak;return r?C.createElement(r,{key:n}):"\n"}return t.text}(i,s):function(r,i,o,a){let s=e.types[r._type],l={value:r,isInline:a,index:i,renderNode:n};if(s)return C.createElement(s,M({key:o},l));t(F(r._type),{nodeType:"block",type:r._type});let u=e.unknownType;return C.createElement(u,M({key:o},l))}(i,o,s,a)};function ee(e){let{node:t,index:n,isInline:r,renderNode:i}=e,o=function(e){var t;let{children:n,markDefs:r=[]}=e;if(!n||!n.length)return[];let i=n.map(w),o={_type:"@span",children:[],markType:"<unknown>"},a=[o];for(let s=0;s<n.length;s++){let l=n[s];if(!l)continue;let u=i[s]||[],c=1;if(a.length>1)for(;c<a.length;c++){let d=(null==(t=a[c])?void 0:t.markKey)||"",h=u.indexOf(d);if(-1===h)break;u.splice(h,1)}let p=(a=a.slice(0,c))[a.length-1];if(p){for(let g of u){let m=r.find(e=>e._key===g),v=m?m._type:g,y={_type:"@span",_key:l._key,children:[],markDef:m,markType:v,markKey:g};p.children.push(y),a.push(y),p=y}if(f(l)){let b=l.text.split("\n");for(let x=b.length;x-- >1;)b.splice(x,0,"\n");p.children=p.children.concat(b.map(e=>({_type:"@text",text:e})))}else p.children=p.children.concat(l)}}return o.children}(t),a=o.map((e,t)=>i({node:e,isInline:!0,index:t,renderNode:i}));return{_key:t._key||`block-${n}`,children:a,index:n,isInline:r,node:t}}function et(){}},80360:function(e,t,n){"use strict";n.d(t,{Z:function(){return tm}});var r,i,o,a,s=n(42079),l=Object.create,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,f=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,p=(e,t)=>function(){return t||(0,e[d(e)[0]])((t={exports:{}}).exports,t),t.exports},g=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of d(t))h.call(e,i)||i===n||u(e,i,{get:()=>t[i],enumerable:!(r=c(t,i))||r.enumerable});return e}
33,m=(e,t,n)=>(n=null!=e?l(f(e)):{},g(!t&&e&&e.__esModule?n:u(n,"default",{value:e,enumerable:!0}),e)),v=m(p({"node_modules/form-urlencoded/dist/form-urlencoded.js"(e,t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Boolean(t.sorted),i=Boolean(t.skipIndex),o=Boolean(t.ignorenull),a=function(e){return String(e).replace(/(?:[\0-\x1F"-&\+-\}\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,encodeURIComponent).replace(/ /g,"+").replace(/[!'()~\*]/g,function(e){return"%"+e.charCodeAt().toString(16).slice(-2).toUpperCase()})},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.keys(e);return r?t.sort():t},l=function(e){return e.filter(function(e){return e}).join("&")},u=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0===t?"undefined":n(t),c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t===c?c=o?c:a(e)+"="+c:/string|number|boolean/.test(r)?c=a(e)+"="+a(t):Array.isArray(t)?c=t.length?l(t.map(function(t,n){return i?u(e+"[]",t):u(e+"["+n+"]",t)})):a(e+"[]"):"object"===r&&(c=l(s(t).map(function(n){return u(e+"["+n+"]",t[n])}))),c};return e&&l(s(e).map(function(t){return u(t,e[t])}))}}})());function y(e){return"[object Object]"===Object.prototype.toString.call(e)}v.default.default||v.default;var w=["boolean","string","number"],b=e=>!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e),x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},C={};function E(e){this.message=e}((e,t)=>{for(var n in t)u(e,n,{get:t[n],enumerable:!0})})(C,{default:()=>a});var k=(r={"src/middleware/cancel/Cancel.js"(){E.prototype.toString=function(){return`Cancel${this.message?`: ${this.message}`:""}`},E.prototype.__CANCEL__=!0,a=E}},function(){return r&&(i=(0,r[d(r)[0]])(r=0)),i});k();var _=(k(),g(u({},"__esModule",{value:!0}),C));function A(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t=null;this.promise=new Promise(e=>{t=e}),e(e=>{this.reason||(this.reason=new _(e),t(this.reason))})}A.source=function(){let e;let t=new A(t=>{e=t});return{token:t,cancel:e}};var R="function"==typeof Promise&&Promise,S=(e={})=>{let t=e.implementation||R;if(!t)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(n,r)=>new t((t,i)=>{let o=r.options.cancelToken;o&&o.promise.then(e=>{n.abort.publish(e),i(e)}),n.error.subscribe(i),n.response.subscribe(n=>{t(e.onlyBody?n.body:n)}),setTimeout(()=>{try{n.request.publish(r)}catch(e){i(e)}},0)})}};S.Cancel=a,S.CancelToken=A,S.isCancel=e=>!!(e&&e.__CANCEL__);var j=p({"node_modules/ms/index.js"(e,t){function n(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}t.exports=function(e,t){t=t||{};var r,i,o=typeof e;if("string"===o&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===o&&isFinite(e))return t.long?(r=Math.abs(e))>=864e5?n(e,r,864e5,"day"):r>=36e5?n(e,r,36e5,"hour"):r>=6e4?n(e,r,6e4,"minute"):r>=1e3?n(e,r,1e3,"second"):e+" ms":(i=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":i>=36e5?Math.round(e/36e5)+"h":i>=6e4?Math.round(e/6e4)+"m":i>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}}}),M=p({"node_modules/debug/src/common.js"(e,t){t.exports=function(e){function t(e){let r,i,o;let a=null;function s(...e){if(!s.enabled)return;let n=s,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";a++;let o=t.formatters[i];if("function"==typeof o){let s=e[a];r=o.call(n,s),e.splice(a,1),a--}return r}),t.formatArgs.call(n,e);let l=n.log||t.log;l.apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){let r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(r),...t.skips.map(r).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.slice(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){let n,r;if("*"===e[e.length-1])return!0;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=j(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let r=0;r<e.length;r++)n=(n<<5)-n+e.charCodeAt(r)|0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}}});m(p({"node_modules/debug/src/browser.js"(e,t){let n;e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(n){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(n){}return t},e.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&
33("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(e){}}(),e.destroy=(n=!1,()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=M()(e);var{formatters:r}=t.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}})()),Object.prototype.hasOwnProperty;var P=p({"node_modules/capture-stack-trace/index.js"(e,t){t.exports=Error.captureStackTrace||function(e){var t=Error();Object.defineProperty(e,"stack",{configurable:!0,get:function(){var e=t.stack;return Object.defineProperty(this,"stack",{value:e}),e}})}}});(0,m(p({"node_modules/create-error-class/index.js"(e,t){var n=P();t.exports=function(e,t){if("string"!=typeof e)throw TypeError("Expected className to be a string");if(/[^0-9a-zA-Z_$]/.test(e))throw Error("className contains invalid characters");t=t||function(e){this.message=e};var r,i,o=function(){Object.defineProperty(this,"name",{configurable:!0,value:e,writable:!0}),n(this,this.constructor),t.apply(this,arguments)};return r=o,i=Error,r.super_=i,r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o}}})()).default)("HttpError",function(e,t){let n=e.url.length>400?`${e.url.slice(0,399)}\u2026`:e.url,r=`${e.method}-request to ${n} resulted in `;r+=`HTTP ${e.statusCode} ${e.statusMessage}`,this.message=r.trim(),this.response=e,this.request=t.options});var L=Object.create,I=Object.defineProperty,O=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,T=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,F=(e,t)=>function(){return t||(0,e[D(e)[0]])((t={exports:{}}).exports,t),t.exports},H=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of D(t))N.call(e,i)||i===n||I(e,i,{get:()=>t[i],enumerable:!(r=O(t,i))||r.enumerable});return e},V=(e,t,n)=>(n=null!=e?L(T(e)):{},H(!t&&e&&e.__esModule?n:I(n,"default",{value:e,enumerable:!0}),e)),z=F({"node_modules/event-source-polyfill/src/eventsource.js"(e,t){!function(n){var r=n.setTimeout,i=n.clearTimeout,o=n.XMLHttpRequest,a=n.XDomainRequest,s=n.ActiveXObject,l=n.EventSource,u=n.document,c=n.Promise,d=n.fetch,f=n.Response,h=n.TextDecoder,p=n.TextEncoder,g=n.AbortController;if("undefined"==typeof window||void 0===u||"readyState"in u||null!=u.body||(u.readyState="loading",window.addEventListener("load",function(e){u.readyState="complete"},!1)),null==o&&null!=s&&(o=function(){return new s("Microsoft.XMLHTTP")}),void 0==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return new Date().getTime()}),void 0==g){var m=d;d=function(e,t){var n=t.signal;return m(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function v(){this.bitsNeeded=0,this.codePoint=0}v.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw Error()}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw Error()}for(var r="",i=this.bitsNeeded,o=this.codePoint,a=0;a<e.length;a+=1){var s=e[a];0!==i&&(s<128||s>191||!t(o<<6|63&s,i-6,n(i,o)))&&(i=0,r+=String.fromCharCode(o=65533)),0===i?(s>=0&&s<=127?(i=0,o=s):s>=192&&s<=223?(i=6,o=31&s):s>=224&&s<=239?(i=12,o=15&s):s>=240&&s<=247?(i=18,o=7&s):(i=0,o=65533),0===i||t(o,i,n(i,o))||(i=0,o=65533)):(i-=6,o=o<<6|63&s),0===i&&(o<=65535?r+=String.fromCharCode(o):r+=String.fromCharCode(55296+(o-65535-1>>10))+String.fromCharCode(56320+(o-65535-1&1023)))}return this.bitsNeeded=i,this.codePoint=o,r},(void 0==h||void 0==p||!function(){try{return"test"===new h().decode(new p().encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}())&&(h=v);var y=function(){};function w(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=y,this.onload=y,this.onerror=y,this.onreadystatechange=y,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=y}function b(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function x(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),o=i.shift(),a=i.join(": ");t[b(o)]=a}this._map=t}function C(){}function E(e){this._headers=e}function k(){}function _(){this._listeners=Object.create(null)}function A(e){r(function(){throw e},0)}function R(e){this.type=e,this.target=void 0}function S(e,t){R.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function j(e,t){R.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function M(e,t){R.call(this,e),this.error=t.error}w.prototype.open=function(e,t){this._abort(!0);var n=this,a=this._xhr,s=1,l=0;this._abort=function(e){0!==n._sendTimeout&&(i(n._sendTimeout),n._sendTimeout=0),1!==s&&2!==s&&3!==s||(s=4,a.onload=y,a.onerror=y,a.onabort=y,a.onprogress=y,a.onreadystatechange=y,a.abort(),0!==l&&(i(l),l=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),s=0};var u=function(){if(1===s){var e=0,t="",r=void 0;if("contentType"in a)e=200,t="OK",r=a.contentType;else try{e=a.status,t=a.statusText,r=a.getResponseHeader("Content-Type")}catch(i){e=0,t="",r=void 0}0!==e&&(s=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=r,n.onreadystatechange())}},c=function(){if(u(),2===s||3===s){s=3;var e="";try{e=a.responseText}catch(t){}n.readyState=3,n.responseText=e,n.onprogress()}},d=function(e,t){if((null==t||null==t.preventDefault)&&(t={preventDefault:y}),c(),1===s||2===s||3===s){if(s=4,0!==l&&(i(l),l=0),n.readyState=4,"load"===e)n.onload(t);
33else if("error"===e)n.onerror(t);else if("abort"===e)n.onabort(t);else throw TypeError();n.onreadystatechange()}},f=function(e){void 0==a||(4===a.readyState?"onload"in a&&"onerror"in a&&"onabort"in a||d(""===a.responseText?"error":"load",e):3===a.readyState?"onprogress"in a||c():2===a.readyState&&u())},h=function(){l=r(function(){h()},500),3===a.readyState&&c()};"onload"in a&&(a.onload=function(e){d("load",e)}),"onerror"in a&&(a.onerror=function(e){d("error",e)}),"onabort"in a&&(a.onabort=function(e){d("abort",e)}),"onprogress"in a&&(a.onprogress=c),"onreadystatechange"in a&&(a.onreadystatechange=function(e){f(e)}),("contentType"in a||!("ontimeout"in o.prototype))&&(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),a.open(e,t,!0),"readyState"in a&&(l=r(function(){h()},0))},w.prototype.abort=function(){this._abort(!1)},w.prototype.getResponseHeader=function(e){return this._contentType},w.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},w.prototype.getAllResponseHeaders=function(){return void 0!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},w.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&void 0!=u&&void 0!=u.readyState&&"complete"!==u.readyState){var e=this;e._sendTimeout=r(function(){e._sendTimeout=0,e.send()},4);return}var t=this._xhr;"withCredentials"in t&&(t.withCredentials=this.withCredentials);try{t.send(void 0)}catch(n){throw n}},x.prototype.get=function(e){return this._map[b(e)]},null!=o&&null==o.HEADERS_RECEIVED&&(o.HEADERS_RECEIVED=2),C.prototype.open=function(e,t,n,r,i,a,s){e.open("GET",i);var l=0;for(var u in e.onprogress=function(){var t=e.responseText.slice(l);l+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===o.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),a=e.getAllResponseHeaders();t(n,r,i,new x(a))}},e.withCredentials=a,s)Object.prototype.hasOwnProperty.call(s,u)&&e.setRequestHeader(u,s[u]);return e.send(),e},E.prototype.get=function(e){return this._headers.get(e)},k.prototype.open=function(e,t,n,r,i,o,a){var s=null,l=new g,u=l.signal,f=new h;return d(i,{headers:a,credentials:o?"include":"same-origin",signal:u,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new E(e.headers)),new c(function(e,t){var r=function(){s.read().then(function(t){t.done?e(void 0):(n(f.decode(t.value,{stream:!0})),r())}).catch(function(e){t(e)})};r()})}).catch(function(e){if("AbortError"!==e.name)return e}).then(function(e){r(e)}),{abort:function(){null!=s&&s.cancel(),l.abort()}}},_.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(void 0!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"==typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(o){A(o)}}},_.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];void 0==r&&(r=[],n[e]=r);for(var i=!1,o=0;o<r.length;o+=1)r[o]===t&&(i=!0);i||r.push(t)},_.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(void 0!=r){for(var i=[],o=0;o<r.length;o+=1)r[o]!==t&&i.push(r[o]);0===i.length?delete n[e]:n[e]=i}},S.prototype=Object.create(R.prototype),j.prototype=Object.create(R.prototype),M.prototype=Object.create(R.prototype);var P=/^text\/event\-stream(;.*)?$/i,L=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),I(n)},I=function(e){return Math.min(Math.max(e,1e3),18e6)},O=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(r){A(r)}};function D(e,t){var n,s,l,u,c,d,f,h,p,g,m,v,y,b,x,E,A,R,D,N,F,H,V,z,B,U,Z,W,G,q;_.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,n=this,s=e,l=t,s=String(s),u=Boolean(l.withCredentials),c=l.lastEventIdQueryParameterName||"lastEventId",d=I(1e3),f=L(l.heartbeatTimeout,45e3),h="",p=d,g=!1,m=0,v=l.headers||{},y=l.Transport,b=T&&void 0==y?void 0:new w(void 0!=y?new y:void 0!=o&&"withCredentials"in o.prototype||void 0==a?new o:new a),x=null!=y&&"string"!=typeof y?new y:void 0==b?new k:new C,E=void 0,A=0,R=-1,D="",N="",F="",H="",V=0,z=0,B=0,U=function(e,t,r,i){if(0===R){if(2
3300===e&&void 0!=r&&P.test(r)){R=1,g=Date.now(),p=d,n.readyState=1;var o=new j("open",{status:e,statusText:t,headers:i});n.dispatchEvent(o),O(n,n.onopen,o)}else{var a="";200!==e?(t&&(t=t.replace(/\s+/g," ")),a="EventSource's response has a status "+e+" "+t+" that is not 200. Aborting the connection."):a="EventSource's response has a Content-Type specifying an unsupported type: "+(void 0==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",G();var o=new j("error",{status:e,statusText:t,headers:i});n.dispatchEvent(o),O(n,n.onerror,o),console.error(a)}}},Z=function(e){if(1===R){for(var t=-1,o=0;o<e.length;o+=1){var a=e.charCodeAt(o);(10===a||13===a)&&(t=o)}var s=(-1!==t?H:"")+e.slice(0,t+1);H=(-1===t?H:"")+e.slice(t+1),""!==e&&(g=Date.now(),m+=e.length);for(var l=0;l<s.length;l+=1){var a=s.charCodeAt(l);if(-1===V&&10===a)V=0;else if(-1===V&&(V=0),13===a||10===a){if(0!==V){1===V&&(B=l+1);var u=s.slice(z,B-1),c=s.slice(B+(B<l&&32===s.charCodeAt(B)?1:0),l);"data"===u?D+="\n"+c:"id"===u?N=c:"event"===u?F=c:"retry"===u?p=d=L(c,d):"heartbeatTimeout"===u&&(f=L(c,f),0!==A&&(i(A),A=r(function(){q()},f)))}if(0===V){if(""!==D){h=N,""===F&&(F="message");var v=new S(F,{data:D.slice(1),lastEventId:N});if(n.dispatchEvent(v),"open"===F?O(n,n.onopen,v):"message"===F?O(n,n.onmessage,v):"error"===F&&O(n,n.onerror,v),2===R)return}D="",F=""}V=13===a?-1:0}else 0===V&&(z=l,V=1),1===V?58===a&&(B=l+1,V=2):2===V&&(V=3)}}},W=function(e){if(1===R||0===R){R=-1,0!==A&&(i(A),A=0),A=r(function(){q()},p),p=I(Math.min(16*d,2*p)),n.readyState=0;var t=new M("error",{error:e});n.dispatchEvent(t),O(n,n.onerror,t),void 0!=e&&console.error(e)}},G=function(){R=2,void 0!=E&&(E.abort(),E=void 0),0!==A&&(i(A),A=0),n.readyState=2},q=function(){if(A=0,-1!==R){if(g||void 0==E){var e=Math.max((g||Date.now())+f-Date.now(),1);g=!1,A=r(function(){q()},e)}else W(Error("No activity within "+f+" milliseconds. "+(0===R?"No response received.":m+" chars received.")+" Reconnecting.")),void 0!=E&&(E.abort(),E=void 0);return}g=!1,m=0,A=r(function(){q()},f),R=0,D="",F="",N=h,H="",z=0,B=0,V=0;var t=s;if("data:"!==s.slice(0,5)&&"blob:"!==s.slice(0,5)&&""!==h){var i=s.indexOf("?");t=(-1===i?s:s.slice(0,i+1)+s.slice(i+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===c?"":e}))+((-1===s.indexOf("?")?"?":"&")+c)+"="+encodeURIComponent(h)}var o=n.withCredentials,a={};a.Accept="text/event-stream";var l=n.headers;if(void 0!=l)for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(a[u]=l[u]);try{E=x.open(b,U,Z,W,t,o,a)}catch(d){throw G(),d}},n.url=s,n.readyState=0,n.withCredentials=u,n.headers=v,n._close=G,q()}var T=void 0!=d&&void 0!=f&&"body"in f.prototype;D.prototype=Object.create(_.prototype),D.prototype.CONNECTING=0,D.prototype.OPEN=1,D.prototype.CLOSED=2,D.prototype.close=function(){this._close()},D.CONNECTING=0,D.OPEN=1,D.CLOSED=2,D.prototype.withCredentials=void 0;var N=l;void 0==o||void 0!=l&&"withCredentials"in l.prototype||(N=D),function(r){if("object"==typeof t&&"object"==typeof t.exports){var i=r(e);void 0!==i&&(t.exports=i)}else"function"==typeof define&&define.amd?define(["exports"],r):r(n)}(function(e){e.EventSourcePolyfill=D,e.NativeEventSource=l,e.EventSource=N})}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:e:globalThis)}}),B=F({"node_modules/@sanity/eventsource/browser.js"(e,t){var n=z();t.exports=n.EventSourcePolyfill}}),U=F({"node_modules/make-error/index.js"(e,t){var n="undefined"!=typeof Reflect?Reflect.construct:void 0,r=Object.defineProperty,i=Error.captureStackTrace;function o(e){void 0!==e&&r(this,"message",{configurable:!0,value:e,writable:!0});var t=this.constructor.name;void 0!==t&&t!==this.name&&r(this,"name",{configurable:!0,value:t,writable:!0}),i(this,this.constructor)}void 0===i&&(i=function(e){var t=Error();r(e,"stack",{configurable:!0,get:function(){var e=t.stack;return r(this,"stack",{configurable:!0,value:e,writable:!0}),e},set:function(t){r(e,"stack",{configurable:!0,value:t,writable:!0})}})}),o.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:o,writable:!0}});var a=function(){function e(e,t){return r(e,"name",{configurable:!0,value:t})}try{var t=function(){};if(e(t,"foo"),"foo"===t.name)return e}catch(n){}}();(t.exports=function(e,t){if(null==t||t===Error)t=o;else if("function"!=typeof t)throw TypeError("super_ should be a function");if("string"==typeof e)r=e,e=void 0!==n?function(){return n(t,arguments,this.constructor)}:function(){t.apply(this,arguments)},void 0!==a&&(a(e,r),r=void 0);else if("function"!=typeof e)throw TypeError("constructor should be either a string or a function");e.super_=e.super=t;var r,i={constructor:{configurable:!0,value:e,writable:!0}};return void 0!==r&&(i.name={configurable:!0,value:r,writable:!0}
33),e.prototype=Object.create(t.prototype,i),e}).BaseError=o}});function Z(e){if("string"==typeof e||Array.isArray(e))return{id:e};if(e&&e.query)return"params"in e?{query:e.query,params:e.params}:{query:e.query};throw Error(`Unknown selection - must be one of: 34 35* Document ID (<docId>) 36* Array of document IDs 37* Object containing \`query\``)}var W=["image","file"],G=["before","after","replace"],q=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},$=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},X=e=>{if(-1===W.indexOf(e))throw Error(`Invalid asset type: ${e}. Must be one of ${W.join(", ")}`)},Y=(e,t)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw Error(`${e}() takes an object of properties`)},K=(e,t)=>{if("string"!=typeof t||!/^[a-z0-9_.-]+$/i.test(t))throw Error(`${e}(): "${t}" is not a valid document ID`)},J=(e,t)=>{if(!t._id)throw Error(`${e}() requires that the document contains an ID ("_id" property)`);K(e,t._id)},Q=(e,t,n)=>{let r="insert(at, selector, items)";if(-1===G.indexOf(e)){let i=G.map(e=>`"${e}"`).join(", ");throw Error(`${r} takes an "at"-argument which is one of: ${i}`)}if("string"!=typeof t)throw Error(`${r} takes a "selector"-argument which must be a string`);if(!Array.isArray(n))throw Error(`${r} takes an "items"-argument which must be an array`)},ee=e=>{if(!e.dataset)throw Error("`dataset` must be provided to perform queries");return e.dataset||""},et=e=>{if("string"!=typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e};function en(e,t={},n=null){this.selection=e,this.operations=Object.assign({},t),this.client=n}Object.assign(en.prototype,{clone(){return new en(this.selection,Object.assign({},this.operations),this.client)},set(e){return this.assign("set",e)},diffMatchPatch(e){return Y("diffMatchPatch",e),this.assign("diffMatchPatch",e)},unset(e){if(!Array.isArray(e))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this},setIfMissing(e){return this.assign("setIfMissing",e)},replace(e){return Y("replace",e),this._set("set",{$:e})},inc(e){return this.assign("inc",e)},dec(e){return this.assign("dec",e)},insert(e,t,n){return Q(e,t,n),this.assign("insert",{[e]:t,items:n})},append(e,t){return this.insert("after",`${e}[-1]`,t)},prepend(e,t){return this.insert("before",`${e}[0]`,t)},splice(e,t,n,r){let i=t<0?t-1:t,o=void 0===n||-1===n?-1:Math.max(0,t+n),a=`${e}[${i}:${i<0&&o>=0?"":o}]`;return this.insert("replace",a,r||[])},ifRevisionId(e){return this.operations.ifRevisionID=e,this},serialize(){return Object.assign(Z(this.selection),this.operations)},toJSON(){return this.serialize()},commit(e={}){if(!this.client)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t="string"==typeof this.selection,n=Object.assign({returnFirst:t,returnDocuments:!0},e);return this.client.mutate({patch:this.serialize()},n)},reset(){return this.operations={},this},_set(e,t){return this.assign(e,t,!1)},assign(e,t,n=!0){return Y(e,t),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},n&&this.operations[e]||{},t)}),this}});var er={returnDocuments:!1};function ei(e=[],t,n){this.trxId=n,this.operations=e,this.client=t}Object.assign(ei.prototype,{clone(){return new ei(this.operations.slice(0),this.client,this.trxId)},create(e){return Y("create",e),this._add({create:e})},createIfNotExists(e){let t="createIfNotExists";return Y(t,e),J(t,e),this._add({[t]:e})},createOrReplace(e){let t="createOrReplace";return Y(t,e),J(t,e),this._add({[t]:e})},delete(e){return K("delete",e),this._add({delete:{id:e}})},patch(e,t){if(e instanceof en)return this._add({patch:e.serialize()});if("function"==typeof t){let n=t(new en(e,{},this.client));if(!(n instanceof en))throw Error("function passed to `patch()` must return the patch");return this._add({patch:n.serialize()})}return this._add({patch:Object.assign({id:e},t)})},transactionId(e){return e?(this.trxId=e,this):this.trxId},serialize(){return this.operations.slice()},toJSON(){return this.serialize()},commit(e){if(!this.client)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),Object.assign({transactionId:this.trxId},er,e||{}))},reset(){return this.operations=[],this},_add(e){return this.operations.push(e),this}});var eo=encodeURIComponent,ea=({query:e,params:t={},options:n={}})=>{let{tag:r,...i}=n,o=`query=${eo(e)}`,a=r?`?tag=${eo(r)}&${o}`:`?${o}`,s=Object.keys(t).reduce((e,n)=>`${e}&${eo(`$${n}`)}=${eo(JSON.stringify(t[n]))}`,a);return Object.keys(i).reduce((e,t)=>
37n[t]?`${e}&${eo(t)}=${eo(n[t])}`:e,s)},es=V(B()),el=(e,t)=>t.reduce((t,n)=>(void 0===e[n]||(t[n]=e[n]),t),{}),eu=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((n,r)=>(n[r]=void 0===e[r]?t[r]:e[r],n),{}),ec=function(e,t){return(ec=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ed(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ec(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ef(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function eh(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function ep(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function eg(e){return"function"==typeof e}function em(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ev=em(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function ey(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ew=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,n,r,i,o=this._parentage;if(o){if(this._parentage=null,Array.isArray(o))try{for(var a=ef(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(l){e={error:l}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this)}var u=this.initialTeardown;if(eg(u))try{u()}catch(c){i=c instanceof ev?c.errors:[c]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var f=ef(d),h=f.next();!h.done;h=f.next()){var p=h.value;try{ex(p)}catch(g){i=null!=i?i:[],g instanceof ev?i=ep(ep([],eh(i)),eh(g.errors)):i.push(g)}}}catch(m){n={error:m}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}}if(i)throw new ev(i)}},t.prototype.add=function(e){var n;if(e&&e!==this){if(this.closed)ex(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ey(t,e)},t.prototype.remove=function(e){var n=this._finalizers;n&&ey(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}();function eb(e){return e instanceof ew||e&&"closed"in e&&eg(e.remove)&&eg(e.add)&&eg(e.unsubscribe)}function ex(e){eg(e)?e():e.unsubscribe()}ew.EMPTY;var eC={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},eE={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=eE.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,ep([e,t],eh(n))):setTimeout.apply(void 0,ep([e,t],eh(n)))},clearTimeout:function(e){var t=eE.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ek(){}var e_=eA("C",void 0,void 0);function eA(e,t,n){return{kind:e,value:t,error:n}}var eR=null,eS=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,eb(t)&&t.add(n)):n.destination=eD,n}
37return ed(t,e),t.create=function(e,t,n){return new eL(e,t,n)},t.prototype.next=function(e){this.isStopped?eO(eA("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?eO(eA("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?eO(e_,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ew),ej=Function.prototype.bind;function eM(e,t){return ej.call(e,t)}var eP=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(n){eI(n)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(n){eI(n)}else eI(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){eI(t)}},e}(),eL=function(e){function t(t,n,r){var i,o,a=e.call(this)||this;return eg(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:a&&eC.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return a.unsubscribe()},i={next:t.next&&eM(t.next,o),error:t.error&&eM(t.error,o),complete:t.complete&&eM(t.complete,o)}):i=t,a.destination=new eP(i),a}return ed(t,e),t}(eS);function eI(e){eC.useDeprecatedSynchronousErrorHandling?eC.useDeprecatedSynchronousErrorHandling&&eR&&(eR.errorThrown=!0,eR.error=e):eE.setTimeout(function(){var t=eC.onUnhandledError;if(t)t(e);else throw e})}function eO(e,t){var n=eC.onStoppedNotification;n&&eE.setTimeout(function(){return n(e,t)})}var eD={closed:!0,next:ek,error:function(e){throw e},complete:ek},eT="function"==typeof Symbol&&Symbol.observable||"@@observable";function eN(e){return e}var eF=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof eS||r&&eg(r.next)&&eg(r.error)&&eg(r.complete)&&eb(r)?e:new eL(e,t,n);return function(e){if(eC.useDeprecatedSynchronousErrorHandling){var t=!eR;if(t&&(eR={errorThrown:!1,error:null}),e(),t){var n=eR,r=n.errorThrown,i=n.error;if(eR=null,r)throw i}}else e()}(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=eH(t))(function(t,r){var i=new eL({next:function(t){try{e(t)}catch(n){r(n),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[eT]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===e.length?eN:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=eH(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function eH(e){var t;return null!==(t=null!=e?e:eC.Promise)&&void 0!==t?t:Promise}function eV(e){return function(t){if(eg(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(n){this.error(n)}});throw TypeError("Unable to lift unknown Observable type")}}var ez=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=n?function(e){try{n(e)}catch(r){t.error(r)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(n){t.error(n)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return ed(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),n||null===(t=this.onFinalize)||void 0===t||t.call(this)}},t}(eS),eB=em(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function eU(e,t){var n="object"==typeof t;return new Promise(function(r,i){var o,a=!1;e.subscribe({next:function(e){o=e,a=!0},error:i,complete:function(){a?r(o):n?r(t.defaultValue):i(new eB)}})})}function eZ(e,t){return eV(function(n,r){var i=0;n.subscribe(new ez(r,function(n){r.next(e.call(t,n,i++))},void 0,void 0,void 0))})}function eW(e,t){return eV(function(n,r){var i=0;n.subscribe(new ez(r,function(n){return e.call(t,n,i++)&&r.next(n)},void 0,void 0,void 0))})}var eG=es.default,eq=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],e$={includeResult:!0};function eX(e){try{let t=e.data&&JSON.parse(e.data)||{};return Object.assign({type:e.type},t)}catch(n){return n}}var eY=(e,t)=>
37!1===e?void 0:void 0===e?t:e,eK=(e={})=>({dryRun:e.dryRun,returnIds:!0,returnDocuments:eY(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}),eJ=e=>"response"===e.type,eQ=e=>e.body,e1=(e,t)=>e.reduce((e,n)=>(e[t(n)]=n,e),Object.create(null));function e0(e){this.request=e.request.bind(e)}function e5(e){this.client=e}Object.assign(e0.prototype,{create(e,t){return this._modify("PUT",e,t)},edit(e,t){return this._modify("PATCH",e,t)},delete(e){return this._modify("DELETE",e)},list(){return this.request({uri:"/datasets"})},_modify(e,t,n){return q(t),this.request({method:e,uri:`/datasets/${t}`,body:n})}}),Object.assign(e5.prototype,{list(){return this.client.request({uri:"/projects"})},getById(e){return this.client.request({uri:`/projects/${e}`})}});var e2=e=>{let t=[];for(let n in e)e.hasOwnProperty(n)&&t.push(`${encodeURIComponent(n)}=${encodeURIComponent(e[n])}`);return t.length>0?`?${t.join("&")}`:""};function e8(e){this.client=e}function e3(e){this.client=e}function e4(e){this.client=e}Object.assign(e8.prototype,{upload(e,t,n={}){X(e);let r=n.extract||void 0;r&&!r.length&&(r=["none"]);let i=ee(this.client.clientConfig),o="undefined"!=typeof window&&t instanceof window.File?Object.assign({filename:!1===n.preserveFilename?void 0:t.name,contentType:t.type},n):n,{tag:a,label:s,title:l,description:u,creditLine:c,filename:d,source:f}=o,h={label:s,title:l,description:u,filename:d,meta:r,creditLine:c};f&&(h.sourceId=f.id,h.sourceName=f.name,h.sourceUrl=f.url);let p=this.client._requestObservable({tag:a,method:"POST",timeout:o.timeout||0,uri:`/assets/${"image"===e?"images":"files"}/${i}`,headers:o.contentType?{"Content-Type":o.contentType}:{},query:h,body:t});return this.client.isPromiseAPI()?eU(p.pipe(eW(e=>"response"===e.type),eZ(e=>e.body.document))):p},delete(e,t){console.warn("client.assets.delete() is deprecated, please use client.delete(<document-id>)");let n=t||"";return/^(image|file)-/.test(n)?e._id&&(n=e._id):n=`${e}-${n}`,ee(this.client.clientConfig),this.client.delete(n)},getImageUrl(e,t){let n=e._ref||e;if("string"!=typeof n)throw Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(n))throw Error(`Unsupported asset ID "${n}". URL generation only works for auto-generated IDs.`);let[,r,i,o]=n.split("-");ee(this.client.clientConfig);let{projectId:a,dataset:s}=this.client.clientConfig,l=t?e2(t):"";return`https://cdn.sanity.io/images/${a}/${s}/${r}-${i}.${o}${l}`}}),Object.assign(e3.prototype,{getById(e){return this.client.request({uri:`/users/${e}`})}}),Object.assign(e4.prototype,{getLoginProviders(){return this.client.request({uri:"/auth/providers"})},logout(){return this.client.request({uri:"/auth/logout",method:"POST"})}});var e6=V(U());function e7(e){let t=te(e);e7.super.call(this,t.message),Object.assign(this,t)}function e9(e){let t=te(e);e9.super.call(this,t.message),Object.assign(this,t)}function te(e){let t=e.body,n={response:e,statusCode:e.statusCode,responseBody:function(e,t){let n=(t.headers["content-type"]||"").toLowerCase(),r=-1!==n.indexOf("application/json");return r?JSON.stringify(e,null,2):e}(t,e)};return t.error&&t.message?(n.message=`${t.error} - ${t.message}`,n):t.error&&t.error.description?(n.message=t.error.description,n.details=t.error,n):(n.message=t.error||t.message||function(e){let t=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${t}`}(e),n)}(0,e6.default)(e7),(0,e6.default)(e9);var tt=s([].concat([{onResponse:e=>{let t=e.headers["x-sanity-warning"],n=Array.isArray(t)?t:[t];return n.filter(Boolean).forEach(e=>console.warn(e)),e}},{processOptions:e=>{var t,n;let r=e.body;if(!r)return e;let i="function"==typeof r.pipe,o=!i&&!b(r)&&(-1!==w.indexOf(typeof r)||Array.isArray(r)||!1!==y(r)&&(void 0===(t=r.constructor)||!1!==y(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")));return o?Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})}):e}},{onResponse:e=>{let t=e.headers["content-type"]||"",n=o&&o.force||-1!==t.indexOf("application/json");return e.body&&t&&n?Object.assign({},e,{body:function(e){try{return JSON.parse(e)}catch(t){throw t.message=`Failed to parsed response body as JSON: ${t.message}`,t}}(e.body)}):e},processOptions:e=>Object.assign({},e,{headers:Object.assign({Accept:"application/json"},e.headers)})},{onRequest:e=>{if("xhr"!==e.adapter)return;let t=e.request,n=e.context;function r(e){return t=>{let r=t.lengthComputable?t.loaded/t.total*100:-1;n.channels.progress.publish({stage:e,percent:r,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=r("upload")),"onprogress"in t&&(t.onprogress=r("download"))}},{onResponse:e=>{if(e.statusCode>=500)throw new e9(e);
37if(e.statusCode>=400)throw new e7(e);return e}},((e={})=>{let t=e.implementation||x.Observable;if(!t)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(e,n)=>new t(t=>(e.error.subscribe(e=>t.error(e)),e.progress.subscribe(e=>t.next(Object.assign({type:"progress"},e))),e.response.subscribe(e=>{t.next(Object.assign({type:"response"},e)),t.complete()}),e.request.publish(n),()=>e.abort.publish()))}})({implementation:eF})]));function tn(e,t=tt){return t(Object.assign({maxRedirects:0},e))}tn.defaultRequester=tt,tn.ClientError=e7,tn.ServerError=e9;var tr=(e,t={})=>{let n={},r=t.token||e.token;r&&(n.Authorization=`Bearer ${r}`),t.useGlobalApi||e.useProjectHostname||!e.projectId||(n["X-Sanity-Project-ID"]=e.projectId);let i=Boolean(void 0===t.withCredentials?e.token||e.withCredentials:t.withCredentials),o=void 0===t.timeout?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},n,t.headers||{}),timeout:void 0===o?3e5:o,proxy:t.proxy||e.proxy,json:!0,withCredentials:i})};function ti(e){return"https://docs.sanity.io/help/"+e}var to=e=>{let t,n=!1;return(...r)=>(n||(t=e(...r),n=!0),t)},ta=e=>to((...t)=>console.warn(e.join(" "),...t)),ts=ta(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and",`cheaper. Think about it! For more info, see ${ti("js-client-cdn-configuration")}.`,"To hide this warning, please set the `useCdn` option to either `true` or `false` when creating","the client."]),tl=ta(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${ti("js-client-browser-token")} for more information and how to hide this warning.`]),tu=ta(["Using the Sanity client without specifying an API version is deprecated.",`See ${ti("js-client-api-version")}`]),tc={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,isPromiseAPI:!0},td=["localhost","127.0.0.1","0.0.0.0"],tf=e=>-1!==td.indexOf(e),th=function(e){if("1"===e||"X"===e)return;let t=new Date(e),n=/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0;if(!n)throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")},tp=(e,t)=>{let n=Object.assign({},t,e);n.apiVersion||tu();let r=Object.assign({},tc,n),i=r.useProjectHostname;if("undefined"==typeof Promise){let o=ti("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${o}`)}if(i&&!r.projectId)throw Error("Configuration must contain `projectId`");let a="undefined"!=typeof window&&window.location&&window.location.hostname,s=a&&tf(window.location.hostname);a&&s&&r.token&&!0!==r.ignoreBrowserTokenWarning?tl():void 0===r.useCdn&&ts(),i&&$(r.projectId),r.dataset&&q(r.dataset),"requestTagPrefix"in r&&(r.requestTagPrefix=r.requestTagPrefix?et(r.requestTagPrefix).replace(/\.+$/,""):void 0),r.apiVersion=`${r.apiVersion}`.replace(/^v/,""),r.isDefaultApi=r.apiHost===tc.apiHost,r.useCdn=Boolean(r.useCdn)&&!r.withCredentials,th(r.apiVersion);let l=r.apiHost.split("://",2),u=l[0],c=l[1],d=r.isDefaultApi?"apicdn.sanity.io":c;return r.useProjectHostname?(r.url=`${u}://${r.projectId}.${c}/v${r.apiVersion}`,r.cdnUrl=`${u}://${r.projectId}.${d}/v${r.apiVersion}`):(r.url=`${r.apiHost}/v${r.apiVersion}`,r.cdnUrl=r.url),r};function tg(e=tc){if(!(this instanceof tg))return new tg(e);if(this.config(e),this.assets=new e8(this),this.datasets=new e0(this),this.projects=new e5(this),this.users=new e3(this),this.auth=new e4(this),this.clientConfig.isPromiseAPI){let t=Object.assign({},this.clientConfig,{isPromiseAPI:!1});this.observable=new tg(t)}}Object.assign(tg.prototype,{listen:function(e,t,n={}){let{url:r,token:i,withCredentials:o,requestTagPrefix:a}=this.clientConfig,s=n.tag&&a?[a,n.tag].join("."):n.tag,l={...eu(n,e$),tag:s},u=el(l,eq),c=ea({query:e,params:t,options:u,tag:s}),d=`${r}${this.getDataUrl("listen",c)}`;if(d.length>14800)return new eF(e=>e.error(Error("Query too large for listener")));let f=l.events?l.events:["mutation"],h=-1!==f.indexOf("reconnect"),p={};return(i||o)&&(p.withCredentials=!0),i&&(p.headers={Authorization:`Bearer ${i}`}),new eF(e=>{let t,n=u(),r=!1;function i(){!r&&(h&&e.next({type:"reconnect"}),r||n.readyState!==eG.CLOSED||(l(),clearTimeout(t),t=setTimeout(c,100)))}function o(t){e.error(function(e){if(e instanceof Error)return e;let t=eX(e);return t instanceof Error?t:Error(t.error?t.error.description?t.error.description:"string"==typeof t.error?t.error:JSON.stringify(t.error,null,2):t.message||"Unknown listener error")}(t))}function a(t){let n=eX(t);return n instanceof Error?e.error(n):e.next(n)}function s(t){r=!0,l(),e.complete()}function l(){n.removeEventListener("error",i,!1),n.removeEventListener("channelError",o,!1),n.removeEventListener("disconnect",s,!1),f.forEach(e
37=>n.removeEventListener(e,a,!1)),n.close()}function u(){let e=new eG(d,p);return e.addEventListener("error",i,!1),e.addEventListener("channelError",o,!1),e.addEventListener("disconnect",s,!1),f.forEach(t=>e.addEventListener(t,a,!1)),e}function c(){n=u()}return function(){r=!0,l()}})},getDataUrl(e,t){let n=this.clientConfig,r=ee(n),i=`/${e}/${r}`,o=t?`${i}/${t}`:i;return`/data${o}`.replace(/\/($|\?)/,"$1")},fetch(e,t,n={}){let r=!1===n.filterResponse?e=>e:e=>e.result,i=this._dataRequest("query",{query:e,params:t},n).pipe(eZ(r));return this.isPromiseAPI()?eU(i):i},getDocument(e,t={}){let n={uri:this.getDataUrl("doc",e),json:!0,tag:t.tag},r=this._requestObservable(n).pipe(eW(eJ),eZ(e=>e.body.documents&&e.body.documents[0]));return this.isPromiseAPI()?eU(r):r},getDocuments(e,t={}){let n={uri:this.getDataUrl("doc",e.join(",")),json:!0,tag:t.tag},r=this._requestObservable(n).pipe(eW(eJ),eZ(t=>{let n=e1(t.body.documents||[],e=>e._id);return e.map(e=>n[e]||null)}));return this.isPromiseAPI()?eU(r):r},create(e,t){return this._create(e,"create",t)},createIfNotExists(e,t){return J("createIfNotExists",e),this._create(e,"createIfNotExists",t)},createOrReplace(e,t){return J("createOrReplace",e),this._create(e,"createOrReplace",t)},patch(e,t){return new en(e,t,this)},delete(e,t){return this.dataRequest("mutate",{mutations:[{delete:Z(e)}]},t)},mutate(e,t){let n=e instanceof en||e instanceof ei?e.serialize():e,r=Array.isArray(n)?n:[n],i=t&&t.transactionId;return this.dataRequest("mutate",{mutations:r,transactionId:i},t)},transaction(e){return new ei(e,this)},dataRequest(e,t,n={}){let r=this._dataRequest(e,t,n);return this.isPromiseAPI()?eU(r):r},_dataRequest(e,t,n={}){let r="mutate"===e,i=!r&&ea(t),o=!r&&i.length<11264,a=n.returnFirst,{timeout:s,token:l,tag:u,headers:c}=n,d=this.getDataUrl(e,o?i:""),f={method:o?"GET":"POST",uri:d,json:!0,body:o?void 0:t,query:r&&eK(n),timeout:s,headers:c,token:l,tag:u,canUseCdn:"query"===e};return this._requestObservable(f).pipe(eW(eJ),eZ(eQ),eZ(e=>{if(!r)return e;let t=e.results||[];if(n.returnDocuments)return a?t[0]&&t[0].document:t.map(e=>e.document);let i=a?t[0]&&t[0].id:t.map(e=>e.id);return{transactionId:e.transactionId,results:t,[a?"documentId":"documentIds"]:i}}))},_create(e,t,n={}){let r=Object.assign({returnFirst:!0,returnDocuments:!0},n);return this.dataRequest("mutate",{mutations:[{[t]:e}]},r)}}),Object.assign(tg.prototype,{clone(){return new tg(this.config())},config(e){if(void 0===e)return Object.assign({},this.clientConfig);if(this.clientConfig&&!1===this.clientConfig.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");if(this.observable){let t=Object.assign({},e,{isPromiseAPI:!1});this.observable.config(t)}return this.clientConfig=tp(e,this.clientConfig||{}),this},withConfig(e){return new tg({...this.config(),...e})},getUrl(e,t=!1){let n=t?this.clientConfig.cdnUrl:this.clientConfig.url;return`${n}/${e.replace(/^\//,"")}`},isPromiseAPI(){return this.clientConfig.isPromiseAPI},_requestObservable(e){let t=e.url||e.uri,n=void 0===e.canUseCdn?["GET","HEAD"].indexOf(e.method||"GET")>=0&&0===t.indexOf("/data/"):e.canUseCdn,r=this.clientConfig.useCdn&&n,i=e.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,e.tag].join("."):e.tag||this.clientConfig.requestTagPrefix;i&&(e.query={tag:et(i),...e.query});let o=tr(this.clientConfig,Object.assign({},e,{url:this.getUrl(t,r)}));return new eF(e=>tn(o,this.clientConfig.requester).subscribe(e))},request(e){let t=this._requestObservable(e).pipe(eW(e=>"response"===e.type),eZ(e=>e.body));return this.isPromiseAPI()?eU(t):t}}),tg.Patch=en,tg.Transaction=ei,tg.ClientError=tn.ClientError,tg.ServerError=tn.ServerError,tg.requester=tn.defaultRequester;var tm=tg;/*! Bundled license information: 38 39event-source-polyfill/src/eventsource.js: 40 (** @license 41 * eventsource.js 42 * Available under MIT License (MIT) 43 * https://github.com/Yaffle/EventSource/ 44 *) 45*/},40258:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i=(e,t)=>
45(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,o=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return i(r.overflowY,t)||i(r.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},a=(e,t,n,r,i,o,a,s)=>o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0,s=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var l=(e,t)=>{var n,i,l,u,c,d;if("undefined"==typeof document)return[];let{scrollMode:f,block:h,inline:p,boundary:g,skipOverflowHiddenElements:m}=t,v="function"==typeof g?g:e=>e!==g;if(!r(e))throw TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,w=[],b=e;for(;r(b)&&v(b);){if((b=s(b))===y){w.push(b);break}null!=b&&b===document.body&&o(b)&&!o(document.documentElement)||null!=b&&o(b,m)&&w.push(b)}let x=null!=(i=null==(n=window.visualViewport)?void 0:n.width)?i:innerWidth,C=null!=(u=null==(l=window.visualViewport)?void 0:l.height)?u:innerHeight,E=null!=(c=window.scrollX)?c:pageXOffset,k=null!=(d=window.scrollY)?d:pageYOffset,{height:_,width:A,top:R,right:S,bottom:j,left:M}=e.getBoundingClientRect(),P="start"===h||"nearest"===h?R:"end"===h?j:R+_/2,L="center"===p?M+A/2:"end"===p?S:M,I=[];for(let O=0;O<w.length;O++){let D=w[O],{height:T,width:N,top:F,right:H,bottom:V,left:z}=D.getBoundingClientRect();if("if-needed"===f&&R>=0&&M>=0&&j<=C&&S<=x&&R>=F&&j<=V&&M>=z&&S<=H)break;let B=getComputedStyle(D),U=parseInt(B.borderLeftWidth,10),Z=parseInt(B.borderTopWidth,10),W=parseInt(B.borderRightWidth,10),G=parseInt(B.borderBottomWidth,10),q=0,$=0,X="offsetWidth"in D?D.offsetWidth-D.clientWidth-U-W:0,Y="offsetHeight"in D?D.offsetHeight-D.clientHeight-Z-G:0,K="offsetWidth"in D?0===D.offsetWidth?0:N/D.offsetWidth:0,J="offsetHeight"in D?0===D.offsetHeight?0:T/D.offsetHeight:0;if(y===D)q="start"===h?P:"end"===h?P-C:"nearest"===h?a(k,k+C,C,Z,G,k+P,k+P+_,_):P-C/2,$="start"===p?L:"center"===p?L-x/2:"end"===p?L-x:a(E,E+x,x,U,W,E+L,E+L+A,A),q=Math.max(0,q+k),$=Math.max(0,$+E);else{q="start"===h?P-F-Z:"end"===h?P-V+G+Y:"nearest"===h?a(F,V,T,Z,G+Y,P,P+_,_):P-(F+T/2)+Y/2,$="start"===p?L-z-U:"center"===p?L-(z+N/2)+X/2:"end"===p?L-H+W+X:a(z,H,N,U,W+X,L,L+A,A);let{scrollLeft:Q,scrollTop:ee}=D;q=Math.max(0,Math.min(ee+q/J,D.scrollHeight-T/J+Y)),$=Math.max(0,Math.min(Q+$/K,D.scrollWidth-N/K+X)),P+=ee-q,L+=Q-$}I.push({el:D,top:q,left:$})}return I};let u=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function c(e,t){let n=e.isConnected||e.ownerDocument.documentElement.contains(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(n?l(e,t):[]);if(!n)return;let r=u(t),i=l(e,r),o="scrollBehavior"in document.body.style;i.forEach(e=>{let{el:t,top:n,left:i}=e;t.scroll&&o?t.scroll({top:n,left:i,behavior:r.behavior}):(t.scrollTop=n,t.scrollLeft=i)})}},45628:function(e,t,n){"use strict";/*! 46 * is-plain-object <https://github.com/jonschlinkert/is-plain-object> 47 * 48 * Copyright (c) 2014-2017, Jon Schlinkert. 49 * Released under the MIT License. 50 */function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}n.d(t,{P:function(){return i}})},9095:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(67294),i=(()=>{try{return!0}catch(e){return!1}})(),o=()=>{try{return Boolean(i&&void 0)}catch(e){return!1}};function a(e){if(o)return void(0,r.useEffect)(()=>{},[e])}},37452:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","t
50imes":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"â¬","130":"â","131":"Æ","132":"â","133":"â¦","134":"â ","135":"â¡","136":"Ë","137":"â°","138":"Å ","139":"â¹","140":"Å","142":"Ž","145":"â","146":"â","147":"â","148":"â","149":"â¢","150":"â","151":"â","152":"Ë","153":"â¢","154":"Å¡","155":"âº","156":"Å","158":"ž","159":"Ÿ"}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.