1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[632],{60887:function(e,t,n){"use strict";n.d(t,{LB:function(){return We},g4:function(){return te},Lg:function(){return ae},we:function(){return de},pE:function(){return _},ey:function(){return S},VK:function(){return D},_8:function(){return k},hI:function(){return I},Cj:function(){return Ye},O1:function(){return Ge},Zj:function(){return Xe},VT:function(){return m},Dy:function(){return v}});var r=n(67294),o=n(73935),i=n(24285);const a={display:"none"};function s(e){let{id:t,value:n}=e;return r.createElement("div",{id:t,style:a},n)}const u={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 l(e){let{id:t,announcement:n}=e;return r.createElement("div",{id:t,style:u,role:"status","aria-live":"assertive","aria-atomic":!0},n)}const c=(0,r.createContext)(null);const d={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 "},f={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 h(e){let{announcements:t=f,container:n,hiddenTextDescribedById:a,screenReaderInstructions:u=d}=e;const{announce:h,announcement:p}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),g=(0,i.Ld)("DndLiveRegion"),[m,v]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{v(!0)}),[]),function(e){const t=(0,r.useContext)(c);(0,r.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}((0,r.useMemo)((()=>({onDragStart(e){let{active:n}=e;h(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&h(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;h(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;h(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;h(t.onDragCancel({active:n,over:r}))}})),[h,t])),!m)return null;const y=r.createElement(r.Fragment,null,r.createElement(s,{id:a,value:u.draggable}),r.createElement(l,{id:g,announcement:p}));return n?(0,o.createPortal)(y,n):y}var p;function g(){}function m(e,t){return(0,r.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(p||(p={}));const y=Object.freeze({x:0,y:0});function b(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function x(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function C(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function k(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function E(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const _=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=E(t,t.left,t.top),i=[];for(const a of r){const{id:e}=a,t=n.get(e);if(t){const n=b(E(t),o);i.push({id:e,data:{droppableContainer:a,value:n}})}}return i.sort(w)},S=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=C(t),i=[];for(const a of r){const{id:e}=a,t=n.get(e);if(t){const n=C(t),r=o.reduce(((e,t,r)=>e+b(n[r],t)),0),s=Number((r/4).toFixed(4));i.push({id:e,data:{droppableContainer:a,value:s}})}}return i.sort(w)};function j(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-r,s=i-n;if(r<o&&n<i){const n=t.width*t.height,r=e.width*e.height,o=a*s;return Number((o/(n+r-o)).toFixed(4))}return 0}const M=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const i of r){const{id:e}=i,r=n.get(e);if(r){const n=j(r,t);
1n>0&&o.push({id:e,data:{droppableContainer:i,value:n}})}}return o.sort(x)};function O(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:y}function A(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const T=A(1);function R(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const L={ignoreTransform:!1};function D(e,t){void 0===t&&(t=L);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=(0,i.Jj)(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=R(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:s}=r,u=e.left-a-(1-o)*parseFloat(n),l=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),c=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:c,height:d,top:l,right:u+c,bottom:l+d,left:u}}(n,t,r))}const{top:r,left:o,width:a,height:s,bottom:u,right:l}=n;return{top:r,left:o,width:a,height:s,bottom:u,right:l}}function P(e){return D(e,{ignoreTransform:!0})}function I(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if((0,i.qk)(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!(0,i.Re)(o)||(0,i.vZ)(o))return n;if(n.includes(o))return n;const a=(0,i.Jj)(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e];return"string"===typeof r&&n.test(r)}))}(o,a)&&n.push(o),function(e,t){return void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e)),"fixed"===t.position}(o,a)?n:r(o.parentNode)}(e):n}function F(e){const[t]=I(e,1);return null!=t?t:null}function Z(e){return i.Nq&&e?(0,i.FJ)(e)?e:(0,i.UG)(e)?(0,i.qk)(e)||e===(0,i.r3)(e).scrollingElement?window:(0,i.Re)(e)?e:null:null:null}function N(e){return(0,i.FJ)(e)?e.scrollX:e.scrollLeft}function H(e){return(0,i.FJ)(e)?e.scrollY:e.scrollTop}function B(e){return{x:N(e),y:H(e)}}var V;function z(e){return!(!i.Nq||!e)&&e===document.scrollingElement}function U(e){const t={x:0,y:0},n=z(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(V||(V={}));const W={x:.2,y:.2};function $(e,t,n,r,o){let{top:i,left:a,right:s,bottom:u}=n;void 0===r&&(r=10),void 0===o&&(o=W);const{isTop:l,isBottom:c,isLeft:d,isRight:f}=U(e),h={x:0,y:0},p={x:0,y:0},g=t.height*o.y,m=t.width*o.x;return!l&&i<=t.top+g?(h.y=V.Backward,p.y=r*Math.abs((t.top+g-i)/g)):!c&&u>=t.bottom-g&&(h.y=V.Forward,p.y=r*Math.abs((t.bottom-g-u)/g)),!f&&s>=t.right-m?(h.x=V.Forward,p.x=r*Math.abs((t.right-m-s)/m)):!d&&a<=t.left+m&&(h.x=V.Backward,p.x=r*Math.abs((t.left+m-a)/m)),{direction:h,speed:p}}function q(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function G(e){return e.reduce(((e,t)=>(0,i.IH)(e,B(t))),y)}function Y(e,t){if(void 0===t&&(t=D),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);F(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const K=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+N(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+H(t)),0)}]];class X{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=I(t),r=G(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[o,i,a]of K)for(const e of i)Object.defineProperty(this,e,{get:()=>{const t=a(n),i=r[o]-t;return this.rect[e]+i},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class J{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>
1{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 Q(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"===typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var ee,te;function ne(e){e.preventDefault()}function re(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(ee||(ee={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(te||(te={}));const oe={start:[te.Space,te.Enter],cancel:[te.Esc],end:[te.Space,te.Enter]},ie=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case te.Right:return{...n,x:n.x+25};case te.Left:return{...n,x:n.x-25};case te.Down:return{...n,y:n.y+25};case te.Up:return{...n,y:n.y-25}}};class ae{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new J((0,i.r3)(t)),this.windowListeners=new J((0,i.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ee.Resize,this.handleCancel),this.windowListeners.add(ee.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(ee.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&Y(n),t(y)}handleKeyDown(e){if((0,i.vd)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=oe,coordinateGetter:a=ie,scrollBehavior:s="smooth"}=r,{code:u}=e;if(o.end.includes(u))return void this.handleEnd(e);if(o.cancel.includes(u))return void this.handleCancel(e);const{collisionRect:l}=n.current,c=l?{x:l.left,y:l.top}:y;this.referenceCoordinates||(this.referenceCoordinates=c);const d=a(e,{active:t,context:n.current,currentCoordinates:c});if(d){const t=(0,i.$X)(d,c),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:a,isLeft:u,isBottom:l,maxScroll:c,minScroll:f}=U(n),h=q(n),p={x:Math.min(o===te.Right?h.right-h.width/2:h.right,Math.max(o===te.Right?h.left:h.left+h.width/2,d.x)),y:Math.min(o===te.Down?h.bottom-h.height/2:h.bottom,Math.max(o===te.Down?h.top:h.top+h.height/2,d.y))},g=o===te.Right&&!a||o===te.Left&&!u,m=o===te.Down&&!l||o===te.Up&&!i;if(g&&p.x!==d.x){const e=n.scrollLeft+t.x,i=o===te.Right&&e<=c.x||o===te.Left&&e>=f.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:s});r.x=i?n.scrollLeft-e:o===te.Right?n.scrollLeft-c.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:s});break}if(m&&p.y!==d.y){const e=n.scrollTop+t.y,i=o===te.Down&&e<=c.y||o===te.Up&&e>=f.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:s});r.y=i?n.scrollTop-e:o===te.Down?n.scrollTop-c.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:s});break}}this.handleMove(e,(0,i.IH)((0,i.$X)(d,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function se(e){return Boolean(e&&"distance"in e)}function ue(e){return Boolean(e&&"delay"in e)}ae.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=oe,onActivation:o}=t,{active:i}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const t=i.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==o||o({event:e.nativeEvent}),!0)}return!1}}];class le{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,i.Jj)(e);return e instanceof t?e:(0,i.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;const{event:o}=e,{target:a}=o;this.props=e,this.events=t,this.document=(0,i.r3)(a),this.documentListeners=new J(this.document),this.listeners=new J(n),this.windowListeners=new J((0,i.Jj)(a)),this.initialCoordinates=null!=(r=(0,i.DC)(o))?r:y,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(ee.Resize,this.handleCancel),this.windowListeners.add(ee.DragStart,ne),this.windowListeners.add(ee.VisibilityChange,this.handleCancel),this.windowListeners.add(ee.ContextMenu,ne),this.documentListeners.add(ee.Keydown,this.handleKeydown),t){if(se(t))return;if(ue(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ee.Click,re,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ee.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:a,options:{activationConstraint:s}}=o;if(!r)return;const u=null!=(t=(0,i.DC)(e))?t:y,l=(0,i.$X)(r,u);
1if(!n&&s){if(ue(s))return Q(l,s.tolerance)?this.handleCancel():void 0;if(se(s))return null!=s.tolerance&&Q(l,s.tolerance)?this.handleCancel():Q(l,s.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),a(u)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===te.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ce={move:{name:"pointermove"},end:{name:"pointerup"}};class de extends le{constructor(e){const{event:t}=e,n=(0,i.r3)(t.target);super(e,ce,n)}}de.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button)&&(null==r||r({event:n}),!0)}}];const fe={move:{name:"mousemove"},end:{name:"mouseup"}};var he;!function(e){e[e.RightClick=2]="RightClick"}(he||(he={}));(class extends le{constructor(e){super(e,fe,(0,i.r3)(e.event.target))}}).activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==he.RightClick&&(null==r||r({event:n}),!0)}}];const pe={move:{name:"touchmove"},end:{name:"touchend"}};var ge,me;function ve(e){let{acceleration:t,activator:n=ge.Pointer,canScroll:o,draggingRect:a,enabled:s,interval:u=5,order:l=me.TreeOrder,pointerCoordinates:c,scrollableAncestors:d,scrollableAncestorRects:f,delta:h,threshold:p}=e;const g=function(e){let{delta:t,disabled:n}=e;const r=(0,i.D9)(t);return(0,i.Gj)((e=>{if(n||!r||!e)return ye;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[V.Backward]:e.x[V.Backward]||-1===o.x,[V.Forward]:e.x[V.Forward]||1===o.x},y:{[V.Backward]:e.y[V.Backward]||-1===o.y,[V.Forward]:e.y[V.Forward]||1===o.y}}}),[n,t,r])}({delta:h,disabled:!s}),[m,v]=(0,i.Yz)(),y=(0,r.useRef)({x:0,y:0}),b=(0,r.useRef)({x:0,y:0}),w=(0,r.useMemo)((()=>{switch(n){case ge.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case ge.DraggableRect:return a}}),[n,a,c]),x=(0,r.useRef)(null),C=(0,r.useCallback)((()=>{const e=x.current;if(!e)return;const t=y.current.x*b.current.x,n=y.current.y*b.current.y;e.scrollBy(t,n)}),[]),k=(0,r.useMemo)((()=>l===me.TreeOrder?[...d].reverse():d),[l,d]);(0,r.useEffect)((()=>{if(s&&d.length&&w){for(const e of k){if(!1===(null==o?void 0:o(e)))continue;const n=d.indexOf(e),r=f[n];if(!r)continue;const{direction:i,speed:a}=$(e,r,w,t,p);for(const e of["x","y"])g[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return v(),x.current=e,m(C,u),y.current=a,void(b.current=i)}y.current={x:0,y:0},b.current={x:0,y:0},v()}else v()}),[t,C,o,v,s,u,JSON.stringify(w),JSON.stringify(g),m,d,k,f,JSON.stringify(p)])}(class extends le{constructor(e){super(e,pe)}static setup(){return window.addEventListener(pe.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(pe.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1)&&(null==r||r({event:n}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ge||(ge={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(me||(me={}));const ye={x:{[V.Backward]:!1,[V.Forward]:!1},y:{[V.Backward]:!1,[V.Forward]:!1}};var be,we;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(be||(be={})),function(e){e.Optimized="optimized"}(we||(we={}));const xe=new Map;function Ce(e,t){return(0,i.Gj)((n=>e?n||("function"===typeof t?t(e):e):null),[t,e])}function ke(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)((()=>{if(n||"undefined"===typeof window||"undefined"===typeof window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[n]);return(0,r.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function Ee(e){return new X(D(e),e)}function _e(e,t,n){void 0===t&&(t=Ee);const[o,a]=(0,r.useReducer)((function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const i=t(e);if(JSON.stringify(r)===JSON.stringify(i))return r;return i}),null),s=function(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)((()=>
vendor: 4,110 bytes, line 1
1{if(n||"undefined"===typeof window||"undefined"===typeof window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,n]);return(0,r.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),u=ke({callback:a});return(0,i.LI)((()=>{a(),e?(null==u||u.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==u||u.disconnect(),null==s||s.disconnect())}),[e]),o}const Se=[];function je(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n.current=null}),t),(0,r.useEffect)((()=>{const t=e!==y;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?(0,i.$X)(e,n.current):y}function Me(e){return(0,r.useMemo)((()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null),[e])}const Oe=[];function Ae(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,i.Re)(t)?t:e}const Te=[{sensor:de,options:{}},{sensor:ae,options:{}}],Re={current:{}},Le={draggable:{measure:P},droppable:{measure:P,strategy:be.WhileDragging,frequency:we.Optimized},dragOverlay:{measure:D}};class De extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const Pe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new De,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:g},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Le,measureDroppableContainers:g,windowRect:null,measuringScheduled:!1},Ie={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:g,draggableNodes:new Map,over:null,measureDroppableContainers:g},Fe=(0,r.createContext)(Ie),Ze=(0,r.createContext)(Pe);function Ne(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new De}}}function He(e,t){switch(t.type){case p.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case p.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case p.DragEnd:case p.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case p.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new De(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case p.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new De(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case p.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new De(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Be(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:a}=(0,r.useContext)(Fe),s=(0,i.D9)(o),u=(0,i.D9)(null==n?void 0:n.id);return(0,r.useEffect)((()=>{if(!t&&!o&&s&&null!=u){if(!(0,i.vd)(s))return;if(document.activeElement===s.target)return;const e=a.get(u);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,i.so)(e);if(t){t.focus();break}}}))}}),[o,t,a,u,s]),null}function Ve(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}const ze=(0,r.createContext)({...y,scaleX:1,scaleY:1}
1);var Ue;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Ue||(Ue={}));const We=(0,r.memo)((function(e){var t,n,a,s;let{id:u,accessibility:l,autoScroll:d=!0,children:f,sensors:g=Te,collisionDetection:m=M,measuring:v,modifiers:b,...w}=e;const x=(0,r.useReducer)(He,void 0,Ne),[C,E]=x,[_,S]=function(){const[e]=(0,r.useState)((()=>new Set)),t=(0,r.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,r.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]),t]}(),[j,A]=(0,r.useState)(Ue.Uninitialized),R=j===Ue.Initialized,{draggable:{active:L,nodes:P,translate:N},droppable:{containers:H}}=C,V=L?P.get(L):null,U=(0,r.useRef)({initial:null,translated:null}),W=(0,r.useMemo)((()=>{var e;return null!=L?{id:L,data:null!=(e=null==V?void 0:V.data)?e:Re,rect:U}:null}),[L,V]),$=(0,r.useRef)(null),[q,Y]=(0,r.useState)(null),[K,J]=(0,r.useState)(null),Q=(0,i.Ey)(w,Object.values(w)),ee=(0,i.Ld)("DndDescribedBy",u),te=(0,r.useMemo)((()=>H.getEnabled()),[H]),ne=(re=v,(0,r.useMemo)((()=>({draggable:{...Le.draggable,...null==re?void 0:re.draggable},droppable:{...Le.droppable,...null==re?void 0:re.droppable},dragOverlay:{...Le.dragOverlay,...null==re?void 0:re.dragOverlay}})),[null==re?void 0:re.draggable,null==re?void 0:re.droppable,null==re?void 0:re.dragOverlay]));var re;const{droppableRects:oe,measureDroppableContainers:ie,measuringScheduled:ae}=function(e,t){let{dragging:n,dependencies:o,config:a}=t;const[s,u]=(0,r.useState)(null),{frequency:l,measure:c,strategy:d}=a,f=(0,r.useRef)(e),h=function(){switch(d){case be.Always:return!1;case be.BeforeDragging:return n;default:return!n}}(),p=(0,i.Ey)(h),g=(0,r.useCallback)((function(e){void 0===e&&(e=[]),p.current||u((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[p]),m=(0,r.useRef)(null),v=(0,i.Gj)((t=>{if(h&&!n)return xe;if(!t||t===xe||f.current!==e||null!=s){const t=new Map;for(let n of e){if(!n)continue;if(s&&s.length>0&&!s.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,r=e?new X(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t}),[e,s,n,h,c]);return(0,r.useEffect)((()=>{f.current=e}),[e]),(0,r.useEffect)((()=>{h||g()}),[n,h]),(0,r.useEffect)((()=>{s&&s.length>0&&u(null)}),[JSON.stringify(s)]),(0,r.useEffect)((()=>{h||"number"!==typeof l||null!==m.current||(m.current=setTimeout((()=>{g(),m.current=null}),l))}),[l,h,g,...o]),{droppableRects:v,measureDroppableContainers:g,measuringScheduled:null!=s}}(te,{dragging:R,dependencies:[N.x,N.y],config:ne.droppable}),se=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return(0,i.Gj)((e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])}(P,L),ue=(0,r.useMemo)((()=>K?(0,i.DC)(K):null),[K]),le=function(){const e=!1===(null==q?void 0:q.autoScrollEnabled),t="object"===typeof d?!1===d.enabled:!1===d,n=R&&!e&&!t;if("object"===typeof d)return{...d,enabled:n};return{enabled:n}}(),ce=function(e,t){return Ce(e,t)}(se,ne.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:a=!0}=e;const s=(0,r.useRef)(!1),{x:u,y:l}="boolean"===typeof a?{x:a,y:a}:a;(0,i.LI)((()=>
vendor: 3,740 bytes, line 1
1{if(!u&&!l||!t)return void(s.current=!1);if(s.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=O(n(e),o);if(u||(r.x=0),l||(r.y=0),s.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=F(e);t&&t.scrollBy({top:r.y,left:r.x})}}),[t,u,l,o,n])}({activeNode:L?P.get(L):null,config:le.layoutShiftCompensation,initialRect:ce,measure:ne.draggable.measure});const de=_e(se,ne.draggable.measure,ce),fe=_e(se?se.parentElement:null),he=(0,r.useRef)({activatorEvent:null,active:null,activeNode:se,collisionRect:null,collisions:null,droppableRects:oe,draggableNodes:P,draggingNode:null,draggingNodeRect:null,droppableContainers:H,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),pe=H.getNodeFor(null==(t=he.current.over)?void 0:t.id),ge=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),a=(0,r.useCallback)((e=>{for(const{target:n}of e)if((0,i.Re)(n)){o((e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r}));break}}),[t]),s=ke({callback:a}),u=(0,r.useCallback)((e=>{const n=Ae(e);null==s||s.disconnect(),n&&(null==s||s.observe(n)),o(n?t(n):null)}),[t,s]),[l,c]=(0,i.wm)(u);return(0,r.useMemo)((()=>({nodeRef:l,rect:n,setRef:c})),[n,l,c])}({measure:ne.dragOverlay.measure}),me=null!=(n=ge.nodeRef.current)?n:se,ye=R?null!=(a=ge.rect)?a:de:null,we=Boolean(ge.nodeRef.current&&ge.rect),Ee=O(De=we?null:de,Ce(De));var De;const Pe=Me(me?(0,i.Jj)(me):null),Ie=function(e){const t=(0,r.useRef)(e),n=(0,i.Gj)((n=>e?n&&n!==Se&&e&&t.current&&e.parentNode===t.current.parentNode?n:I(e):Se),[e]);return(0,r.useEffect)((()=>{t.current=e}),[e]),n}(R?null!=pe?pe:se:null),We=function(e,t){void 0===t&&(t=D);const[n]=e,o=Me(n?(0,i.Jj)(n):null),[a,s]=(0,r.useReducer)((function(){return e.length?e.map((e=>z(e)?o:new X(t(e),e))):Oe}),Oe),u=ke({callback:s});return e.length>0&&a===Oe&&s(),(0,i.LI)((()=>{e.length?e.forEach((e=>null==u?void 0:u.observe(e))):(null==u||u.disconnect(),s())}),[e]),a}(Ie),$e=Ve(b,{transform:{x:N.x-Ee.x,y:N.y-Ee.y,scaleX:1,scaleY:1},activatorEvent:K,active:W,activeNodeRect:de,containerNodeRect:fe,draggingNodeRect:ye,over:he.current.over,overlayNodeRect:ge.rect,scrollableAncestors:Ie,scrollableAncestorRects:We,windowRect:Pe}),qe=ue?(0,i.IH)(ue,N):null,Ge=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),a=(0,r.useCallback)((e=>{const t=Z(e.target);t&&n((e=>e?(e.set(t,B(t)),new Map(e)):null))}),[]);return(0,r.useEffect)((()=>{const t=o.current;if(e!==t){r(t);const i=e.map((e=>{const t=Z(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,B(t)]):null})).filter((e=>null!=e));n(i.length?new Map(i):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach((e=>{const t=Z(e);null==t||t.removeEventListener("scroll",a)}))}}),[a,e]),(0,r.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,i.IH)(e,t)),y):G(e):y),[e,t])}(Ie),Ye=je(Ge),Ke=je(Ge,[de]),Xe=(0,i.IH)($e,Ye),Je=ye?T(ye,$e):null,Qe=W&&Je?m({active:W,collisionRect:Je,droppableRects:oe,droppableContainers:te,pointerCoordinates:qe}):null,et=k(Qe,"id"),[tt,nt]=(0,r.useState)(null),rt=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(we?$e:(0,i.IH)($e,Ke),null!=(s=null==tt?void 0:tt.rect)?s:null,de),ot=(0,r.useCallback)(((e,t)=>{let{sensor:n,options:r}=t;if(null==$.current)return;const i=P.get($.current);if(!i)return;const a=e.nativeEvent,s=new n({active:$.current,activeNode:i,event:a,options:r,context:he,onStart(e){const t=$.current;if(null==t)return;const n=P.get(t);if(!n)return;const{onDragStart:r}=Q.current,i={active:{id:t,data:n.data,rect:U}};(0,o.unstable_batchedUpdates)((()=>{null==r||r(i),A(Ue.Initializing),E({type:p.DragStart,initialCoordinates:e,active:t}),_({type:"onDragStart",event:i})}
1))},onMove(e){E({type:p.DragMove,coordinates:e})},onEnd:u(p.DragEnd),onCancel:u(p.DragCancel)});function u(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=he.current;let s=null;if(t&&i){const{cancelDrop:o}=Q.current;if(s={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===p.DragEnd&&"function"===typeof o){await Promise.resolve(o(s))&&(e=p.DragCancel)}}$.current=null,(0,o.unstable_batchedUpdates)((()=>{E({type:e}),A(Ue.Uninitialized),nt(null),Y(null),J(null);const t=e===p.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=Q.current[t];null==e||e(s),_({type:t,event:s})}}))}}(0,o.unstable_batchedUpdates)((()=>{Y(s),J(e.nativeEvent)}))}),[P]),it=(0,r.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,i=P.get(r);if(null!==$.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(n,t.options,a)&&(o.dndKit={capturedBy:t.sensor},$.current=r,ot(n,t))}),[P,ot]),at=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,n)})))]}),[])),[e,t])}(g,it);!function(e){(0,r.useEffect)((()=>{if(!i.Nq)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(g),(0,i.LI)((()=>{de&&j===Ue.Initializing&&A(Ue.Initialized)}),[de,j]),(0,r.useEffect)((()=>{const{onDragMove:e}=Q.current,{active:t,activatorEvent:n,collisions:r,over:i}=he.current;if(!t||!n)return;const a={active:t,activatorEvent:n,collisions:r,delta:{x:Xe.x,y:Xe.y},over:i};(0,o.unstable_batchedUpdates)((()=>{null==e||e(a),_({type:"onDragMove",event:a})}))}),[Xe.x,Xe.y]),(0,r.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=he.current;if(!e||null==$.current||!t||!i)return;const{onDragOver:a}=Q.current,s=r.get(et),u=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,l={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:u};(0,o.unstable_batchedUpdates)((()=>{nt(u),null==a||a(l),_({type:"onDragOver",event:l})}))}),[et]),(0,i.LI)((()=>{he.current={activatorEvent:K,active:W,activeNode:se,collisionRect:Je,collisions:Qe,droppableRects:oe,draggableNodes:P,draggingNode:me,draggingNodeRect:ye,droppableContainers:H,over:tt,scrollableAncestors:Ie,scrollAdjustedTranslate:Xe},U.current={initial:ye,translated:Je}}),[W,se,Qe,Je,P,me,ye,oe,H,tt,Ie,Xe]),ve({...le,delta:N,draggingRect:Je,pointerCoordinates:qe,scrollableAncestors:Ie,scrollableAncestorRects:We});const st=(0,r.useMemo)((()=>({active:W,activeNode:se,activeNodeRect:de,activatorEvent:K,collisions:Qe,containerNodeRect:fe,dragOverlay:ge,draggableNodes:P,droppableContainers:H,droppableRects:oe,over:tt,measureDroppableContainers:ie,scrollableAncestors:Ie,scrollableAncestorRects:We,measuringConfiguration:ne,measuringScheduled:ae,windowRect:Pe})),[W,se,de,K,Qe,fe,ge,P,H,oe,tt,ie,Ie,We,ne,ae,Pe]),ut=(0,r.useMemo)((()=>({activatorEvent:K,activators:at,active:W,activeNodeRect:de,ariaDescribedById:{draggable:ee},dispatch:E,draggableNodes:P,over:tt,measureDroppableContainers:ie})),[K,at,W,de,E,ee,P,tt,ie]);return r.createElement(c.Provider,{value:S},r.createElement(Fe.Provider,{value:ut},r.createElement(Ze.Provider,{value:st},r.createElement(ze.Provider,{value:rt},f)),r.createElement(Be,{disabled:!1===(null==l?void 0:l.restoreFocus)})),r.createElement(h,{...l,hiddenTextDescribedById:ee}))})),$e=(0,r.createContext)(null),qe="button";function Ge(e){let{id:t,data:n,disabled:o=!1,attributes:a}=e;const s=(0,i.Ld)("Droppable"),{activators:u,activatorEvent:l,active:c,activeNodeRect:d,ariaDescribedById:f,draggableNodes:h,over:p}=(0,r.useContext)(Fe),{role:g=qe,roleDescription:m="draggable",tabIndex:v=0}=null!=a?a:{},y=(null==c?void 0:c.id)===t,b=(0,r.useContext)(y?ze:$e),[w,x]=(0,i.wm)(),[C,k]=(0,i.wm)(),E=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e}),{})),[e,t])}(u,t),_=(0,i.Ey)(n);(0,i.LI)((()=>(h.set(t,{id:t,key:s,node:w,activatorNode:C,data:_}),()=>{const e=h.get(t);e&&e.key===s&&h.delete(t)})),[h,t]);return{active:c,activatorEvent:l,activeNodeRect:d,attributes:(0,r.useMemo)((()=>({role:g,tabIndex:v,"aria-disabled":o,"aria-pressed":!(!y||g!==qe)||void 0,"aria-roledescription":m,"aria-describedby":f.draggable})),[o,g,v,y,m,f.draggable]),isDragging:y,listeners:o?void 0:E,node:w,over:p,setNodeRef:x,setActivatorNodeRef:k,transform:b}}function Ye(){return(0,r.useContext)(Ze)}const Ke={timeout:25};function Xe(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:a}=e;const s=(0,i.Ld)("Droppable"),{active:u,dispatch:l,over:c,measureDroppableContainers:d}=(0,r.useContext)(Fe),f=(0,r.useRef)({disabled:n}),h=(0,r.useRef)(!1),g=(0,r.useRef)(null),m=(0,r.useRef)(null),{disabled:v,updateMeasurementsFor:y,timeout:b}={...Ke,...a},w=(0,i.Ey)(null!=y?y:o),x=ke({callback:(0,r.useCallback)((()=>{h.current?(null!=m.current&&clearTimeout(m.current),m.current=setTimeout((()=>{d(Array.isArray(w.current)?w.current:[w.current]),m.current=null}),b)):h.current=!0}),[b]),disabled:v||!u}),C=(0,r.useCallback)(((e,t)=>{x&&(t&&(x.unobserve(t),h.current=!1),e&&x.observe(e))}),[x]),[k,E]=(0,i.wm)(C),_=(0,i.Ey)(t);return(0,r.useEffect)((()=>{x&&k.current&&(x.disconnect(),h.current=!1,x.observe(k.current))}),[k,x]),(0,i.LI)((()=>(l({type:p.RegisterDroppable,element:{id:o,key:s,disabled:n,node:k,rect:g,data:_}}),()=>l({type:p.UnregisterDroppable,key:s,id:o}))),[o]),(0,r.useEffect)((()=>{n!==f.current.disabled&&(l({type:p.SetDroppableDisabled,id:o,key:s,disabled:n}),f.current.disabled=n)}),[o,s,n,l]),{active:u,rect:g,isOver:(null==c?void 0:c.id)===o,node:k,over:c,setNodeRef:E}}},32339:function(e,t,n){"use strict";n.d(t,{DL:function(){return o},K7:function(){return r}});n(24285);const r=e=>{let{transform:t}=e;return{...t,y:0}};const o=e=>{let{transform:t}=e;return{...t,x:0}}},45587:function(e,t,n){"use strict";n.d(t,{Fo:function(){return m},PG:function(){return c},is:function(){return S},nB:function(){return k},qw:function(){return h}});var r=n(67294),o=n(60887),i=n(24285);function a(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function s(e,t){return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e}),Array(e.length))}function u(e){return null!==e&&e>=0}const l={scaleX:1,scaleY:1},c=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:o,overIndex:i,index:a}=e;const s=null!=(t=n[o])?t:r;if(!s)return null;const u=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];if(!r||!o&&!i)return 0;
1if(n<t)return o?r.left-(o.left+o.width):i.left-(r.left+r.width);return i?i.left-(r.left+r.width):r.left-(o.left+o.width)}(n,a,o);if(a===o){const e=n[i];return e?{x:o<i?e.left+e.width-(s.left+s.width):e.left-s.left,y:0,...l}:null}return a>o&&a<=i?{x:-s.width-u,y:0,...l}:a<o&&a>=i?{x:s.width+u,y:0,...l}:{x:0,y:0,...l}};const d=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=a(t,r,n),s=t[o],u=i[o];return u&&s?{x:u.left-s.left,y:u.top-s.top,scaleX:u.width/s.width,scaleY:u.height/s.height}:null},f={scaleX:1,scaleY:1},h=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const s=null!=(t=i[n])?t:r;if(!s)return null;if(o===n){const e=i[a];return e?{x:0,y:n<a?e.top+e.height-(s.top+s.height):e.top-s.top,...f}:null}const u=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];if(!r)return 0;if(n<t)return o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0;return i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0}(i,o,n);return o>n&&o<=a?{x:0,y:-s.height-u,...f}:o<n&&o>=a?{x:0,y:s.height+u,...f}:{x:0,y:0,...f}};const p="Sortable",g=r.createContext({activeIndex:-1,containerId:p,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:d,disabled:{draggable:!1,droppable:!1}});function m(e){let{children:t,id:n,items:a,strategy:u=d,disabled:l=!1}=e;const{active:c,dragOverlay:f,droppableRects:h,over:m,measureDroppableContainers:v}=(0,o.Cj)(),y=(0,i.Ld)(p,n),b=Boolean(null!==f.rect),w=(0,r.useMemo)((()=>a.map((e=>"object"===typeof e&&"id"in e?e.id:e))),[a]),x=null!=c,C=c?w.indexOf(c.id):-1,k=m?w.indexOf(m.id):-1,E=(0,r.useRef)(w),_=!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),S=-1!==k&&-1===C||_,j=function(e){return"boolean"===typeof e?{draggable:e,droppable:e}:e}(l);(0,i.LI)((()=>{_&&x&&v(w)}),[_,w,x,v]),(0,r.useEffect)((()=>{E.current=w}),[w]);const M=(0,r.useMemo)((()=>({activeIndex:C,containerId:y,disabled:j,disableTransforms:S,items:w,overIndex:k,useDragOverlay:b,sortedRects:s(w,h),strategy:u})),[C,y,j.draggable,j.droppable,S,w,k,h,b,u]);return r.createElement(g.Provider,{value:M},t)}const v=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return a(n,r,o).indexOf(t)},y=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:s,previousContainerId:u,transition:l}=e;return!(!l||!r)&&((s===i||o!==a)&&(!!n||a!==o&&t===u))},b={duration:200,easing:"ease"},w="transform",x=i.ux.Transition.toString({property:w,duration:0,easing:"linear"}),C={roleDescription:"sortable"};function k(e){let{animateLayoutChanges:t=y,attributes:n,disabled:a,data:s,getNewIndex:l=v,id:c,strategy:d,resizeObserverConfig:f,transition:h=b}=e;const{items:p,containerId:m,activeIndex:k,disabled:E,disableTransforms:_,sortedRects:S,overIndex:j,useDragOverlay:M,strategy:O}=(0,r.useContext)(g),A=function(e,t){var n,r;if("boolean"===typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(a,E),T=p.indexOf(c),R=(0,r.useMemo)((()=>({sortable:{containerId:m,index:T,items:p},...s})),[m,s,T,p]),L=(0,r.useMemo)((()=>p.slice(p.indexOf(c))),[p,c]),{rect:D,node:P,isOver:I,setNodeRef:F}=(0,o.Zj)({id:c,data:R,disabled:A.droppable,resizeObserverConfig:{updateMeasurementsFor:L,...f}}),{active:Z,activatorEvent:N,activeNodeRect:H,attributes:B,setNodeRef:V,listeners:z,isDragging:U,over:W,setActivatorNodeRef:$,transform:q}=(0,o.O1)({id:c,data:R,attributes:{...C,...n},disabled:A.draggable}),G=(0,i.HB)(F,V),Y=Boolean(Z),K=Y&&!_&&u(k)&&u(j),X=!M&&U,J=X&&K?q:null,Q=K?null!=J?J:(null!=d?d:O)({rects:S,activeNodeRect:H,activeIndex:k,overIndex:j,index:T}):null,ee=u(k)&&u(j)?l({id:c,items:p,activeIndex:k,overIndex:j}):T,te=null==Z?void 0:Z.id,ne=(0,r.useRef)({activeId:te,items:p,newIndex:ee,containerId:m}),re=p!==ne.current.items,oe=t({active:Z,containerId:m,isDragging:U,isSorting:Y,id:c,index:T,items:p,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:h,wasDragging:null!=ne.current.activeId}),ie=function(e){let{disabled:t,index:n,node:a,rect:s}=e;const[u,l]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,i.LI)((()=>
1{if(!t&&n!==c.current&&a.current){const e=s.current;if(e){const t=(0,o.VK)(a.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&l(n)}}n!==c.current&&(c.current=n)}),[t,n,a,s]),(0,r.useEffect)((()=>{u&&l(null)}),[u]),u}({disabled:!oe,index:T,node:P,rect:D});return(0,r.useEffect)((()=>{Y&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),m!==ne.current.containerId&&(ne.current.containerId=m),p!==ne.current.items&&(ne.current.items=p)}),[Y,ee,m,p]),(0,r.useEffect)((()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout((()=>{ne.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:Z,activeIndex:k,attributes:B,data:R,rect:D,index:T,newIndex:ee,items:p,isOver:I,isSorting:Y,isDragging:U,listeners:z,node:P,overIndex:j,over:W,setNodeRef:G,setActivatorNodeRef:$,setDroppableNodeRef:F,setDraggableNodeRef:V,transform:null!=ie?ie:Q,transition:function(){if(ie||re&&ne.current.newIndex===T)return x;if(X&&!(0,i.vd)(N)||!h)return;if(Y||oe)return i.ux.Transition.toString({...h,property:w});return}()}}function E(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"===typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const _=[o.g4.Down,o.g4.Right,o.g4.Up,o.g4.Left],S=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:s,over:u,scrollableAncestors:l}}=t;if(_.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];s.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return;const i=a.get(n.id);if(i)switch(e.code){case o.g4.Down:r.top<i.top&&t.push(n);break;case o.g4.Up:r.top>i.top&&t.push(n);break;case o.g4.Left:r.left>i.left&&t.push(n);break;case o.g4.Right:r.left<i.left&&t.push(n)}}));const c=(0,o.ey)({active:n,collisionRect:r,droppableRects:a,droppableContainers:t,pointerCoordinates:null});let d=(0,o._8)(c,"id");if(d===(null==u?void 0:u.id)&&c.length>1&&(d=c[1].id),null!=d){const e=s.get(n.id),t=s.get(d),u=t?a.get(t.id):null,c=null==t?void 0:t.node.current;if(c&&u&&e&&t){const n=(0,o.hI)(c).some(((e,t)=>l[t]!==e)),a=j(e,t),s=function(e,t){if(!E(e)||!E(t))return!1;if(!j(e,t))return!1;return e.data.current.sortable.index<t.data.current.sortable.index}(e,t),d=n||!a?{x:0,y:0}:{x:s?r.width-u.width:0,y:s?r.height-u.height:0},f={x:u.left,y:u.top};return d.x&&d.y?f:(0,i.$X)(f,d)}}}};function j(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 E},D9:function(){return b},DC:function(){return S},Ey:function(){return m},FJ:function(){return a},Gj:function(){return v},HB:function(){return o},IH:function(){return k},Jj:function(){return u},LI:function(){return h},Ld:function(){return x},Nq:function(){return i},Re:function(){return c},UG:function(){return s},Yz:function(){return g},qk:function(){return l},r3:function(){return f},so:function(){return O},ux:function(){return j},vZ:function(){return d},vd:function(){return _},wm:function(){return y},zX:function(){return p}});var r=n(67294);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>e=>{t.forEach((t=>t(e)))}),t)}const i="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function u(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 l(e){const{Document:t}=u(e);return e instanceof t}function c(e){return!a(e)&&e instanceof u(e).HTMLElement}function d(e){return e instanceof u(e).SVGElement}function f(e){return e?a(e)?e.document:s(e)?l(e)?e:c(e)?e.ownerDocument:document:document:document}const h=i?r.useLayoutEffect:r.useEffect;function p(e){const t=(0,r.useRef)(e);return h((()=>{t.current=e})),(0,r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}function g(){const e=(0,r.useRef)(null);return[(0,r.useCallback)(((t,n)=>{e.current=setInterval(t,n)}),[]),(0,r.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function m(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return h((()=>{n.current!==e&&(n.current=e)}),t),n}function v(e,t){const n=(0,r.useRef)();return(0,r.useMemo)((()=>{const t=e(n.current);return n.current=t,t}),[...t])}function y(e){const t=p(e),n=(0,r.useRef)(null),o=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,o]}function b(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}let w={};function x(e,t){return(0,r.useMemo)((()=>
vendor: 2,686 bytes, line 1
1{if(t)return t;const n=null==w[e]?0:w[e]+1;return w[e]=n,e+"-"+n}),[e,t])}function C(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[o,i]of r){const n=t[o];null!=n&&(t[o]=n+e*i)}return t}),{...t})}}const k=C(1),E=C(-1);function _(e){if(!e)return!1;const{KeyboardEvent:t}=u(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=u(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const j=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[j.Translate.toString(e),j.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),M="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function O(e){return e.matches(M)?e:e.querySelector(M)}},8417:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,077 bytes, line 1
1,t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function u(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function p(e,t){return t.push(e),e}var g=1,m=1,v=0,y=0,b=0,w="";function x(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:g,column:m,length:a,return:""}}function C(e,t){return a(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?c(w,--y):0,m--,10===b&&(m=1,g--),b}function E(){return b=y<v?c(w,y++):0,m++,10===b&&(m=1,g++),b}function _(){return c(w,y)}function S(){return y}function j(e,t){return d(w,e,t)}function M(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function O(e){return g=m=1,v=f(w=e),y=0,[]}function A(e){return w="",e}function T(e){return s(j(y-1,D(91===e?e+2:40===e?e+1:e)))}function R(e){for(;(b=_())&&b<33;)E();return M(e)>2||M(b)>3?"":" "}function L(e,t){for(;--t&&E()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return j(e,S()+(t<6&&32==_()&&32==E()))}function D(e){for(;E();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&D(b);break;case 40:41===e&&D(e);break;case 92:E()}return y}function P(e,t){for(;E()&&e+b!==57&&(e+b!==84||47!==_()););return"/*"+j(t,y-1)+"*"+i(47===e?e:E())}function I(e){for(;!M(_());)E();return j(e,y)}var F="-ms-",Z="-moz-",N="-webkit-",H="comm",B="rule",V="decl",z="@keyframes";function U(e,t){for(var n="",r=h(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case V:return e.return=e.return||e.value;case H:return"";case z:return e.return=e.value+"{"+U(e.children,r)+"}";case B:e.value=e.props.join(",")}return f(n=U(e.children,r))?e.return=e.value+"{"+n+"}":""}function $(e){return A(q("",null,null,null,[""],e=O(e),0,[0],e))}function q(e,t,n,r,o,a,s,d,h){for(var g=0,m=0,v=s,y=0,b=0,w=0,x=1,C=1,j=1,M=0,O="",A=o,D=a,F=r,Z=O;C;)switch(w=M,M=E()){case 40:if(108!=w&&58==c(Z,v-1)){-1!=l(Z+=u(T(M),"&","&\f"),"&\f")&&(j=-1);break}case 34:case 39:case 91:Z+=T(M);break;case 9:case 10:case 13:case 32:Z+=R(w);break;case 92:Z+=L(S()-1,7);continue;case 47:switch(_()){case 42:case 47:p(Y(P(E(),S()),t,n),h);break;default:Z+="/"}break;case 123*x:d[g++]=f(Z)*j;case 125*x:case 59:case 0:switch(M){case 0:case 125:C=0;case 59+m:-1==j&&(Z=u(Z,/\f/g,"")),b>0&&f(Z)-v&&p(b>32?K(Z+";",r,n,v-1):K(u(Z," ","")+";",r,n,v-2),h);break;case 59:Z+=";";default:if(p(F=G(Z,t,n,g,m,o,d,O,A=[],D=[],v),a),123===M)if(0===m)q(Z,t,F,F,A,a,v,d,D);else switch(99===y&&110===c(Z,3)?100:y){case 100:case 108:case 109:case 115:q(e,F,F,r&&p(G(e,F,F,0,0,o,d,O,o,A=[],v),D),o,D,v,d,r?A:D);break;default:q(Z,F,F,F,[""],D,0,d,D)}}g=m=b=0,x=j=1,O=Z="",v=s;break;case 58:v=1+f(Z),b=w;default:if(x<1)if(123==M)--x;else if(125==M&&0==x++&&125==k())continue;switch(Z+=i(M),M*x){case 38:j=m>0?1:(Z+="\f",-1);break;case 44:d[g++]=(f(Z)-1)*j,j=1;break;case 64:45===_()&&(Z+=T(E())),y=_(),m=v=f(O=Z+=I(S())),M++;break;case 45:45===w&&2==f(Z)&&(x=0)}}return a}function G(e,t,n,r,i,a,l,c,f,p,g){for(var m=i-1,v=0===i?a:[""],y=h(v),b=0,w=0,C=0;b<r;++b)for(var k=0,E=d(e,m+1,m=o(w=l[b])),_=e;k<y;++k)(_=s(w>0?v[k]+" "+E:u(E,/&\f/g,v[k])))&&(f[C++]=_);return x(e,t,n,0===i?B:c,f,p,g)}function Y(e,t,n){return x(e,t,n,H,i(b),d(e,2,-2),0)}function K(e,t,n,r){return x(e,t,n,V,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=_(),38===r&&12===o&&(t[n]=1),!M(o);)E();return j(e,y)},J=function(e,t){return A(function(e,t){var n=-1,r=44;do{switch(M(r)){case 0:38===r&&12===_()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===_()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=E());return e}(O(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],i=J(t,o),a=n.props,s=0,u=0;s<i.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^c(e,0)?(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0}(e,t)){case 5103:return"-webkit-print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return N+e+e;
1case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+Z+e+F+e+e;case 6828:case 4268:return N+e+F+e+e;case 6165:return N+e+F+"flex-"+e+e;case 5187:return N+e+u(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return N+e+F+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return N+e+F+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+F+u(e,"shrink","negative")+e;case 5292:return N+e+F+u(e,"basis","preferred-size")+e;case 6060:return"-webkit-box-"+u(e,"-grow","")+N+e+F+u(e,"grow","positive")+e;case 4554:return N+u(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,"-webkit-$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?ne(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~l(e,"!important")&&10))){case 107:return u(e,":",":-webkit-")+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===c(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return N+e+F+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+F+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+F+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+F+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case V:e.return=ne(e.value,e.length);break;case z:return U([C(e,{value:u(e.value,"@","@-webkit-")})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([C(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([C(e,{props:[u(t,/:(plac\w+)/,":-webkit-input-$1")]}),C(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),C(e,{props:[u(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,s={},u=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;u.push(e)}));var l,c,d=[W,(c=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],f=function(e){var t=h(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}([ee,te].concat(o,d));a=function(e,t,n,r){l=n,U($(e?e+"{"+t.styles+"}":t.styles),f),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new r({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return p.sheet.hydrate(u),p}},8814:function(e,t,n){"use strict";n.d(t,{iv:function(){return A},tZ:function(){return O},F4:function(){return T}});var r=n(67294),o=n.t(r,2),i=n(8417);var a=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var s={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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};function u(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var l=/[A-Z]|^ms/g,c=/_EMO_([^_]+?)_([^]*?)_EMO_/g,d=function(e){return 45===e.charCodeAt(1)},f=function(e){return null!=e&&"boolean"!==typeof e},h=u((function(e){return d(e)?e:e.replace(l,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(c,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===s[e]||d(e)||"number"!==typeof t||0===t?t:t+"px"};function g(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return m={name:n.name,styles:n.styles,next:m},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)m={name:r.name,styles:r.styles,next:m},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=g(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":f(a)&&(r+=h(i)+":"+p(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=g(e,t,a);switch(i){case"animation":case"animationName":r+=h(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)f(a[u])&&(r+=h(i)+":"+p(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=m,i=n(e);return m=o,g(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var m,v=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var y=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";m=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=g(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=g(n,t,e[a]),r&&(o+=i[a]);v.lastIndex=0;for(var s,u="";null!==(s=v.exec(o));)u+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:l,styles:o,next:m}},b=!!o.useInsertionEffect&&o.useInsertionEffect,w=b||function(e){return e()},x=(b||r.useLayoutEffect,{}.hasOwnProperty),C=r.createContext("undefined"!==typeof HTMLElement?(0,i.Z)({key:"css"}):null);C.Provider;var k=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(C);return e(t,o,n)}))};var E=r.createContext({});var _="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",S=function(e,t){var n={};for(var r in t)x.call(t,r)&&(n[r]=t[r]);return n[_]=e,n},j=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return a(t,n,r),w((function(){return function(e,t,n){a(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null};var M=k((function(e,t,n){var o=e.css;"string"===typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[_],a=[o],s="";"string"===typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var u=y(a,void 0,r.useContext(E));s+=t.key+"-"+u.name;var l={};for(var c in e)x.call(e,c)&&"css"!==c&&c!==_&&(l[c]=e[c]);return l.ref=n,l.className=s,r.createElement(r.Fragment,null,r.createElement(j,{cache:t,serialized:u,isStringTag:"string"===typeof i}),r.createElement(i,l))})),O=(n(8679),function(e,t){var n=arguments;if(null==t||!x.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=M,i[1]=S(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)});function A(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return y(t)}var T=function(){var e=A.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},58463:function(e,t,n){"use strict";n.d(t,{YF:function(){return h},x7:function(){return s}});var r=n(88301),o=n(55863),i=n(67294),a=n(73935);const s=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return t&&(o=t,{}.hasOwnProperty.call(o,"current"))?null!=t.current?(0,r.x7)({element:t.current,padding:n}).fn(e):{}:t?(0,r.x7)({element:t,padding:n}).fn(e):{};var o}}};var u="undefined"!==typeof document?i.useLayoutEffect:i.useEffect;function l(e,t){if(e===t)return!0;
1if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!==r--;)if(!l(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!l(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function c(e){if("undefined"===typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function d(e,t){const n=c(e);return Math.round(t*n)/n}function f(e){const t=i.useRef(e);return u((()=>{t.current=e})),t}function h(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:h,floating:p}={},transform:g=!0,whileElementsMounted:m,open:v}=e,[y,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=i.useState(r);l(w,r)||x(r);const[C,k]=i.useState(null),[E,_]=i.useState(null),S=i.useCallback((e=>{e!=A.current&&(A.current=e,k(e))}),[k]),j=i.useCallback((e=>{e!==T.current&&(T.current=e,_(e))}),[_]),M=h||C,O=p||E,A=i.useRef(null),T=i.useRef(null),R=i.useRef(y),L=f(m),D=f(s),P=i.useCallback((()=>{if(!A.current||!T.current)return;const e={placement:t,strategy:n,middleware:w};D.current&&(e.platform=D.current),(0,o.oo)(A.current,T.current,e).then((e=>{const t={...e,isPositioned:!0};I.current&&!l(R.current,t)&&(R.current=t,a.flushSync((()=>{b(t)})))}))}),[w,t,n,D]);u((()=>{!1===v&&R.current.isPositioned&&(R.current.isPositioned=!1,b((e=>({...e,isPositioned:!1}))))}),[v]);const I=i.useRef(!1);u((()=>(I.current=!0,()=>{I.current=!1})),[]),u((()=>{if(M&&(A.current=M),O&&(T.current=O),M&&O){if(L.current)return L.current(M,O,P);P()}}),[M,O,P,L]);const F=i.useMemo((()=>({reference:A,floating:T,setReference:S,setFloating:j})),[S,j]),Z=i.useMemo((()=>({reference:M,floating:O})),[M,O]),N=i.useMemo((()=>{const e={position:n,left:0,top:0};if(!Z.floating)return e;const t=d(Z.floating,y.x),r=d(Z.floating,y.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...c(Z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,g,Z.floating,y.x,y.y]);return i.useMemo((()=>({...y,update:P,refs:F,elements:Z,floatingStyles:N})),[y,P,F,Z,N])}},70597:function(e,t,n){"use strict";var r,o=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},i=n(67294),a=(r=i)&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,u=void 0===s?24:s,l=e.style,c=void 0===l?{}:l,d=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:u},c)},d),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},43891:function(e,t,n){"use strict";var r,o=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},i=n(67294),a=(r=i)&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,u=void 0===s?24:s,l=e.style,c=void 0===l?{}:l,d=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:u},c)},d),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},58354:function(e,t,n){"use strict";n.d(t,{do:function(){return V}});var r,o=[],i="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var a,s=function(e){return Object.freeze(e)},u=function(e,t){this.inlineSize=e,this.blockSize=t,s(this)},l=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,s(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),c=function(e){return e instanceof SVGElement&&"getBBox"in e},d=function(e){if(c(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},f=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null===e||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},h="undefined"!==typeof window?window:{},p=new WeakMap,g=/auto|scroll/,m=/^tb|vertical/,v=/msie|trident/i.test(h.navigator&&h.navigator.userAgent),y=function(e){return parseFloat(e||"0")},b=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new u((n?t:e)||0,(n?e:t)||0)},w=s({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new l(0,0,0,0)}),x=function(e,t){if(void 0===t&&(t=!1),p.has(e)&&!t)return p.get(e);if(d(e))return p.set(e,w),w;var n=getComputedStyle(e),r=c(e)&&e.ownerSVGElement&&e.getBBox(),o=!v&&"border-box"===n.boxSizing,i=m.test(n.writingMode||""),a=!r&&g.test(n.overflowY||""),u=!r&&g.test(n.overflowX||""),f=r?0:y(n.paddingTop),h=r?0:y(n.paddingRight),x=r?0:y(n.paddingBottom),C=r?0:y(n.paddingLeft),k=r?0:y(n.borderTopWidth),E=r?0:y(n.borderRightWidth),_=r?0:y(n.borderBottomWidth),S=C+h,j=f+x,M=(r?0:y(n.borderLeftWidth))+E,O=k+_,A=u?e.offsetHeight-O-e.clientHeight:0,T=a?e.offsetWidth-M-e.clientWidth:0,R=o?S+M:0,L=o?j+O:0,D=r?r.width:y(n.width)-R-T,P=r?r.height:y(n.height)-L-A,I=D+S+T+M,F=P+j+A+O,Z=s({devicePixelContentBoxSize:b(Math.round(D*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:b(I,F,i),contentBoxSize:b(D,P,i),contentRect:new l(C,f,D,P)});return p.set(e,Z),Z},C=function(e,t,n){var o=x(e,n),i=o.borderBoxSize,a=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return s;case r.BORDER_BOX:return i;default:return a}},k=function(e){var t=x(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=s([t.borderBoxSize]),this.contentBoxSize=s([t.contentBoxSize]),this.devicePixelContentBoxSize=s([t.devicePixelContentBoxSize])},E=function(e){if(d(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},_=function(){var e=1/0,t=[];o.forEach((function(n){if(0!==n.activeTargets.length){var r=[];
1n.activeTargets.forEach((function(t){var n=new k(t.target),o=E(t.target);r.push(n),t.lastReportedSize=C(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},S=function(e){o.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(E(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},j=function(){var e=0;for(S(e);o.some((function(e){return e.activeTargets.length>0}));)e=_(),S(e);return o.some((function(e){return e.skippedTargets.length>0}))&&function(){var e;"function"===typeof ErrorEvent?e=new ErrorEvent("error",{message:i}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=i),window.dispatchEvent(e)}(),e>0},M=[],O=function(e){if(!a){var t=0,n=document.createTextNode("");new MutationObserver((function(){return M.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),a=function(){n.textContent="".concat(t?t--:t++)}}M.push(e),a()},A=0,T={attributes:!0,characterData:!0,childList:!0,subtree:!0},R=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],L=function(e){return void 0===e&&(e=0),Date.now()+e},D=!1,P=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),!D){D=!0;var n,r=L(e);n=function(){var n=!1;try{n=j()}finally{if(D=!1,e=r-L(),!A)return;n?t.run(1e3):e>0?t.run(e):t.start()}},O((function(){requestAnimationFrame(n)}))}},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,T)};document.body?t():h.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),R.forEach((function(t){return h.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),R.forEach((function(t){return h.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),I=function(e){!A&&e>0&&P.start(),!(A+=e)&&P.stop()},F=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=C(this.target,this.observedBox,!0);return e=this.target,c(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Z=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},N=new WeakMap,H=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},B=function(){function e(){}return e.connect=function(e,t){var n=new Z(e,t);N.set(e,n)},e.observe=function(e,t,n){var r=N.get(e),i=0===r.observationTargets.length;H(r.observationTargets,t)<0&&(i&&o.push(r),r.observationTargets.push(new F(t,n&&n.box)),I(1),P.schedule())},e.unobserve=function(e,t){var n=N.get(e),r=H(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&o.splice(o.indexOf(n),1),n.observationTargets.splice(r,1),I(-1))},e.disconnect=function(e){var t=this,n=N.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!==typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");B.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!f(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");B.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!f(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");B.unobserve(this,e)},e.prototype.disconnect=function(){B.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},61876:function(e,t,n){"use strict";n.d(t,{xC:function(){return j},PH:function(){return M},oM:function(){return A}});var r=n(12902),o=n(14890);function i(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var a=i();a.withExtraArgument=i;var s=a,u=(n(34155),function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),l=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},c=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},d=Object.defineProperty,f=Object.defineProperties,h=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,v=function(e,t,n){return t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},y=function(e,t){for(var n in t||(t={}))g.call(t,n)&&v(e,n,t[n]);if(p)for(var r=0,o=p(t);r<o.length;r++){n=o[r];m.call(t,n)&&v(e,n,t[n])}return e},b=function(e,t){return f(e,h(t))},w=function(e,t,n){return new Promise((function(r,o){var i=function(e){try{s(n.next(e))}catch(t){o(t)}},a=function(e){try{s(n.throw(e))}catch(t){o(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,a)};s((n=n.apply(e,t)).next())}))},x="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?o.qC:o.qC.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function C(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}var k=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return u(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t}
1,enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,c([void 0],e[0].concat(this)))):new(t.bind.apply(t,c([void 0],e.concat(this))))},t}(Array),E=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return u(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,c([void 0],e[0].concat(this)))):new(t.bind.apply(t,c([void 0],e.concat(this))))},t}(Array);function _(e){return(0,r.o$)(e)?(0,r.ZP)(e,(function(){})):e}function S(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new k);n&&("boolean"===typeof n?r.push(s):r.push(s.withExtraArgument(n.extraArgument)));0;return r}(e)}}function j(e){var t,n=S(),r=e||{},i=r.reducer,a=void 0===i?void 0:i,s=r.middleware,u=void 0===s?n():s,l=r.devTools,d=void 0===l||l,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,g=void 0===p?void 0:p;if("function"===typeof a)t=a;else{if(!C(a))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=(0,o.UY)(a)}var m=u;"function"===typeof m&&(m=m(n));var v=o.md.apply(void 0,m),b=o.qC;d&&(b=x(y({trace:!1},"object"===typeof d&&d)));var w=new E(v),k=w;Array.isArray(g)?k=c([v],g):"function"===typeof g&&(k=g(w));var _=b.apply(void 0,k);return(0,o.MT)(t,h,_)}function M(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return y(y({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function O(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function A(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,o="function"==typeof e.initialState?e.initialState:_(e.initialState),i=e.reducers||{},a=Object.keys(i),s={},u={},l={};function d(){var t="function"===typeof e.extraReducers?O(e.extraReducers):[e.extraReducers],n=t[0],i=void 0===n?{}:n,a=t[1],s=void 0===a?[]:a,l=t[2],d=void 0===l?void 0:l,f=y(y({},i),u);return function(e,t,n,o){void 0===n&&(n=[]);var i,a="function"===typeof t?O(t):[t,n,o],s=a[0],u=a[1],l=a[2];if("function"===typeof e)i=function(){return _(e())};else{var d=_(e);i=function(){return d}}function f(e,t){void 0===e&&(e=i());var n=c([s[t.type]],u.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[l]),n.reduce((function(e,n){if(n){var o;if((0,r.mv)(e))return void 0===(o=n(e,t))?e:o;if((0,r.o$)(e))return(0,r.ZP)(e,(function(e){return n(e,t)}));if(void 0===(o=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return o}return e}),e)}return f.getInitialState=i,f}(o,(function(e){for(var t in f)e.addCase(t,f[t]);for(var n=0,r=s;n<r.length;n++){var o=r[n];e.addMatcher(o.matcher,o.reducer)}d&&e.addDefaultCase(d)}))}return a.forEach((function(e){var n,r,o=i[e],a=t+"/"+e;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,s[e]=n,u[a]=n,l[e]=r?M(a,r):M(a)})),{name:t,reducer:function(e,t){return n||(n=d()),n(e,t)},actions:l,caseReducers:s,getInitialState:function(){return n||(n=d()),n.getInitialState()}}}var T=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},R=["name","message","stack","code"],L=function(e,t){this.payload=e,this.meta=t},D=function(e,t){this.payload=e,this.meta=t},P=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=R;n<r.length;n++){var o=r[n];"string"===typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}};!function(){function e(e,t,n){var r=M(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:b(y({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=M(e+"/pending",(function(e,t,n){return{payload:void 0,meta:b(y({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),i=M(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||P)(e||"Rejected"),meta:b(y({},i||{}),{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),a="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(s,u,c){var d,f=(null==n?void 0:n.idGenerator)?n.idGenerator(e):T(),h=new a;function p(e){d=e,h.abort()}var g=function(){return w(this,null,(function(){var a,g,m,v,y,b;return l(this,(function(l){switch(l.label){case 0:return l.trys.push([0,4,,5]),v=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:u,extra:c}),null===(w=v)||"object"!==typeof w||"function"!==typeof w.then?[3,2]:[4,v];case 1:v=l.sent(),l.label=2;case 2:if(!1===v||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,y=new Promise((function(e,t){return h.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:d||"Aborted"})}))})),s(o(f,e,null==(g=null==n?void 0:n.getPendingMeta)?void 0:g.call(n,{requestId:f,arg:e},{getState:u,extra:c}))),[4,Promise.race([y,Promise.resolve(t(e,{dispatch:s,getState:u,extra:c,requestId:f,signal:h.signal,abort:p,rejectWithValue:function(e,t){return new L(e,t)},fulfillWithValue:function(e,t){return new D(e,t)}})).then((function(t){if(t instanceof L)throw t;return t instanceof D?r(t.payload,f,e,t.meta):r(t,f,e)}))])];case 3:return m=l.sent(),[3,5];case 4:return b=l.sent(),m=b instanceof L?i(null,f,e,b.payload,b.meta):i(b,f,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&i.match(m)&&m.meta.condition||s(m),[2,m]}var w}))}))}();return Object.assign(g,{abort:p,requestId:f,arg:e,unwrap:function(){return g.then(I)}})}}),{pending:o,rejected:i,fulfilled:r,typePrefix:e})}e.withTypes=function(){return e}}();function I(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var F="listenerMiddleware";M(F+"/add"),M(F+"/removeAll"),M(F+"/remove");"function"===typeof queueMicrotask&&queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis);var Z,N=function(e){return function(t){setTimeout(t,e)}};"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:N(10);(0,r.pV)()},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)},r(e)}
1function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function a(e,t,n){return a=i()?Reflect.construct.bind():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},a.apply(null,arguments)}function s(e){var t="function"===typeof Map?new Map:void 0;return s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return a(e,arguments,r(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),o(i,e)},s(e)}n.d(t,{JZ:function(){return P},OT:function(){return D},Rq:function(){return d},aM:function(){return c},pz:function(){return j}});var u=Object.freeze({left:0,top:0,bottom:0,right:0}),l=Object.freeze({x:.5,y:.5,height:1,width:1}),c=function(e){var t=e.top,n=e.bottom,r=e.left,o=e.right,i=u.top,a=u.bottom,s=u.left,l=u.right;return t===i&&n===a&&r===s&&o===l},d=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=l.x,a=l.y,s=l.width,u=l.height;return t===i&&n===a&&r===s&&o===u},f=function(e){var t,n;function r(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 n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n),r}(s(Error));function h(e){var t=e;return Boolean(t.unresolvable&&"input"in t)}function p(e){return function(){try{return e.apply(void 0,arguments)}catch(t){if(h(t))return;throw t}}}var g="https://cdn.sanity.io",m=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,v=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,y=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,b=/^(?: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 w(e){return E(e)&&"string"===typeof e._ref}function x(e){return E(e)&&"string"===typeof e.path}function C(e){return E(e)&&"string"===typeof e.url}function k(e){var t=e;return E(t)&&t.asset&&"object"===typeof t.asset}function E(e){return null!==e&&!Array.isArray(e)&&"object"===typeof e}function _(e){if(y.test(e))return e;if(!e.startsWith(g+"/"))throw new f('Failed to resolve path from URL "'+e+'"');var t=e.indexOf("?"),n=-1===t?void 0:t;return e.slice(g.length+1,n)}function S(e){var t=e.split("-"),n=t[1],r=t[2],o=t[3],i=(r||"").split("x").map(Number),a=i[0],s=i[1];if(!n||!r||!o||!(a>0)||!(s>0))throw new Error("Malformed asset ID '"+e+'\'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".');return{type:"image",assetId:n,width:a,height:s,extension:o}}function j(e){var t=S(M(e)),n=t.width,r=t.height;return{width:n,height:r,aspectRatio:n/r}}function M(e){var t,n=k(e)?e.asset:e,r="";if("string"===typeof n?r=A(n):w(n)?r=n._ref:E(t=n)&&"string"===typeof t._id?r=n._id:x(n)?r=T(g+"/"+n.path):C(n)&&(r=T(n.url)),!(r&&b.test(r)))throw new f(e);return r}var O=p(M);function A(e){if(b.test(e))return e;if(0===e.indexOf(g+"/images")||0===e.indexOf(g+"/files"))return T(e);if(y.test(e))return T(g+"/"+e);if(L(e))return T(g+"/files/a/b/"+e);if(R(e))return T(g+"/images/a/b/"+e);throw new f(e)}function T(e){var t=_(e).split("/"),n=t[0],r=t[3];return n.replace(/s$/,"")+"-"+r.replace(/\./g,"-")}function R(e){return v.test(e)}function L(e){return m.test(e)}function D(e){var t=O(e);return!!t&&t.startsWith("file-")}function P(e){var t=O(e);return!!t&&t.startsWith("image-")}},35706:function(e,t,n){"use strict";n.d(t,{W0:function(){return B}});var r=n(34978),o=n(5014),i=n(65583),a=n(53741),s=n(74727),u=n(93833),l=n(68515),c=n(94975),d=n(29127),f=n(83286),h=n(30743),p=n(22401),g=n(1545),m=n(32817),v=n(40317),y=n(23071),b=n(19917),w=n(53416),x=["presence","listen"],C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},C.apply(this,arguments)},k=(0,w.kP)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-",20);function E(e,t,n){return JSON.stringify({jsonrpc:"2.0",method:e,params:_(t,"v1"),id:n})}function _(e,t){return C(C({},e),{apiVersion:t})}var S=function(e,t){void 0===t&&(t={});var n=t.token$,w=t.getNextRequestId,C=void 0===w?k:w,_=(0,h.u)(e.pipe((0,r.w)((function(e){return(0,p.R)(e,"message")}))),(function(e){return"\u2665"===e.data})),S=_[0],j=_[1],M=j.pipe((0,o.z)((function(e){var t=function(e){try{return[null,JSON.parse(e)]}catch(t){return t instanceof Error?[t]:[new Error("".concat(t))]}}(e.data),n=t[0],r=t[1];return n?(console.warn("Unable to parse message: %s",n.message),g.E):r&&r.jsonrpc?(0,m.of)(r):(console.warn("Received empty or non-jsonrpc message: %s",r),g.E)})),(0,i.B)()),O=n?(0,v.a)([n,e]).pipe((0,a.x)((function(e,t){var n=e[0],r=e[1],o=t[0],i=t[1];return n===o&&r===i})),(0,r.w)((function(e){var t=e[0],n=e[1];return t?A(n,"authorization",{authorization:"Bearer ".concat(t)}).pipe((0,s.q)(1),(0,u.h)(n)):(0,m.of)(n)})),(0,l.d)({refCount:!0,bufferSize:1})):e;function A(e,t,n){void 0===n&&(n={});var r=C();return(0,y.T)(M.pipe((0,c.h)((function(e){return e.id===r})),(0,d.U)((function(e){return e.result}))),(0,b.P)((function(){return e.send(E(t,n,r)),g.E})))}return{heartbeats:(0,y.T)(O,S,j).pipe((0,d.U)((function(){return new Date}))),request:function(e,t){return function(e){return x.includes(e)}(e)?function(e,t){return O.pipe((0,s.q)(1),(0,o.z)((function(n){return A(n,"".concat(e,"_subscribe"),t).pipe((0,s.q)(1),(0,o.z)((function(t){return M.pipe((0,c.h)((function(n){return n.method==="".concat(e,"_subscription")&&n.params.subscription===t})),(0,d.U)((function(e){return e.params.result})),(0,f.x)((function(){n.readyState!==n.CLOSED&&n.readyState!==n.CLOSING&&n.send(E("".concat(e,"_unsubscribe"),{subscriptionId:t},C()))})))})))})))}(e,t):function(e,t){return O.pipe((0,s.q)(1),(0,o.z)((function(n){return A(n,e,t).pipe((0,s.q)(1))})))}(e,t)}}};var j=n(19293),M=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.type=n,i.code=r,i.reason=o,i}return M(t,e),t}(Error);var A=n(87878),T=Array.isArray;function R(e){return 1===e.length&&T(e[0])?e[0]:e}var L=n(2566);function D(e){return function(t){for(var n=[],r=function(r){n.push((0,A.Xf)(e[r]).subscribe((0,L.x)(t,(function(e){if(n){for(var o=0;o<n.length;o++)o!==r&&n[o].unsubscribe();n=null}t.next(e)}))))},o=0;n&&!t.closed&&o<e.length;o++)r(o)}}var P,I=n(6222),F=function(e,t){return function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=R(e)).length?(0,A.Xf)(e[0]):new j.y(D(e))}(n,(0,I.H)(e).pipe((0,o.z)((function(){return t}))))}},Z=n(83505),N=n(83610);!function(e){e[e.BAD_REQUEST=4e3]="BAD_REQUEST",e[e.UNAUTHORIZED=4001]="UNAUTHORIZED",e[e.NOT_FOUND=4004]="NOT_FOUND",e[e.INVALID_REQUEST=-32600]="INVALID_REQUEST",e[e.METHOD_NOT_FOUND=-32601]="METHOD_NOT_FOUND",e[e.INVALID_PARAMS=-32602]="INVALID_PARAMS",e[e.SUBSCRIPTION_NOT_FOUND=-32602]="SUBSCRIPTION_NOT_FOUND",e[e.PARSE_ERROR=-32700]="PARSE_ERROR"}(P||(P={}));var H=function(e){return e};function B(e,t){void 0===t&&(t={});var n,r=t.timeout,o=t.token$,i=(n=function(e,t){return new window.WebSocket(e,t)},function(e){return new j.y((function(t){var r=n(e),o=!1;return r.onopen=function(){t.next(r)},r.onclose=function(e){o?t.complete():t.error(new O("WebSocket connection error","CONNECTION_CLOSED",e.code,e.reason))},r.onerror=function(){t.error(new O("WebSocket connection error","CONNECTION_ERROR"))},function(){o=!0,r.close(1e3,"WebSockets connection closed by client")}}))});return S(i(e).pipe(r?F(r,(0,N._)((function(){return new Error("Timeout after ".concat(r," while establishing WebSockets connection"))}))):H,(0,l.d)({refCount:!0}),(0,Z.R)((0,p.R)(window,"beforeunload"))),{token$:o})}},76590:function(e,t,n){"use strict";n.d(t,{nX:function(){return ve},zW:function(){return ye}});var r=n(85564),o=n.n(r),i=n(4527),a=n(18446),s=n.n(a),u=n(44908),l=n.n(u);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){return!!h(e)&&("children"===e.name&&(!(!h(t=e.type)||"array"!==t.jsonType)&&e.type.of.some(g)));var t}function b(e){return e.type?b(e.type):"block"===e.name}function w(e){var t,n;if(!e)throw new Error("Parameter 'blockContentType' required");const r=e.of.find(b);if(!function(e){if(!h(e))return!1;if(!Array.isArray(e.fields))return!1;const[t,n,r]=e.fields;return y(t)&&m(n)&&v(r)}(r))throw new Error("'block' type is not defined in this schema (required).");const o=null==(n=null==(t=r.fields.find(y))?void 0:t.type)?void 0:n.of;if(!o)throw new Error("No `of` declaration found for blocks `children` field");const i=o.find((e=>"span"===e.name));if(!i)throw new Error("No `span` type found in `block` schema type `children` definition");const a=o.filter((e=>"span"!==e.name&&p(e))),s=e.of.filter((e=>e.name!==r.name&&p(e)));return{styles:x(r),decorators:k(i),annotations:C(i),lists:E(r),types:{block:e,span:i,inlineObjects:a,blockObjects:s}}}function x(e){const t=e.fields.find(m);if(!t)throw new Error("A field with name 'style' is not defined in the block type (required).");const n=_(t.type.options);if(0===n.length)throw new Error("The style fields need at least one style defined. I.e: {title: 'Normal', value: 'normal'}.");return n}function C(e){return e.annotations.map((e=>({title:e.title,type:e,value:e.name,icon:e.icon})))}function k(e){return e.decorators}function E(e){const t=e.fields.find(v);if(!t)throw new Error("A field with name 'list' is not defined in the block type (required).");const n=_(t.type.options);if(!n)throw new Error("The list field need at least to be an empty array");return n}function _(e){const t=e?e.list:void 0;return Array.isArray(t)?t.map((e=>function(e){return"object"===typeof e&&null!==e&&"title"in e&&"value"in e}(e)?e:{title:e,value:e})):[]}const S=Object.prototype.toString;function j(e){switch(S.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}const M=[];for(let be=0;be<256;++be)M[be]=(be+256).toString(16).substring(1);function O(e){return function(){const e=new Uint8Array(arguments.length>0&&void 0!==arguments[0]?arguments[0]:16);return(0,i.Z)(e),e}(e).reduce(((e,t)=>e+M[t]),"").slice(0,e)}const A=["pre","textarea","code"],T="normal",R=Object.freeze({_type:"block",markDefs:[],style:T}),L=Object.freeze({_type:"span",marks:[]}),D={p:R,blockquote:{...R,style:"blockquote"}},P={span:{object:"text"}},I={ol:{object:null},ul:{object:null}},F={h1:{...R,style:"h1"},h2:{...R,style:"h2"},h3:{...R,style:"h3"},h4:{...R,style:"h4"},h5:{...R,style:"h5"},h6:{...R,style:"h6"}},Z={br:{...R,style:T}},N={b:"strong",strong:"strong",i:"em",em:"em",u:"underline",s:"strike-through",strike:"strike-through",del:"strike-through",code:"code",sup:"sup",sub:"sub",ins:"ins",mark:"mark",small:"small"},H={li:{...R,style:T,level:1,listItem:"bullet"}},B={...D,...P,...I,...H,...F,...Z};l()(Object.values(B).filter((e=>"style"in e)).map((e=>e.style))),l()(Object.values(N));const V=3,z=6;const U=["/html/text()","/html/head/text()","/html/body/text()","/html/body/ul/text()","/html/body/ol/text()","//comment()","//style","//xml","//script","//meta","//link"];const W=/(class="?Mso|style=(?:"|')[^"]*?\bmso-|w:WordDocument|<o:\w+>|<\/font>)/,$=["//o:p","//span[@style='mso-list:Ignore']","//span[@style='mso-list: Ignore']"],q=["//p[@class='MsoTocHeading']","//p[@class='MsoTitle']","//p[@class='MsoToaHeading']","//p[@class='MsoSubtitle']","//span[@class='MsoSubtleEmphasis']","//span[@class='MsoIntenseEmphasis']"],G={MsoTocHeading:["h3"],MsoTitle:["h1"],MsoToaHeading:["h2"],MsoSubtitle:["h5"],MsoSubtleEmphasis:["span","em"],MsoIntenseEmphasis:["span","em","strong"]};
1var Y=[(e,t)=>(function e(t){var n,r;if(t.nodeType!==V||A.includes((null==(n=t.parentElement)?void 0:n.tagName.toLowerCase())||""))for(let o=0;o<t.childNodes.length;o++)e(t.childNodes[o]);else t.textContent=(null==(r=t.textContent)?void 0:r.replace(/\s\s+/g," ").replace(/[\r\n]+/g," "))||""}(t.body),t),(e,t)=>{var n;if(!function(e){return W.test(e)}(e))return t;const r=t.evaluate($.join("|"),t,(e=>"o"===e?"urn:schemas-microsoft-com:office:office":null),z,null);for(let i=r.snapshotLength-1;i>=0;i--){const e=r.snapshotItem(i);(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}const o=t.evaluate(q.join("|"),t,null,z,null);for(let i=o.snapshotLength-1;i>=0;i--){const e=o.snapshotItem(i),t=G[e.className],r=new Text(e.textContent||"");if(!t)continue;const a=document.createElement(t[0]);let s=a,u=a;t.slice(1).forEach((e=>{u=document.createElement(e),s.appendChild(u),s=u})),u.appendChild(r),null==(n=null==e?void 0:e.parentNode)||n.replaceChild(a,e)}return t},(e,t)=>{if(t.body.firstElementChild&&function(e){if(1!==e.nodeType)return!1;const t=e.getAttribute("id");return t&&t.match(/^docs-internal-guid-/)&&"B"===e.tagName}(t.body.firstElementChild)){const e=t.evaluate("//*",t,null,z,null);for(let t=e.snapshotLength-1;t>=0;t--){const n=e.snapshotItem(t);null==n||n.setAttribute("data-is-google-docs","true")}return t.body.firstElementChild.replaceWith(...Array.from(t.body.firstElementChild.childNodes)),t}return t},(e,t)=>{var n,r,o;const i=t.evaluate("/html/body/text()",t,null,z,null);for(let s=i.snapshotLength-1;s>=0;s--){const e=i.snapshotItem(s),o=e.textContent||"";if(o.replace(/[^\S\n]+$/g,"")){const r=t.createElement("span");r.appendChild(t.createTextNode(o)),null==(n=e.parentNode)||n.replaceChild(r,e)}else null==(r=e.parentNode)||r.removeChild(e)}const a=t.evaluate(U.join("|"),t,null,z,null);for(let s=a.snapshotLength-1;s>=0;s--){const e=a.snapshotItem(s);e&&(null==(o=e.parentNode)||o.removeChild(e))}return t}];function K(e){if(e&&"tagName"in e)return e.tagName.toLowerCase()}function X(e){return["\xa0"," "].includes(e)}function J(e){return"span"===e._type}function Q(e){return"block"===e._type}function ee(e){return"__decorator"===e._type}function te(e){return"__annotation"===e._type}function ne(e){return 1===e.nodeType}function re(e,t){return[{deserialize(e){if("pre"===K(e))return;const 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||" "!==e.textContent)&&"body"!==K(e.parentNode);return"#text"===e.nodeName&&t?{...L,marks:[],text:(e.textContent||"").replace(/\s\s+/g," ")}:void 0}},{deserialize(e){if("pre"!==K(e))return;const n=t.enabledBlockStyles.includes("code");return{_type:"block",style:"normal",markDefs:[],children:[{...L,marks:n?["code"]:[],text:e.textContent||""}]}}},{deserialize(e,t){if("blockquote"!==K(e))return;const n={...D,...F};delete n.blockquote;const r=[];return e.childNodes.forEach(((t,o)=>{if(1===t.nodeType&&Object.keys(n).includes(t.localName.toLowerCase())){if(!e.ownerDocument)return;const n=e.ownerDocument.createElement("span");n.appendChild(e.ownerDocument.createTextNode("\r")),t.childNodes.forEach((e=>{n.appendChild(e.cloneNode(!0))})),o!==e.childNodes.length&&n.appendChild(e.ownerDocument.createTextNode("\r")),r.push(n)}else r.push(t)})),{_type:"block",style:"blockquote",markDefs:[],children:t(r)}}},{deserialize(e,n){const r={...D,...F},o=K(e);let i=o?r[o]:void 0;if(i)return e.parentNode&&"li"===K(e.parentNode)?n(e.childNodes):(t.enabledBlockStyles.includes(i.style)||(i=R),{...i,children:n(e.childNodes)})}},{deserialize(e,t){const n=K(e);if(n&&n in P)return t(e.childNodes)}},{deserialize(e,t){if("div"===K(e))return t(e.childNodes)}},{deserialize(e,t){const n=K(e);if(n&&n in I)return t(e.childNodes)}},{deserialize(e){if("br"===K(e))return{...L,text:"\n"}}},{deserialize(e,t){const n=K(e),r=n?H[n]:void 0,o=K(e.parentNode)||"";if(r&&e.parentNode&&I[o])return r.listItem=function(e){let t;switch(e){case"ul":default:t="bullet";break;case"ol":t="number"}return t}(o),{...r,children:t(e.childNodes)}}},{deserialize(e,n){const r=N[K(e)||""];if(r&&t.enabledSpanDecorators.includes(r))return{_type:"__decorator",name:r,children:n(e.childNodes)}}},{deserialize(e,n){if("a"!=K(e))return;const r=t.enabledBlockAnnotations.includes("link"),o=ne(e)&&e.getAttribute("href");if(!o)return n(e.childNodes);let i;return r?(i={_key:O(12),_type:"link",href:o},{_type:"__annotation",markDef:i,children:n(e.childNodes)}):e.appendChild(e.ownerDocument.createTextNode(" (".concat(o,")")))&&n(e.childNodes)}}]}const oe=Object.keys(I);function ie(e){return ne(e)&&Boolean(e.getAttribute("data-is-google-docs"))}function ae(e){const t=K(e.parentNode);
1if(!t||oe.includes(t))return"ul"===K(e.parentNode)?"bullet":"number"}function se(e){let t=0;if("li"===K(e)){let n=e.parentNode;for(;n;){const e=K(n);e&&oe.includes(e)&&t++,n=n.parentNode}}else t=1;return t}const ue={...D,...F};function le(e,t){const n=K(e.firstChild),r=n&&ue[n];return r&&t.includes(r.style)?r.style:T}function ce(e,t){return[{deserialize(e){if(ne(e)&&"span"===K(e)&&ie(e)){const t={...L,marks:[],text:e.innerText};return function(e){const t=ne(e)&&e.getAttribute("style");return/font-weight:700/.test(t||"")}(e)&&t.marks.push("strong"),function(e){const t=ne(e)&&e.getAttribute("style");return/font-style:italic/.test(t||"")}(e)&&t.marks.push("em"),t}}},{deserialize(e,n){var r;if("li"===K(e)&&ie(e))return{...R,listItem:ae(e),level:se(e),style:le(e,t.enabledBlockStyles),children:n((null==(r=e.firstChild)?void 0:r.childNodes)||[])}}}]}function de(e){const t=ne(e)&&e.getAttribute("style");if(t&&t.match(/lfo\d+/))return t.match("lfo1")?"bullet":"number"}function fe(e){const t=ne(e)&&e.getAttribute("style");if(!t)return;const n=t.match(/level\d+/);if(!n)return;const[r]=n[0].match(/\d/)||[];return(r?parseInt(r,10):1)||1}function he(){return[{deserialize(e,t){if("p"===K(e)&&function(e){return!(!ne(e)||!e.className)&&("MsoListParagraphCxSpFirst"===e.className||"MsoListParagraphCxSpMiddle"===e.className||"MsoListParagraphCxSpLast"===e.className)}(e))return{...R,listItem:de(e),level:fe(e),style:T,children:t(e.childNodes)}}}]}var pe=Object.defineProperty,ge=(e,t,n)=>(((e,t,n)=>{t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class me{constructor(e){var t=this;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ge(this,"blockContentType"),ge(this,"rules"),ge(this,"parseHtml"),ge(this,"_markDefs",[]),ge(this,"deserialize",(e=>{this._markDefs=[];const{parseHtml:t}=this,n=t(e),r=Array.from(n.childNodes),i=function(e){return e.forEach((e=>{d(e)&&e.children.forEach(((t,n)=>{if(!J(t))return;const r=function(e,t){const n=e.children[t+1];return n&&"span"===n._type?n:null}(e,n),o=function(e,t){const 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&&J(r)&&/\s/.test(r.text.substring(0,1))&&(t.text=t.text.replace(/[^\S\n]+$/g,"")),/\s/.test(t.text.substring(0,1))&&o&&J(o)&&/\s/.test(o.text.substring(o.text.length-1))&&(t.text=t.text.replace(/^[^\S\n]+/g,"")),t.text||e.children.splice(n,1),o&&s()(o.marks,t.marks)&&X(t.text)?(o.text+=" ",e.children.splice(n,1)):r&&s()(r.marks,t.marks)&&X(t.text)&&(r.text=" ".concat(r.text),e.children.splice(n,1))}))})),e}(function(e){let t=0;const n=[],r=e=>{const o=[];e.forEach((e=>{0===t&&n.push(e),d(e)&&(t>0&&(o.push(e),n.push(e)),t++,r(e.children)),"__block"===e._type&&(o.push(e),n.push(e.block))})),o.forEach((t=>{e.splice(e.indexOf(t),1)})),t--};return r(e),n}(function(e){return e.reduce(((e,t,n,r)=>{if("block"===t._type)return e.push(t),e;if("__block"===t._type)return e.push(t.block),e;const o=e[e.length-1];if(n>0&&!d(r[n-1])&&d(o))return o.children.push(t),e;const i={...R,children:[t]};return e.push(i),e}),[])}(this.deserializeElements(r))));this._markDefs.length>0&&i.filter((e=>"block"===e._type)).forEach((e=>{e.markDefs=e.markDefs||[],e.markDefs=e.markDefs.concat(this._markDefs.filter((t=>o()(e.children.map((e=>e.marks||[]))).includes(t._key))))}));const a=this.blockContentType.of.find(b);return a?i.map((e=>("block"===e._type&&(e._type=a.name),e))):i})),ge(this,"deserializeElements",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return e.forEach((e=>{n=n.concat(t.deserializeElement(e))})),n})),ge(this,"deserializeElement",(e=>{var t,n;const r=e=>function(e){return"[object NodeList]"==Object.prototype.toString.call(e)}(e)?this.deserializeElements(Array.from(e)):Array.isArray(e)?this.deserializeElements(e):e?this.deserializeElement(e):void 0,o=e=>({_type:"__block",block:e});let i;for(let a=0;a<this.rules.length;a++){const s=this.rules[a];if(!s.deserialize)continue;const u=s.deserialize(e,r,o),l=j(u);if("array"!==l&&"object"!==l&&"null"!==l&&"undefined"!==l)throw new Error('A rule returned an invali
1d deserialized representation: "'.concat(i,'".'));if(void 0!==u){if(null===u)throw new Error("Deserializer rule returned `null`");if(i=Array.isArray(u)?u:ee(u)?this.deserializeDecorator(u):te(u)?this.deserializeAnnotation(u):u,u&&!Array.isArray(u)&&Q(u)&&"listItem"in u){let r=null==(t=e.parentNode)?void 0:t.parentNode;for(;r&&"li"===K(r);)r=null==(n=r.parentNode)?void 0:n.parentNode,u.level=u.level?u.level+1:1}u&&!Array.isArray(u)&&Q(u)&&"blockquote"===u.style&&u.children.forEach(((e,t)=>{J(e)&&"\r"===e.text&&(e.text="\n\n",0!==t&&t!==u.children.length-1||u.children.splice(t,1))}));break}}return i||r(e.childNodes)||[]})),ge(this,"deserializeDecorator",(e=>{const{name:t}=e,n=e=>{if(ee(e))return this.deserializeDecorator(e);if(J(e))e.marks=e.marks||[],e.text.trim()&&e.marks.unshift(t);else if("children"in e&&Array.isArray(e.children)){const t=e;t.children=t.children.map(n)}return e};return e.children.reduce(((e,t)=>{const r=n(t);return Array.isArray(r)?e.concat(r):(e.push(r),e)}),[])})),ge(this,"deserializeAnnotation",(e=>{const{markDef:t}=e;this._markDefs.push(t);const n=e=>{if(te(e))return this.deserializeAnnotation(e);if(J(e))e.marks=e.marks||[],e.text.trim()&&e.marks.unshift(t._key);else if("children"in e&&Array.isArray(e.children)){const t=e;t.children=t.children.map(n)}return e};return e.children.reduce(((e,t)=>{const r=n(t);return Array.isArray(r)?e.concat(r):(e.push(r),e)}),[])}));const{rules:r=[]}=n;if(!e)throw new Error("Parameter 'blockContentType' is required");const i=function(e,t){return[...he(),...ce(0,t),...re(0,t)]}(0,function(e){const t=w(e);return{enabledBlockStyles:t.styles.map((e=>e.value||e.title)),enabledSpanDecorators:t.decorators.map((e=>e.value||e.title)),enabledBlockAnnotations:t.annotations.map((e=>e.value||e.title||""))}}(e));this.rules=[...r,...i];const a=n.parseHtml||function(){if("undefined"===j(DOMParser))throw new 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=>{const t=function(e,t){const n=t(function(e){return e.trim()}(e));return Y.forEach((t=>{t(e,n)})),n}(e,a);return t.body}}}function ve(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:O(12)};const n={_key:O(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;const o=[],i=!(!t.allowedDecorators||!Array.isArray(t.allowedDecorators))&&t.allowedDecorators;return n.children=n.children.reduce(((e,t)=>{const o=e[e.length-1];return o&&f(t)&&f(o)&&s()(o.marks,t.marks)?(r&&r===t&&""===t.text&&n.children.length>1||(o.text+=t.text),e):(e.push(t),e)}),[]).map(((e,t)=>{if(!e)throw new Error("missing child");return e._key="".concat(n._key).concat(t),f(e)&&(e.marks?i&&(e.marks=e.marks.filter((e=>{var t;const r=i.includes(e),o=null==(t=n.markDefs)?void 0:t.some((t=>t._key===e));return r||o}))):e.marks=[],o.push(...e.marks)),e})),n.markDefs=(n.markDefs||[]).filter((e=>o.includes(e._key))),n}function ye(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=new me(t,n);return r.deserialize(e).map((e=>ve(e)))}},80535:function(e,t,n){"use strict";n.d(t,{UT:function(){return Ss}});var r=n(32932),o=n(85893),i=n(67294),a=n(96486),s=n(11636),u=n(40168),l=n(1150),c=n(79941),d=function(e,t,n,r,o){var i=o.clientWidth,a=o.clientHeight,s="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(o.getBoundingClientRect().left+window.pageXOffset),c=u-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var d=void 0;if(d=c<0?0:c>a?1:Math.round(100*c/a)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var f=void 0;if(r!==(f=l<0?0:l>i?1:Math.round(100*l/i)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null},f={},h=function(e,t,n,r){var o=e+"-"+t+"-"+n+(r?"-server":"");
1if(f[o])return f[o];var i=function(e,t,n,r){if("undefined"===typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}(e,t,n,r);return f[o]=i,i},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},g=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=e.borderRadius,s=e.boxShadow,u=e.children,l=(0,c.default)({default:{grid:{borderRadius:a,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+h(t,n,r,o.canvas)+") center left"}}});return(0,i.isValidElement)(u)?i.cloneElement(u,p({},u.props,{style:p({},u.props.style,l.grid)})):i.createElement("div",{style:l.grid})};g.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var m=g,v=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},y=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var x=function(e){function t(){var e,n,r;b(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=w(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=d(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},w(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),y(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,c.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:v({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i.createElement("div",{style:n.alpha},i.createElement("div",{style:n.checkboard},i.createElement(m,{renderers:this.props.renderers})),i.createElement("div",{style:n.gradient}),i.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.createElement("div",{style:n.pointer},this.props.pointer?i.createElement(this.props.pointer,this.props):i.createElement("div",{style:n.slider}))))}}]),t}(i.PureComponent||i.Component),C=x,k=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var E=[38,40],_=1,S=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(t=e.keyCode,E.indexOf(t)>-1)){var o=n.getArrowOffset(),i=38===e.keyCode?r+o:r-o;n.setUpdatedValue(i,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n.inputId="rc-editable-input-"+_++,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),k(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,c.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return i.createElement("div",{style:t.wrap},i.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?i.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(i.PureComponent||i.Component),j=function(e,t,n,r){var o=r.clientWidth,i=r.clientHeight,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,u=a-(r.getBoundingClientRect().left+window.pageXOffset),l=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var c=void 0;if(l<0)c=359;else if(l>i)c=0;else{c=360*(-100*l/i+100)/100}if(n.h!==c)return{h:c,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var d=void 0;if(u<0)d=0;else if(u>o)d=359;else{d=360*(100*u/o)/100}if(n.h!==d)return{h:d,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null},M=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var T=function(e){function t(){var e,n,r;O(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=A(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=j(e,r.props.direction,r.props.hsl,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},A(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),M(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,c.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return i.createElement("div",{style:r.hue},i.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),i.createElement("div",{style:r.pointer},this.props.pointer?i.createElement(this.props.pointer,this.props):i.createElement("div",{style:r.slider}))))}}]),t}(i.PureComponent||i.Component),R=T,L=n(45697),D=n.n(L);var P=function(){this.__data__=[],this.size=0};var I=function(e,t){return e===t||e!==e&&t!==t};var F=function(e,t){for(var n=e.length;n--;)if(I(e[n][0],t))return n;return-1},Z=Array.prototype.splice;var N=function(e){var t=this.__data__,n=F(t,e);return!(n<0)&&(n==t.length-1?t.pop():Z.call(t,n,1),--this.size,!0)};var H=function(e){var t=this.__data__,n=F(t,e);return n<0?void 0:t[n][1]};var B=function(e){return F(this.__data__,e)>-1};var V=function(e,t){var n=this.__data__,r=F(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}z.prototype.clear=P,z.prototype.delete=N,z.prototype.get=H,z.prototype.has=B,z.prototype.set=V;var U=z;var W=function(){this.__data__=new U,this.size=0};var $=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var q=function(e){return this.__data__.get(e)};var G=function(e){return this.__data__.has(e)},Y="object"==typeof global&&global&&global.Object===Object&&global,K="object"==typeof self&&self&&self.Object===Object&&self,X=Y||K||Function("return this")(),J=X.Symbol,Q=Object.prototype,ee=Q.hasOwnProperty,te=Q.toString,ne=J?J.toStringTag:void 0;var re=function(e){var t=ee.call(e,ne),n=e[ne];try{e[ne]=void 0;var r=!0}catch(i){}var o=te.call(e);return r&&(t?e[ne]=n:delete e[ne]),o},oe=Object.prototype.toString;var ie=function(e){return oe.call(e)},ae=J?J.toStringTag:void 0;var se=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ae&&ae in Object(e)?re(e):ie(e)};var ue=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var le=function(e){if(!ue(e))return!1;var t=se(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ce=X["__core-js_shared__"],de=function(){var e=/[^.]+$/.exec(ce&&ce.keys&&ce.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var fe=function(e){return!!de&&de in e},he=Function.prototype.toString;var pe=function(e){if(null!=e){try{return he.call(e)}catch(t){}try{return e+""}catch(t){}}return""},ge=/^\[object .+?Constructor\]$/,me=Function.prototype,ve=Object.prototype,ye=me.toString,be=ve.hasOwnProperty,we=Reg
vendor: 4,169 bytes, line 1
1Exp("^"+ye.call(be).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var xe=function(e){return!(!ue(e)||fe(e))&&(le(e)?we:ge).test(pe(e))};var Ce=function(e,t){return null==e?void 0:e[t]};var ke=function(e,t){var n=Ce(e,t);return xe(n)?n:void 0},Ee=ke(X,"Map"),_e=ke(Object,"create");var Se=function(){this.__data__=_e?_e(null):{},this.size=0};var je=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Me=Object.prototype.hasOwnProperty;var Oe=function(e){var t=this.__data__;if(_e){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Me.call(t,e)?t[e]:void 0},Ae=Object.prototype.hasOwnProperty;var Te=function(e){var t=this.__data__;return _e?void 0!==t[e]:Ae.call(t,e)};var Re=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_e&&void 0===t?"__lodash_hash_undefined__":t,this};function Le(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Le.prototype.clear=Se,Le.prototype.delete=je,Le.prototype.get=Oe,Le.prototype.has=Te,Le.prototype.set=Re;var De=Le;var Pe=function(){this.size=0,this.__data__={hash:new De,map:new(Ee||U),string:new De}};var Ie=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Fe=function(e,t){var n=e.__data__;return Ie(t)?n["string"==typeof t?"string":"hash"]:n.map};var Ze=function(e){var t=Fe(this,e).delete(e);return this.size-=t?1:0,t};var Ne=function(e){return Fe(this,e).get(e)};var He=function(e){return Fe(this,e).has(e)};var Be=function(e,t){var n=Fe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function Ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ve.prototype.clear=Pe,Ve.prototype.delete=Ze,Ve.prototype.get=Ne,Ve.prototype.has=He,Ve.prototype.set=Be;var ze=Ve;var Ue=function(e,t){var n=this.__data__;if(n instanceof U){var r=n.__data__;if(!Ee||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ze(r)}return n.set(e,t),this.size=n.size,this};function We(e){var t=this.__data__=new U(e);this.size=t.size}We.prototype.clear=W,We.prototype.delete=$,We.prototype.get=q,We.prototype.has=G,We.prototype.set=Ue;var $e=We,qe=function(){try{var e=ke(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();var Ge=function(e,t,n){"__proto__"==t&&qe?qe(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var Ye=function(e,t,n){(void 0!==n&&!I(e[t],n)||void 0===n&&!(t in e))&&Ge(e,t,n)};var Ke=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}(),Xe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Je=Xe&&"object"==typeof module&&module&&!module.nodeType&&module,Qe=Je&&Je.exports===Xe?X.Buffer:void 0,et=Qe?Qe.allocUnsafe:void 0;var tt=function(e,t){if(t)return e.slice();var n=e.length,r=et?et(n):new e.constructor(n);return e.copy(r),r},nt=X.Uint8Array;var rt=function(e){var t=new e.constructor(e.byteLength);return new nt(t).set(new nt(e)),t};var ot=function(e,t){var n=t?rt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var it=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},at=Object.create,st=function(){function e(){}return function(t){if(!ue(t))return{};if(at)return at(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var ut=function(e,t){return function(n){return e(t(n))}},lt=ut(Object.getPrototypeOf,Object),ct=Object.prototype;var dt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ct)};var ft=function(e){return"function"!=typeof e.constructor||dt(e)?{}:st(lt(e))};var ht=function(e){return null!=e&&"object"==typeof e};var pt=function(e){return ht(e)&&"[object Arguments]"==se(e)},gt=Object.prototype,mt=gt.hasOwnProperty,vt=gt.propertyIsEnumerable,yt=pt(function(){return arguments}())?pt:function(e){return ht(e)&&mt.call(e,"callee")&&!vt.call(e,"callee")},bt=yt,wt=Array.isArray;var xt=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};
1var Ct=function(e){return null!=e&&xt(e.length)&&!le(e)};var kt=function(e){return ht(e)&&Ct(e)};var Et=function(){return!1},_t="object"==typeof exports&&exports&&!exports.nodeType&&exports,St=_t&&"object"==typeof module&&module&&!module.nodeType&&module,jt=St&&St.exports===_t?X.Buffer:void 0,Mt=(jt?jt.isBuffer:void 0)||Et,Ot=Function.prototype,At=Object.prototype,Tt=Ot.toString,Rt=At.hasOwnProperty,Lt=Tt.call(Object);var Dt=function(e){if(!ht(e)||"[object Object]"!=se(e))return!1;var t=lt(e);if(null===t)return!0;var n=Rt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Tt.call(n)==Lt},Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;var It=function(e){return ht(e)&&xt(e.length)&&!!Pt[se(e)]};var Ft=function(e){return function(t){return e(t)}},Zt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Nt=Zt&&"object"==typeof module&&module&&!module.nodeType&&module,Ht=Nt&&Nt.exports===Zt&&Y.process,Bt=function(){try{var e=Nt&&Nt.require&&Nt.require("util").types;return e||Ht&&Ht.binding&&Ht.binding("util")}catch(t){}}(),Vt=Bt&&Bt.isTypedArray,zt=Vt?Ft(Vt):It;var Ut=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]},Wt=Object.prototype.hasOwnProperty;var $t=function(e,t,n){var r=e[t];Wt.call(e,t)&&I(r,n)&&(void 0!==n||t in e)||Ge(e,t,n)};var qt=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?Ge(n,s,u):$t(n,s,u)}return n};var Gt=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},Yt=/^(?:0|[1-9]\d*)$/;var Kt=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Yt.test(e))&&e>-1&&e%1==0&&e<t},Xt=Object.prototype.hasOwnProperty;var Jt=function(e,t){var n=wt(e),r=!n&&bt(e),o=!n&&!r&&Mt(e),i=!n&&!r&&!o&&zt(e),a=n||r||o||i,s=a?Gt(e.length,String):[],u=s.length;for(var l in e)!t&&!Xt.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Kt(l,u))||s.push(l);return s};var Qt=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},en=Object.prototype.hasOwnProperty;var tn=function(e){if(!ue(e))return Qt(e);var t=dt(e),n=[];for(var r in e)("constructor"!=r||!t&&en.call(e,r))&&n.push(r);return n};var nn=function(e){return Ct(e)?Jt(e,!0):tn(e)};var rn=function(e){return qt(e,nn(e))};var on=function(e,t,n,r,o,i,a){var s=Ut(e,n),u=Ut(t,n),l=a.get(u);if(l)Ye(e,n,l);else{var c=i?i(s,u,n+"",e,t,a):void 0,d=void 0===c;if(d){var f=wt(u),h=!f&&Mt(u),p=!f&&!h&&zt(u);c=u,f||h||p?wt(s)?c=s:kt(s)?c=it(s):h?(d=!1,c=tt(u,!0)):p?(d=!1,c=ot(u,!0)):c=[]:Dt(u)||bt(u)?(c=s,bt(s)?c=rn(s):ue(s)&&!le(s)||(c=ft(u))):d=!1}d&&(a.set(u,c),o(c,u,r,i,a),a.delete(u)),Ye(e,n,c)}};var an=function e(t,n,r,o,i){t!==n&&Ke(n,(function(a,s){if(i||(i=new $e),ue(a))on(t,n,s,r,e,o,i);else{var u=o?o(Ut(t,s),a,s+"",t,n,i):void 0;void 0===u&&(u=a),Ye(t,s,u)}}),nn)};var sn=function(e){return e};var un=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)},ln=Math.max;var cn=function(e,t,n){return t=ln(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=ln(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),un(e,this,s)}};var dn=function(e){return function(){return e}},fn=qe?function(e,t){return qe(e,"toString",{configurable:!0,enumerable:!1,value:dn(t),writable:!0})}:sn,hn=Date.now;var pn=function(e){var t=0,n=0;return function(){var r=hn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},gn=pn(fn);var mn=function(e,t){return gn(cn(e,t,sn),e+"")};var vn=function(e,t,n){if(!ue(n))return!1;var r=typeof t;return!!("number"==r?Ct(n)&&Kt(t,n.length):"string"==r&&t in n)&&I(n[t],e)};var yn=function(e){return mn((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&vn(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))}((function(e,t,n){an(e,t,n)})),bn=function(e){var t=e.zDepth,n=e.radius,r=e.background,o=e.children,a=e.styles,s=void 0===a?{}:a,u=(0,c.default)(yn({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:r}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":1===t});return i.createElement("div",{style:u.wrap},i.createElement("div",{style:u.bg}),i.createElement("div",{style:u.content},o))};bn.propTypes={background:D().string,zDepth:D().oneOf([0,1,2,3,4,5]),radius:D().number,styles:D().object},bn.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var wn=bn,xn=function(){return X.Date.now()},Cn=/\s/;var kn=function(e){for(var t=e.length;t--&&Cn.test(e.charAt(t)););return t},En=/^\s+/;var _n=function(e){return e?e.slice(0,kn(e)+1).replace(En,""):e};var Sn=function(e){return"symbol"==typeof e||ht(e)&&"[object Symbol]"==se(e)},jn=/^[-+]0x[0-9a-f]+$/i,Mn=/^0b[01]+$/i,On=/^0o[0-7]+$/i,An=parseInt;var Tn=function(e){if("number"==typeof e)return e;if(Sn(e))return NaN;if(ue(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ue(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=_n(e);var n=Mn.test(e);return n||On.test(e)?An(e.slice(2),n?2:8):jn.test(e)?NaN:+e},Rn=Math.max,Ln=Math.min;var Dn=function(e,t,n){var r,o,i,a,s,u,l=0,c=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function p(e){return l=e,s=setTimeout(m,t),c?h(e):a}function g(e){var n=e-u;return void 0===u||n>=t||n<0||d&&e-l>=i}function m(){var e=xn();if(g(e))return v(e);s=setTimeout(m,function(e){var n=t-(e-u);return d?Ln(n,i-(e-l)):n}(e))}function v(e){return s=void 0,f&&r?h(e):(r=o=void 0,a)}function y(){var e=xn(),n=g(e);if(r=arguments,o=this,u=e,n){if(void 0===s)return p(u);if(d)return clearTimeout(s),s=setTimeout(m,t),h(u)}return void 0===s&&(s=setTimeout(m,t)),a}return t=Tn(t)||0,ue(n)&&(c=!!n.leading,i=(d="maxWait"in n)?Rn(T
1n(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f),y.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=u=o=s=void 0},y.flush=function(){return void 0===s?a:v(xn())},y};var Pn=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return ue(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Dn(e,t,{leading:r,maxWait:t,trailing:o})},In=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Fn=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e){"function"===typeof n.props.onChange&&n.throttle(n.props.onChange,function(e,t,n){var r=n.getBoundingClientRect(),o=r.width,i=r.height,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,u=a-(n.getBoundingClientRect().left+window.pageXOffset),l=s-(n.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>o&&(u=o),l<0?l=0:l>i&&(l=i);var c=u/o,d=1-l/i;return{h:t.h,s:c,v:d,a:t.a,source:"hsv"}}(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=Pn((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),In(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,o=t.black,a=t.pointer,s=t.circle,u=(0,c.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:o,pointer:a,circle:s}},{custom:!!this.props.style});return i.createElement("div",{style:u.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),i.createElement("div",{style:u.white,className:"saturation-white"},i.createElement("div",{style:u.black,className:"saturation-black"}),i.createElement("div",{style:u.pointer},this.props.pointer?i.createElement(this.props.pointer,this.props):i.createElement("div",{style:u.circle}))))}}]),t}(i.PureComponent||i.Component),Zn=Fn;var Nn=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},Hn=ut(Object.keys,Object),Bn=Object.prototype.hasOwnProperty;
vendor: 4,992 bytes, line 1
1var Vn=function(e){if(!dt(e))return Hn(e);var t=[];for(var n in Object(e))Bn.call(e,n)&&"constructor"!=n&&t.push(n);return t};var zn=function(e){return Ct(e)?Jt(e):Vn(e)};var Un=function(e,t){return function(n,r){if(null==n)return n;if(!Ct(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}((function(e,t){return e&&Ke(e,t,zn)}));var Wn=function(e){return"function"==typeof e?e:sn};var $n=function(e,t){return(wt(e)?Nn:Un)(e,Wn(t))};function qn(e){return qn="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},qn(e)}var Gn=/^\s+/,Yn=/\s+$/;function Kn(e,t){if(t=t||{},(e=e||"")instanceof Kn)return e;if(!(this instanceof Kn))return new Kn(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(Gn,"").replace(Yn,"").toLowerCase();var t,n=!1;if(hr[e])e=hr[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=kr.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=kr.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=kr.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=kr.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=kr.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=kr.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=kr.hex8.exec(e))return{r:yr(t[1]),g:yr(t[2]),b:yr(t[3]),a:Cr(t[4]),format:n?"name":"hex8"};if(t=kr.hex6.exec(e))return{r:yr(t[1]),g:yr(t[2]),b:yr(t[3]),format:n?"name":"hex"};if(t=kr.hex4.exec(e))return{r:yr(t[1]+""+t[1]),g:yr(t[2]+""+t[2]),b:yr(t[3]+""+t[3]),a:Cr(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=kr.hex3.exec(e))return{r:yr(t[1]+""+t[1]),g:yr(t[2]+""+t[2]),b:yr(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==qn(e)&&(Er(e.r)&&Er(e.g)&&Er(e.b)?(t=function(e,t,n){return{r:255*mr(e,255),g:255*mr(t,255),b:255*mr(n,255)}}(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Er(e.h)&&Er(e.s)&&Er(e.v)?(r=wr(e.s),o=wr(e.v),t=function(e,t,n){e=6*mr(e,360),t=mr(t,100),n=mr(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),u=r%6;return{r:255*[n,a,i,i,s,n][u],g:255*[s,n,n,a,i,i][u],b:255*[i,i,s,n,n,a][u]}}(e.h,r,o),a=!0,s="hsv"):Er(e.h)&&Er(e.s)&&Er(e.l)&&(r=wr(e.s),i=wr(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=mr(e,360),t=mr(t,100),n=mr(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;r=a(u,s,e+1/3),o=a(u,s,e),i=a(u,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a));return n=gr(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function Xn(e,t,n){e=mr(e,255),t=mr(t,255),n=mr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var u=i-a;switch(o=s>.5?u/(2-i-a):u/(i+a),i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,l:s}}function Jn(e,t,n){e=mr(e,255),t=mr(t,255),n=mr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i,u=i-a;if(o=0===i?0:u/i,i==a)r=0;else{switch(i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,v:s}}function Qn(e,t,n,r){var o=[br(Math.round(e).toString(16)),br(Math.round(t).toString(16)),br(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function er(e,t,n,r){return[br(xr(r)),br(Math.round(e).toString(16)),br(Math.round(t).toString(16)),br(Math.round(n).toString(16))].join("")}function tr(e,t){t=0===t?0:t||10;var n=Kn(e).toHsl();return n.s-=t/100,n.s=vr(n.s),Kn(n)}function nr(e,t){t=0===t?0:t||10;var n=Kn(e).toHsl();return n.s+=t/100,n.s=vr(n.s),Kn(n)}function rr(e){return Kn(e).desaturate(100)}function or(e,t){t=0===t?0:t||10;var n=Kn(e).toHsl();return n.l+=t/100,n.l=vr(n.l),Kn(n)}function ir(e,t){t=0===t?0:t||10;var n=Kn(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),Kn(n)}function ar(e,t){t=0===t?0:t||10;var n=Kn(e).toHsl();return n.l-=t/100,n.l=vr(n.l),Kn(n)}function sr(e,t){var n=Kn(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,Kn(n)}function ur(e){var t=Kn(e).toHsl();return t.h=(t.h+180)%360,Kn(t)}function lr(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");
vendor: 6,420 bytes, line 1
1for(var n=Kn(e).toHsl(),r=[Kn(e)],o=360/t,i=1;i<t;i++)r.push(Kn({h:(n.h+i*o)%360,s:n.s,l:n.l}));return r}function cr(e){var t=Kn(e).toHsl(),n=t.h;return[Kn(e),Kn({h:(n+72)%360,s:t.s,l:t.l}),Kn({h:(n+216)%360,s:t.s,l:t.l})]}function dr(e,t,n){t=t||6,n=n||30;var r=Kn(e).toHsl(),o=360/n,i=[Kn(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(Kn(r));return i}function fr(e,t){t=t||6;for(var n=Kn(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(Kn({h:r,s:o,v:i})),i=(i+s)%1;return a}Kn.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=gr(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Jn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Jn(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=Xn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Xn(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return Qn(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[br(Math.round(e).toString(16)),br(Math.round(t).toString(16)),br(Math.round(n).toString(16)),br(xr(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*mr(this._r,255))+"%",g:Math.round(100*mr(this._g,255))+"%",b:Math.round(100*mr(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*mr(this._r,255))+"%, "+Math.round(100*mr(this._g,255))+"%, "+Math.round(100*mr(this._b,255))+"%)":"rgba("+Math.round(100*mr(this._r,255))+"%, "+Math.round(100*mr(this._g,255))+"%, "+Math.round(100*mr(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(pr[Qn(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+er(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=Kn(e);n="#"+er(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Kn(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(or,arguments)},brighten:function(){return this._applyModification(ir,arguments)},darken:function(){return this._applyModification(ar,arguments)},desaturate:function(){return this._applyModification(tr,arguments)},saturate:function(){return this._applyModification(nr,arguments)},greyscale:function(){return this._applyModification(rr,arguments)},spin:function(){return this._applyModification(sr,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(dr,arguments)},complement:function(){return this._applyCombination(ur,arguments)},monochromatic:function(){return this._applyCombination(fr,arguments)},splitcomplement:function(){return this._applyCombination(cr,arguments)},triad:function(){return this._applyCombination(lr,[3])},tetrad:function(){return this._applyCombination(lr,[4])}},Kn.fromRatio=function(e,t){if("object"==qn(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:wr(e[r]));e=n}return Kn(e,t)},Kn.equals=function(e,t){return!(!e||!t)&&Kn(e).toRgbString()==Kn(t).toRgbString()},Kn.random=function(){return Kn.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Kn.mix=function(e,t,n){n=0===n?0:n||50;var r=Kn(e).toRgb(),o=Kn(t).toRgb(),i=n/100;return Kn({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},Kn.readability=function(e,t){var n=Kn(e),r=Kn(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},Kn.isReadable=function(e,t,n){var r,o,i=Kn.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},Kn.mostReadable=function(e,t,n){var r,o,i,a,s=null,u=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;
vendor: 1,589 bytes, line 1
1for(var l=0;l<t.length;l++)(r=Kn.readability(e,t[l]))>u&&(u=r,s=Kn(t[l]));return Kn.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,Kn.mostReadable(e,["#fff","#000"],n))};var hr=Kn.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
10",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},pr=Kn.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(hr);function gr(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function mr(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function vr(e){return Math.min(1,Math.max(0,e))}function yr(e){return parseInt(e,16)}function br(e){return 1==e.length?"0"+e:""+e}function wr(e){return e<=1&&(e=100*e+"%"),e}function xr(e){return Math.round(255*parseFloat(e)).toString(16)}function Cr(e){return yr(e)/255}var kr=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"
1+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Er(e){return!!kr.CSS_UNIT.exec(e)}var _r=function(e){var t=0,n=0;return $n(["r","g","b","a","h","s","l","v"],(function(r){if(e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)){/^\d+%$/.test(e[r])&&(n+=1)}})),t===n&&e},Sr=function(e,t){var n=e.hex?Kn(e.hex):Kn(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}},jr=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Kn(e).isValid()},Mr=function(e){if(!e)return"#fff";var t=Sr(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},Or=function(e,t){return Kn(t+" ("+e.replace("\xb0","")+")")._ok},Ar=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},Tr=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Rr=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(_r(e)){var r=Sr(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(_r(e)){var r=Sr(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=Ar({},Sr(e.color,0)),t.debounce=Dn((function(e,t,n){e(t,n)}),100),t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),Tr(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),i.createElement(e,Ar({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return Ar({},Sr(e.color,t.oldHue))}}]),n}(i.PureComponent||i.Component);return t.propTypes=Ar({},e.propTypes),t.defaultProps=Ar({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t},Lr=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},Dr=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Pr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Fr(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Zr=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},Nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var e,t,n;Pr(this,r);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=n=Ir(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(i))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},Ir(n,t)}return Fr(r,n),Dr(r,[{key:"render",value:function(){return i.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},i.createElement(e,Lr({},this.props,this.state)))}}]),r}(i.Component)}((function(e){var t=e.color,n=e.style,r=e.onClick,o=void 0===r?function(){}:r,a=e.onHover,s=e.title,u=void 0===s?t:s,l=e.children,d=e.focus,f=e.focusStyle,h=void 0===f?{}
1:f,p="transparent"===t,g=(0,c.default)({default:{swatch:Zr({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?h:{})}}),v={};return a&&(v.onMouseOver=function(e){return a(t,e)}),i.createElement("div",Zr({style:g.swatch,onClick:function(e){return o(t,e)},title:u,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&o(t,e)}},v),l,p&&i.createElement(m,{borderRadius:g.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))})),Hr=function(e){var t=e.direction,n=(0,c.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.createElement("div",{style:n.picker})},Br=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},Vr=function(e){var t=e.rgb,n=e.hsl,r=e.width,o=e.height,a=e.onChange,s=e.direction,u=e.style,l=e.renderers,d=e.pointer,f=e.className,h=void 0===f?"":f,p=(0,c.default)({default:{picker:{position:"relative",width:r,height:o},alpha:{radius:"2px",style:u}}});return i.createElement("div",{style:p.picker,className:"alpha-picker "+h},i.createElement(C,Br({},p.alpha,{rgb:t,hsl:n,pointer:d,renderers:l,onChange:a,direction:s})))};Vr.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:Hr};Rr(Vr);var zr=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};var Ur=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var Wr=function(e){return this.__data__.has(e)};function $r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ze;++t<n;)this.add(e[t])}$r.prototype.add=$r.prototype.push=Ur,$r.prototype.has=Wr;var qr=$r;var Gr=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var Yr=function(e,t){return e.has(t)};var Kr=function(e,t,n,r,o,i){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=i.get(e),c=i.get(t);if(l&&c)return l==t&&c==e;var d=-1,f=!0,h=2&n?new qr:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var p=e[d],g=t[d];if(r)var m=a?r(g,p,d,t,e,i):r(p,g,d,e,t,i);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!Gr(t,(function(e,t){if(!Yr(h,t)&&(p===e||o(p,e,n,r,i)))return h.push(t)}))){f=!1;break}}else if(p!==g&&!o(p,g,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f};var Xr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var Jr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Qr=J?J.prototype:void 0,eo=Qr?Qr.valueOf:void 0;var to=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new nt(e),new nt(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return I(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Xr;case"[object Set]":var u=1&r;if(s||(s=Jr),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;r|=2,a.set(e,t);var c=Kr(s(e),s(t),r,o,i,a);return a.delete(e),c;case"[object Symbol]":if(eo)return eo.call(e)==eo.call(t)}return!1};var no=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e};var ro=function(e,t,n){var r=t(e);return wt(e)?r:no(r,n(e))};var oo=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};var io=function(){return[]},ao=Object.prototype.propertyIsEnumerable,so=Object.getOwnPropertySymbols,uo=so?function(e){return null==e?[]:(e=Object(e),oo(so(e),(function(t){return ao.call(e,t)})))}:io;var lo=function(e){return ro(e,zn,uo)},co=Object.prototype.hasOwnProperty;var fo=function(e,t,n,r,o,i){var a=1&n,s=lo(e),u=s.length;if(u!=lo(t).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in t:co.call(t,c)))return!1}var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;var h=!0;i.set(e,t),i.set(t,e);for(var p=a;++l<u;){var g=e[c=s[l]],m=t[c];if(r)var v=a?r(m,g,c,t,e,i):r(g,m,c,e,t,i);if(!(void 0===v?g===m||o(g,m,n,r,i):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(h=!1)}return i.delete(e),i.delete(t),h},ho=ke(X,"DataView"),po=ke(X,"Promise"),go=ke(X,"Set"),mo=ke(X,"WeakMap"),vo="[object Map]",yo="[object Promise]",bo="[object Set]",wo="[object WeakMap]",xo="[object DataView]",Co=pe(ho),ko=pe(Ee),Eo=pe(po),_o=pe(go),So=pe(mo),jo=se;(ho&&jo(new ho(new ArrayBuffer(1)))!=xo||Ee&&jo(new Ee)!=vo||po&&jo(po.resolve())!=yo||go&&jo(new go)!=bo||mo&&jo(new mo)!=wo)&&(jo=function(e){var t=se(e),n="[object Object]"==t?e.constructor:void 0,r=n?pe(n):"";if(r)switch(r){case Co:return xo;case ko:return vo;case Eo:return yo;case _o:return bo;case So:return wo}return t});var Mo=jo,Oo="[object Arguments]",Ao="[object Array]",To="[object Object]",Ro=Object.prototype.hasOwnProperty;var Lo=function(e,t,n,r,o,i){var a=wt(e),s=wt(t),u=a?Ao:Mo(e),l=s?Ao:Mo(t),c=(u=u==Oo?To:u)==To,d=(l=l==Oo?To:l)==To,f=u==l;if(f&&Mt(e)){if(!Mt(t))return!1;a=!0,c=!1}
1if(f&&!c)return i||(i=new $e),a||zt(e)?Kr(e,t,n,r,o,i):to(e,t,u,n,r,o,i);if(!(1&n)){var h=c&&Ro.call(e,"__wrapped__"),p=d&&Ro.call(t,"__wrapped__");if(h||p){var g=h?e.value():e,m=p?t.value():t;return i||(i=new $e),o(g,m,n,r,i)}}return!!f&&(i||(i=new $e),fo(e,t,n,r,o,i))};var Do=function e(t,n,r,o,i){return t===n||(null==t||null==n||!ht(t)&&!ht(n)?t!==t&&n!==n:Lo(t,n,r,o,e,i))};var Po=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var u=(s=n[o])[0],l=e[u],c=s[1];if(a&&s[2]){if(void 0===l&&!(u in e))return!1}else{var d=new $e;if(r)var f=r(l,c,u,e,t,d);if(!(void 0===f?Do(c,l,3,r,d):f))return!1}}return!0};var Io=function(e){return e===e&&!ue(e)};var Fo=function(e){for(var t=zn(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Io(o)]}return t};var Zo=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};var No=function(e){var t=Fo(e);return 1==t.length&&t[0][2]?Zo(t[0][0],t[0][1]):function(n){return n===e||Po(n,e,t)}},Ho=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Bo=/^\w*$/;var Vo=function(e,t){if(wt(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Sn(e))||(Bo.test(e)||!Ho.test(e)||null!=t&&e in Object(t))};function zo(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(zo.Cache||ze),n}zo.Cache=ze;var Uo=zo;var Wo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$o=/\\(\\)?/g,qo=function(e){var t=Uo(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Wo,(function(e,n,r,o){t.push(r?o.replace($o,"$1"):n||e)})),t})),Go=J?J.prototype:void 0,Yo=Go?Go.toString:void 0;var Ko=function e(t){if("string"==typeof t)return t;if(wt(t))return zr(t,e)+"";if(Sn(t))return Yo?Yo.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n};var Xo=function(e){return null==e?"":Ko(e)};var Jo=function(e,t){return wt(e)?e:Vo(e,t)?[e]:qo(Xo(e))};var Qo=function(e){if("string"==typeof e||Sn(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var ei=function(e,t){for(var n=0,r=(t=Jo(t,e)).length;null!=e&&n<r;)e=e[Qo(t[n++])];return n&&n==r?e:void 0};var ti=function(e,t,n){var r=null==e?void 0:ei(e,t);return void 0===r?n:r};var ni=function(e,t){return null!=e&&t in Object(e)};var ri=function(e,t,n){for(var r=-1,o=(t=Jo(t,e)).length,i=!1;++r<o;){var a=Qo(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&xt(o)&&Kt(a,o)&&(wt(e)||bt(e))};var oi=function(e,t){return null!=e&&ri(e,t,ni)};var ii=function(e,t){return Vo(e)&&Io(t)?Zo(Qo(e),t):function(n){var r=ti(n,e);return void 0===r&&r===t?oi(n,e):Do(t,r,3)}};var ai=function(e){return function(t){return null==t?void 0:t[e]}};var si=function(e){return function(t){return ei(t,e)}};var ui=function(e){return Vo(e)?ai(Qo(e)):si(e)};var li=function(e){return"function"==typeof e?e:null==e?sn:"object"==typeof e?wt(e)?ii(e[0],e[1]):No(e):ui(e)};var ci=function(e,t){var n=-1,r=Ct(e)?Array(e.length):[];return Un(e,(function(e,o,i){r[++n]=t(e,o,i)})),r};var di=function(e,t){return(wt(e)?zr:ci)(e,li(t,3))},fi=function(e){var t=e.colors,n=e.onClick,r=e.onSwatchHover,o=(0,c.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return i.createElement("div",{style:o.swatches},di(t,(function(e){return i.createElement(Nr,{key:e,color:e,style:o.swatch,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),i.createElement("div",{style:o.clear}))},hi=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,s=e.triangle,u=e.styles,l=void 0===u?{}:u,d=e.className,f=void 0===d?"":d,h="transparent"===r,p=function(e,n){
1jr(e)&&t({hex:e,source:"hex"},n)},g=(0,c.default)(yn({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:r,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:Mr(r),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+r+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},l),{"hide-triangle":"hide"===s});return i.createElement("div",{style:g.card,className:"block-picker "+f},i.createElement("div",{style:g.triangle}),i.createElement("div",{style:g.head},h&&i.createElement(m,{borderRadius:"6px 6px 0 0"}),i.createElement("div",{style:g.label},r)),i.createElement("div",{style:g.body},i.createElement(fi,{colors:o,onClick:p,onSwatchHover:n}),i.createElement(S,{style:{input:g.input},value:r,onChange:p})))};hi.propTypes={width:D().oneOfType([D().string,D().number]),colors:D().arrayOf(D().string),triangle:D().oneOf(["top","hide"]),styles:D().object},hi.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}};Rr(hi);var pi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},gi={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},mi={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},vi={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},yi={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},bi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},wi={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},xi={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},Ci={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},ki={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},Ei={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},_i={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Si={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},ji={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Mi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},Oi={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"}
1,Ai={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Ti={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},Ri=function(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,o=e.hover,a=e.active,s=e.circleSize,u=e.circleSpacing,l=(0,c.default)({default:{swatch:{width:s,height:s,marginRight:u,marginBottom:u,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:o,active:a});return i.createElement("div",{style:l.swatch},i.createElement(Nr,{style:l.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:l.Swatch.boxShadow+", 0 0 5px "+t}}))};Ri.defaultProps={circleSize:28,circleSpacing:14};var Li=(0,c.handleHover)(Ri),Di=function(e){var t=e.width,n=e.onChange,r=e.onSwatchHover,o=e.colors,a=e.hex,s=e.circleSize,u=e.styles,l=void 0===u?{}:u,d=e.circleSpacing,f=e.className,h=void 0===f?"":f,p=(0,c.default)(yn({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-d,marginBottom:-d}}},l)),g=function(e,t){return n({hex:e,source:"hex"},t)};return i.createElement("div",{style:p.card,className:"circle-picker "+h},di(o,(function(e){return i.createElement(Li,{key:e,color:e,onClick:g,onSwatchHover:r,active:a===e.toLowerCase(),circleSize:s,circleSpacing:d})})))};Di.propTypes={width:D().oneOfType([D().string,D().number]),circleSize:D().number,circleSpacing:D().number,styles:D().object},Di.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[pi[500],gi[500],mi[500],vi[500],yi[500],bi[500],wi[500],xi[500],Ci[500],ki[500],Ei[500],_i[500],Si[500],ji[500],Mi[500],Oi[500],Ai[500],Ti[500]],styles:{}};Rr(Di);var Pi=function(e){return void 0===e},Ii=n(43891),Fi=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Zi=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?jr(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"===typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"===typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(Pi(e.s)?n.props.hsl.s:e.s),l:Number(Pi(e.l)?n.props.hsl.l:e.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Fi(t,[{key:"render",value:function(){var e=this,t=(0,c.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=i.createElement("div",{style:t.fields,className:"flexbox-fix"},i.createElement("div",{style:t.field},i.createElement(S,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}
1))):"rgb"===this.state.view?n=i.createElement("div",{style:t.fields,className:"flexbox-fix"},i.createElement("div",{style:t.field},i.createElement(S,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),i.createElement("div",{style:t.field},i.createElement(S,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),i.createElement("div",{style:t.field},i.createElement(S,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),i.createElement("div",{style:t.alpha},i.createElement(S,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=i.createElement("div",{style:t.fields,className:"flexbox-fix"},i.createElement("div",{style:t.field},i.createElement(S,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),i.createElement("div",{style:t.field},i.createElement(S,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),i.createElement("div",{style:t.field},i.createElement(S,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),i.createElement("div",{style:t.alpha},i.createElement(S,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),i.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,i.createElement("div",{style:t.toggle},i.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},i.createElement(Ii.Z,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(i.Component);Zi.defaultProps={view:"hex"};var Ni=Zi,Hi=function(){var e=(0,c.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.createElement("div",{style:e.picker})},Bi=function(){var e=(0,c.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return i.createElement("div",{style:e.picker})},Vi=function(e){var t=e.width,n=e.onChange,r=e.disableAlpha,o=e.rgb,a=e.hsl,s=e.hsv,u=e.hex,l=e.renderers,d=e.styles,f=void 0===d?{}:d,h=e.className,p=void 0===h?"":h,g=e.defaultView,v=(0,c.default)(yn({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+o.r+", "+o.g+", "+o.b+", "+o.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},f),{disableAlpha:r});return i.createElement("div",{style:v.picker,className:"chrome-picker "+p},i.createElement("div",{style:v.saturation},i.createElement(Zn,{style:v.Saturation,hsl:a,hsv:s,pointer:Bi,onChange:n})),i.createElement("div",{style:v.body},i.createElement("div",{style:v.controls,className:"flexbox-fix"},i.createElement("div",{style:v.color},i.createElement("div",{style:v.swatch},i.createElement("div",{style:v.active}),i.createElement(m,{renderers:l}))),i.createElement("div",{style:v.toggles},i.createElement("div",{style:v.hue},i.createElement(R,{style:v.Hue,hsl:a,pointer:Hi,onChange:n})),i.createElement("div",{style:v.alpha},i.createElement(C,{style:v.Alpha,rgb:o,hsl:a,pointer:Hi,renderers:l,onChange:n})))),i.createElement(Ni,{rgb:o,hsl:a,hex:u,view:g,onChange:n,disableAlpha:r})))};Vi.propTypes={width:D().oneOfType([D().string,D().number]),disableAlpha:D().bool,styles:D().object,defaultView:D().oneOf(["hex","rgb","hsl"])},Vi.defaultProps={width:225,disableAlpha:!1,styles:{}};Rr(Vi);var zi=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.active,s=(0,c.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",curs
1or:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Mr(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.createElement(Nr,{style:s.color,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.createElement("div",{style:s.dot}))},Ui=function(e){var t=e.hex,n=e.rgb,r=e.onChange,o=(0,c.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?r({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):r({hex:e.hex,source:"hex"},t)};return i.createElement("div",{style:o.fields,className:"flexbox-fix"},i.createElement("div",{style:o.active}),i.createElement(S,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:t,onChange:a}),i.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:n.r,onChange:a}),i.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:n.g,onChange:a}),i.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:n.b,onChange:a}))},Wi=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.colors,o=e.hex,a=e.rgb,s=e.styles,u=void 0===s?{}:s,l=e.className,d=void 0===l?"":l,f=(0,c.default)(yn({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},u)),h=function(e,n){e.hex?jr(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return i.createElement(wn,{style:f.Compact,styles:u},i.createElement("div",{style:f.compact,className:"compact-picker "+d},i.createElement("div",null,di(r,(function(e){return i.createElement(zi,{key:e,color:e,active:e.toLowerCase()===o,onClick:h,onSwatchHover:n})})),i.createElement("div",{style:f.clear})),i.createElement(Ui,{hex:o,rgb:a,onChange:h})))};Wi.propTypes={colors:D().arrayOf(D().string),styles:D().object},Wi.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};Rr(Wi);var $i=(0,c.handleHover)((function(e){var t=e.hover,n=e.color,r=e.onClick,o=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,c.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:t});return i.createElement("div",{style:s.swatch},i.createElement(Nr,{color:n,onClick:r,onHover:o,focusStyle:a}))})),qi=function(e){var t=e.width,n=e.colors,r=e.onChange,o=e.onSwatchHover,a=e.triangle,s=e.styles,u=void 0===s?{}:s,l=e.className,d=void 0===l?"":l,f=(0,c.default)(yn({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},u),{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-left-triangle":"bottom-left"===a,"bottom-right-triangle":"bottom-right"===a}),h=function(e,t){return r({hex:e,source:"hex"},t)};return i.createElement("div",{style:f.card,className:"github-picker "+d},i.createElement("div",{style:f.triangleShadow}),i.createElement("div",{style:f.triangle}),di(n,(function(e){return i.createElement($i,{color:e,key:e,onClick:h,onSwatchHover:o})})))};qi.propTypes={width:D().oneOfType([D().string,D().number]),colors:D().arrayOf(D().string),triangle:D().oneOf(["hide","to
1p-left","top-right","bottom-left","bottom-right"]),styles:D().object},qi.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};Rr(qi);var Gi=function(e){var t=e.direction,n=(0,c.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.createElement("div",{style:n.picker})},Yi=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},Ki=function(e){var t=e.width,n=e.height,r=e.onChange,o=e.hsl,a=e.direction,s=e.pointer,u=e.styles,l=void 0===u?{}:u,d=e.className,f=void 0===d?"":d,h=(0,c.default)(yn({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},l));return i.createElement("div",{style:h.picker,className:"hue-picker "+f},i.createElement(R,Yi({},h.hue,{hsl:o,pointer:s,onChange:function(e){return r({a:1,h:e.h,l:.5,s:1})},direction:a})))};Ki.propTypes={styles:D().object},Ki.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:Gi,styles:{}};Rr(Ki),Rr((function(e){var t=e.onChange,n=e.hex,r=e.rgb,o=e.styles,a=void 0===o?{}:o,s=e.className,u=void 0===s?"":s,l=(0,c.default)(yn({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},a)),d=function(e,n){e.hex?jr(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n)};return i.createElement(wn,{styles:a},i.createElement("div",{style:l.material,className:"material-picker "+u},i.createElement(S,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"hex",value:n,onChange:d}),i.createElement("div",{style:l.split,className:"flexbox-fix"},i.createElement("div",{style:l.third},i.createElement(S,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:r.r,onChange:d})),i.createElement("div",{style:l.third},i.createElement(S,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:r.g,onChange:d})),i.createElement("div",{style:l.third},i.createElement(S,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:r.b,onChange:d})))))}));var Xi=function(e){var t=e.onChange,n=e.rgb,r=e.hsv,o=e.hex,a=(0,c.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,o){e["#"]?jr(e["#"])&&t({hex:e["#"],source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},o):(e.h||e.s||e.v)&&t({h:e.h||r.h,s:e.s||r.s,v:e.v||r.v,source:"hsv"},o)};return i.createElement("div",{style:a.fields}
1,i.createElement(S,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(r.h),onChange:s}),i.createElement(S,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*r.s),onChange:s}),i.createElement(S,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(100*r.v),onChange:s}),i.createElement("div",{style:a.divider}),i.createElement(S,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:s}),i.createElement(S,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:s}),i.createElement(S,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:s}),i.createElement("div",{style:a.divider}),i.createElement(S,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:o.replace("#",""),onChange:s}),i.createElement("div",{style:a.fieldSymbols},i.createElement("div",{style:a.symbol},"\xb0"),i.createElement("div",{style:a.symbol},"%"),i.createElement("div",{style:a.symbol},"%")))},Ji=function(e){var t=e.hsl,n=(0,c.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return i.createElement("div",{style:n.picker})},Qi=function(){var e=(0,c.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return i.createElement("div",{style:e.pointer},i.createElement("div",{style:e.left},i.createElement("div",{style:e.leftInside})),i.createElement("div",{style:e.right},i.createElement("div",{style:e.rightInside})))},ea=function(e){var t=e.onClick,n=e.label,r=e.children,o=e.active,a=(0,c.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return i.createElement("div",{style:a.button,onClick:t},n||r)},ta=function(e){var t=e.rgb,n=e.currentColor,r=(0,c.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i.createElement("div",null,i.createElement("div",{style:r.label},"new"),i.createElement("div",{style:r.swatches},i.createElement("div",{style:r.new}),i.createElement("div",{style:r.current})),i.createElement("div",{style:r.label},"current"))},na=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var ra=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:e.hex},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),na(t,[{key:"render",value:function(){var e=this.props,t=e.styles,n=void 0===t?{}:t,r=e.className,o=void 0===r?"":r,a=(0,c.default)(yn({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px s
1olid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return i.createElement("div",{style:a.picker,className:"photoshop-picker "+o},i.createElement("div",{style:a.head},this.props.header),i.createElement("div",{style:a.body,className:"flexbox-fix"},i.createElement("div",{style:a.saturation},i.createElement(Zn,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Ji,onChange:this.props.onChange})),i.createElement("div",{style:a.hue},i.createElement(R,{direction:"vertical",hsl:this.props.hsl,pointer:Qi,onChange:this.props.onChange})),i.createElement("div",{style:a.controls},i.createElement("div",{style:a.top,className:"flexbox-fix"},i.createElement("div",{style:a.previews},i.createElement(ta,{rgb:this.props.rgb,currentColor:this.state.currentColor})),i.createElement("div",{style:a.actions},i.createElement(ea,{label:"OK",onClick:this.props.onAccept,active:!0}),i.createElement(ea,{label:"Cancel",onClick:this.props.onCancel}),i.createElement(Xi,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(i.Component);ra.propTypes={header:D().string,styles:D().object},ra.defaultProps={header:"Color Picker",styles:{}};Rr(ra);var oa=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,o=e.hex,a=e.disableAlpha,s=(0,c.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),u=function(e,o){e.hex?jr(e.hex)&&t({hex:e.hex,source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},o):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},o))};return i.createElement("div",{style:s.fields,className:"flexbox-fix"},i.createElement("div",{style:s.double},i.createElement(S,{style:{input:s.input,label:s.label},label:"hex",value:o.replace("#",""),onChange:u})),i.createElement("div",{style:s.single},i.createElement(S,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:u,dragLabel:"true",dragMax:"255"})),i.createElement("div",{style:s.single},i.createElement(S,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:u,dragLabel:"true",dragMax:"255"})),i.createElement("div",{style:s.single},i.createElement(S,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:u,dragLabel:"true",dragMax:"255"})),i.createElement("div",{style:s.alpha},i.createElement(S,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*n.a),onChange:u,dragLabel:"true",dragMax:"100"})))},ia=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},aa=function(e){var t=e.colors,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=(0,c.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),s=function(e,t){r({hex:e,source:"hex"},t)};return i.createElement("div",{style:a.colors,className:"flexbox-fix"},t.map((function(e){var t="string"===typeof e?{color:e}:e,n=""+t.color+(t.title||"");return i.createElement("div",{key:n,style:a.swatchWrap},i.createElement(Nr,ia({},t,{style:a.swatch,onClick:s,onHover:o,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};aa.propTypes={colors:D().arrayOf(D().oneOfType([D().string,D().shape({color:D().string,title:D().string})])).isRequired};var sa=aa,ua=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},la=function(e){var t=e.width,n=e.rgb,r=e.hex,o=e.hsv,a=e.hsl,s=e.onCh
1ange,u=e.onSwatchHover,l=e.disableAlpha,d=e.presetColors,f=e.renderers,h=e.styles,p=void 0===h?{}:h,g=e.className,v=void 0===g?"":g,y=(0,c.default)(yn({default:ua({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},p),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},p),{disableAlpha:l});return i.createElement("div",{style:y.picker,className:"sketch-picker "+v},i.createElement("div",{style:y.saturation},i.createElement(Zn,{style:y.Saturation,hsl:a,hsv:o,onChange:s})),i.createElement("div",{style:y.controls,className:"flexbox-fix"},i.createElement("div",{style:y.sliders},i.createElement("div",{style:y.hue},i.createElement(R,{style:y.Hue,hsl:a,onChange:s})),i.createElement("div",{style:y.alpha},i.createElement(C,{style:y.Alpha,rgb:n,hsl:a,renderers:f,onChange:s}))),i.createElement("div",{style:y.color},i.createElement(m,null),i.createElement("div",{style:y.activeColor}))),i.createElement(oa,{rgb:n,hsl:a,hex:r,onChange:s,disableAlpha:l}),i.createElement(sa,{colors:d,onClick:s,onSwatchHover:u}))};la.propTypes={disableAlpha:D().bool,width:D().oneOfType([D().string,D().number]),styles:D().object},la.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};
1Rr(la);var ca=function(e){var t=e.hsl,n=e.offset,r=e.onClick,o=void 0===r?function(){}:r,a=e.active,s=e.first,u=e.last,l=(0,c.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:s,last:u});return i.createElement("div",{style:l.swatch,onClick:function(e){return o({h:t.h,s:.5,l:n,source:"hsl"},e)}})},da=function(e){var t=e.onClick,n=e.hsl,r=(0,c.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),o=.1;return i.createElement("div",{style:r.swatches},i.createElement("div",{style:r.swatch},i.createElement(ca,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<o&&Math.abs(n.s-.5)<o,onClick:t,first:!0})),i.createElement("div",{style:r.swatch},i.createElement(ca,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<o&&Math.abs(n.s-.5)<o,onClick:t})),i.createElement("div",{style:r.swatch},i.createElement(ca,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<o&&Math.abs(n.s-.5)<o,onClick:t})),i.createElement("div",{style:r.swatch},i.createElement(ca,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<o&&Math.abs(n.s-.5)<o,onClick:t})),i.createElement("div",{style:r.swatch},i.createElement(ca,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<o&&Math.abs(n.s-.5)<o,onClick:t,last:!0})),i.createElement("div",{style:r.clear}))},fa=function(){var e=(0,c.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.createElement("div",{style:e.picker})},ha=function(e){var t=e.hsl,n=e.onChange,r=e.pointer,o=e.styles,a=void 0===o?{}:o,s=e.className,u=void 0===s?"":s,l=(0,c.default)(yn({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},a));return i.createElement("div",{style:l.wrap||{},className:"slider-picker "+u},i.createElement("div",{style:l.hue},i.createElement(R,{style:l.Hue,hsl:t,pointer:r,onChange:n})),i.createElement("div",{style:l.swatches},i.createElement(da,{hsl:t,onClick:n})))};ha.propTypes={styles:D().object},ha.defaultProps={pointer:fa,styles:{}};Rr(ha);var pa=n(70597),ga=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.first,s=e.last,u=e.active,l=(0,c.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:Mr(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:s,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.createElement(Nr,{color:t,style:l.color,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.createElement("div",{style:l.check},i.createElement(pa.Z,null)))},ma=function(e){var t=e.onClick,n=e.onSwatchHover,r=e.group,o=e.active,a=(0,c.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return i.createElement("div",{style:a.group},di(r,(function(e,a){return i.createElement(ga,{key:e,color:e,active:e.toLowerCase()===o,first:0===a,last:a===r.length-1,onClick:t,onSwatchHover:n})})))},va=function(e){var t=e.width,n=e.height,r=e.onChange,o=e.onSwatchHover,a=e.colors,s=e.hex,u=e.styles,l=void 0===u?{}:u,d=e.className,f=void 0===d?"":d,h=(0,c.default)(yn({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},l)),p=function(e,t){return r({hex:e,source:"hex"},t)};return i.createElement("div",{style:h.picker,className:"swatches-picker "+f},i.createElement(wn,null,i.createElement("div",{style:h.overflow},i.createElement("div",{style:h.body},di(a,(function(e){return i.createElement(ma,{key:e.toString(),group:e,active:s,onClick:p,onSwatchHover:o})})),i.createElement("div",{style:h.clear})))))};va.propTypes={width:D().oneOfType([D().string,D().number]),height:D().oneOfType([D().string,D().number]),colors:D().arrayOf(D().arrayOf(D().string)),styles:D().object},va.defaultProps={width:320,height:240,colors:[[pi[900],pi[700],pi[500],pi[300],pi[100]],[gi[900],gi[700],gi[500],gi[300],gi[100]],[mi[900],mi[700],mi[500],mi[300],mi[100]],[vi[900],vi[700],vi[500],vi[300],vi[100]],[yi[900],yi[700],yi[500],yi[300],yi[100]],[bi[900],bi[700],bi[500],bi[300],bi[100]],[wi[900],wi[700],wi[500],wi[300],wi[100]],[xi[900],xi[700],xi[500],xi[300],xi[100]],[Ci[900],Ci[700],Ci[500],Ci[300],Ci[100]],["#194D33",ki[700],ki[500],ki[300],ki[100]],[Ei[900],Ei[700],Ei[500],Ei[300],Ei[100]],[_i[900],_i[700],_i[500],_i[300],_i[100]],[Si[900],Si[700],Si[500],Si[300],Si[100]],[ji[900],ji[700],ji[500],ji[300],ji[100]],[Mi[900],Mi[700],Mi[500],Mi[300],Mi[100]],[Oi[900],Oi[700],Oi[500],Oi[300],Oi[100]],[Ai[900],Ai[700],Ai[500],Ai[300],Ai[100]],[Ti[900],Ti[700],Ti[500],Ti[300],Ti[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};Rr(va);var ya=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,s=e.triangle,u=e.styles,l=void 0===u?{}:u,d=e.className,f=void 0===d?"":d,h=(0,c.default)(yn({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",dis
1play:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},l),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s}),p=function(e,n){jr(e)&&t({hex:e,source:"hex"},n)};return i.createElement("div",{style:h.card,className:"twitter-picker "+f},i.createElement("div",{style:h.triangleShadow}),i.createElement("div",{style:h.triangle}),i.createElement("div",{style:h.body},di(o,(function(e,t){return i.createElement(Nr,{key:t,color:e,hex:e,style:h.swatch,onClick:p,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),i.createElement("div",{style:h.hash},"#"),i.createElement(S,{label:null,style:{input:h.input},value:r.replace("#",""),onChange:p}),i.createElement("div",{style:h.clear})))};ya.propTypes={width:D().oneOfType([D().string,D().number]),triangle:D().oneOf(["hide","top-left","top-right"]),colors:D().arrayOf(D().string),styles:D().object},ya.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};Rr(ya);var ba=function(e){var t=(0,c.default)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return i.createElement("div",{style:t.picker})};ba.propTypes={hsl:D().shape({h:D().number,s:D().number,l:D().number,a:D().number})},ba.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var wa=ba,xa=function(e){var t=(0,c.default)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return i.createElement("div",{style:t.picker})};xa.propTypes={hsl:D().shape({h:D().number,s:D().number,l:D().number,a:D().number})},xa.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};
1var Ca=xa,ka=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,o=e.hex,a=e.hsv,s=function(e,n){if(e.hex)jr(e.hex)&&t({hex:e.hex,source:"hex"},n);else if(e.rgb){var r=e.rgb.split(",");Or(e.rgb,"rgb")&&t({r:r[0],g:r[1],b:r[2],a:1,source:"rgb"},n)}else if(e.hsv){var o=e.hsv.split(",");Or(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("\xb0",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},n))}else if(e.hsl){var i=e.hsl.split(",");Or(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("\xb0",""),1==f[1]?f[1]=.01:1==f[2]&&(f[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},n))}},u=(0,c.default)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),l=n.r+", "+n.g+", "+n.b,d=Math.round(r.h)+"\xb0, "+Math.round(100*r.s)+"%, "+Math.round(100*r.l)+"%",f=Math.round(a.h)+"\xb0, "+Math.round(100*a.s)+"%, "+Math.round(100*a.v)+"%";return i.createElement("div",{style:u.wrap,className:"flexbox-fix"},i.createElement("div",{style:u.fields},i.createElement("div",{style:u.double},i.createElement(S,{style:{input:u.input,label:u.label},label:"hex",value:o,onChange:s})),i.createElement("div",{style:u.column},i.createElement("div",{style:u.single},i.createElement(S,{style:{input:u.input2,label:u.label2},label:"rgb",value:l,onChange:s})),i.createElement("div",{style:u.single},i.createElement(S,{style:{input:u.input2,label:u.label2},label:"hsv",value:f,onChange:s})),i.createElement("div",{style:u.single},i.createElement(S,{style:{input:u.input2,label:u.label2},label:"hsl",value:d,onChange:s})))))},Ea=function(e){var t=e.width,n=e.onChange,r=e.rgb,o=e.hsl,a=e.hsv,s=e.hex,u=e.header,l=e.styles,d=void 0===l?{}:l,f=e.className,h=void 0===f?"":f,p=(0,c.default)(yn({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+r.r+", "+r.g+", "+r.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},d));return i.createElement("div",{style:p.picker,className:"google-picker "+h},i.createElement("div",{style:p.head},u),i.createElement("div",{style:p.swatch}),i.createElement("div",{style:p.saturation},i.createElement(Zn,{hsl:o,hsv:a,pointer:wa,onChange:n})),i.createElement("div",{style:p.body},i.createElement("div",{style:p.controls,className:"flexbox-fix"},i.createElement("div",{style:p.hue},i.createElement(R,{style:p.Hue,hsl:o,radius:"4px",pointer:Ca,onChange:n}
1))),i.createElement(ka,{rgb:r,hsl:o,hex:s,hsv:a,onChange:n})))};Ea.propTypes={width:D().oneOfType([D().string,D().number]),styles:D().object,header:D().string},Ea.defaultProps={width:652,styles:{},header:"Color picker"};Rr(Ea);var _a,Sa,ja,Ma,Oa,Aa=n(14141),Ta=n(64809);function Ra(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const La=(0,r.feb)({title:"Hue Saturation Lightness",name:"hslaColor",type:"object",fields:[{name:"h",type:"number",title:"Hue"},{name:"s",type:"number",title:"Saturation"},{name:"l",type:"number",title:"Lightness"},{name:"a",type:"number",title:"Alpha"}]}),Da=(0,r.feb)({title:"Red Green Blue (rgb)",name:"rgbaColor",type:"object",fields:[{name:"r",type:"number",title:"Red"},{name:"g",type:"number",title:"Green"},{name:"b",type:"number",title:"Blue"},{name:"a",type:"number",title:"Alpha"}]}),Pa=e=>{let{onChange:t,rgb:n,hsl:r,hex:a,disableAlpha:u}=e;var c;const{sanity:d}=(0,s.Fg)(),f=(0,i.useMemo)((()=>({input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px ".concat(d.color.input.default.enabled.border),color:d.color.input.default.enabled.fg,backgroundColor:d.color.input.default.enabled.bg,fontSize:d.fonts.text.sizes[0].fontSize,textAlign:"center"},label:{display:"block",textAlign:"center",fontSize:d.fonts.label.sizes[0].fontSize,color:d.color.base.fg,paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}})),[d]),h=(0,i.useCallback)((e=>{if("hex"in e&&e.hex&&(0,Ta.isValidHex)(e.hex))t({hex:e.hex,source:"hex"});else if(n&&("r"in e&&e.r||"g"in e&&e.g||"b"in e&&e.b))t({r:Number(e.r)||n.r,g:Number(e.g)||n.g,b:Number(e.b)||n.b,a:n.a,source:"rgb"});else if(r&&"a"in e&&e.a){let n=Number(e.a);n<0?n=0:n>100&&(n=100),n/=100,t({h:r.h,s:r.s,l:r.l,a:n,source:"hsl"})}}),[t,r,n]);return(0,o.jsxs)(s.kC,{children:[(0,o.jsx)(s.xu,{flex:2,marginRight:1,children:(0,o.jsx)(l.Vm,{style:f,label:"hex",value:null==a?void 0:a.replace("#",""),onChange:h})}),(0,o.jsx)(s.xu,{flex:1,marginRight:1,children:(0,o.jsx)(l.Vm,{style:f,label:"r",value:null==n?void 0:n.r,onChange:h,dragLabel:!0,dragMax:255})}),(0,o.jsx)(s.xu,{flex:1,marginRight:1,children:(0,o.jsx)(l.Vm,{style:f,label:"g",value:null==n?void 0:n.g,onChange:h,dragLabel:!0,dragMax:255})}),(0,o.jsx)(s.xu,{flex:1,marginRight:1,children:(0,o.jsx)(l.Vm,{style:f,label:"b",value:null==n?void 0:n.b,onChange:h,dragLabel:!0,dragMax:255})}),!u&&(0,o.jsx)(s.xu,{flex:1,children:(0,o.jsx)(l.Vm,{style:f,label:"a",value:Math.round(100*(null!=(c=null==n?void 0:n.a)?c:1)),onChange:h,dragLabel:!0,dragMax:100})})]})};function Ia(e){return Ia="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},Ia(e)}var Fa=/^\s+/,Za=/\s+$/;function Na(e,t){if(t=t||{},(e=e||"")instanceof Na)return e;if(!(this instanceof Na))return new Na(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(Fa,"").replace(Za,"").toLowerCase();var t,n=!1;if(ns[e])e=ns[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=fs.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=fs.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=fs.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=fs.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=fs.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=fs.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=fs.hex8.exec(e))return{r:ss(t[1]),g:ss(t[2]),b:ss(t[3]),a:ds(t[4]),format:n?"name":"hex8"};if(t=fs.hex6.exec(e))return{r:ss(t[1]),g:ss(t[2]),b:ss(t[3]),format:n?"name":"hex"};if(t=fs.hex4.exec(e))return{r:ss(t[1]+""+t[1]),g:ss(t[2]+""+t[2]),b:ss(t[3]+""+t[3]),a:ds(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=fs.hex3.exec(e))return{r:ss(t[1]+""+t[1]),g:ss(t[2]+""+t[2]),b:ss(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==Ia(e)&&(hs(e.r)&&hs(e.g)&&hs(e.b)?(t=function(e,t,n){return{r:255*is(e,255),g:255*is(t,255),b:255*is(n,255)}}(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):
vendor: 3,187 bytes, line 1
1hs(e.h)&&hs(e.s)&&hs(e.v)?(r=ls(e.s),o=ls(e.v),t=function(e,t,n){e=6*is(e,360),t=is(t,100),n=is(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),u=r%6;return{r:255*[n,a,i,i,s,n][u],g:255*[s,n,n,a,i,i][u],b:255*[i,i,s,n,n,a][u]}}(e.h,r,o),a=!0,s="hsv"):hs(e.h)&&hs(e.s)&&hs(e.l)&&(r=ls(e.s),i=ls(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=is(e,360),t=is(t,100),n=is(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;r=a(u,s,e+1/3),o=a(u,s,e),i=a(u,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a));return n=os(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function Ha(e,t,n){e=is(e,255),t=is(t,255),n=is(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var u=i-a;switch(o=s>.5?u/(2-i-a):u/(i+a),i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,l:s}}function Ba(e,t,n){e=is(e,255),t=is(t,255),n=is(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i,u=i-a;if(o=0===i?0:u/i,i==a)r=0;else{switch(i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,v:s}}function Va(e,t,n,r){var o=[us(Math.round(e).toString(16)),us(Math.round(t).toString(16)),us(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function za(e,t,n,r){return[us(cs(r)),us(Math.round(e).toString(16)),us(Math.round(t).toString(16)),us(Math.round(n).toString(16))].join("")}function Ua(e,t){t=0===t?0:t||10;var n=Na(e).toHsl();return n.s-=t/100,n.s=as(n.s),Na(n)}function Wa(e,t){t=0===t?0:t||10;var n=Na(e).toHsl();return n.s+=t/100,n.s=as(n.s),Na(n)}function $a(e){return Na(e).desaturate(100)}function qa(e,t){t=0===t?0:t||10;var n=Na(e).toHsl();return n.l+=t/100,n.l=as(n.l),Na(n)}function Ga(e,t){t=0===t?0:t||10;var n=Na(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),Na(n)}function Ya(e,t){t=0===t?0:t||10;var n=Na(e).toHsl();return n.l-=t/100,n.l=as(n.l),Na(n)}function Ka(e,t){var n=Na(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,Na(n)}function Xa(e){var t=Na(e).toHsl();return t.h=(t.h+180)%360,Na(t)}function Ja(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=Na(e).toHsl(),r=[Na(e)],o=360/t,i=1;i<t;i++)r.push(Na({h:(n.h+i*o)%360,s:n.s,l:n.l}));return r}function Qa(e){var t=Na(e).toHsl(),n=t.h;return[Na(e),Na({h:(n+72)%360,s:t.s,l:t.l}),Na({h:(n+216)%360,s:t.s,l:t.l})]}
vendor: 6,197 bytes, line 1
1function es(e,t,n){t=t||6,n=n||30;var r=Na(e).toHsl(),o=360/n,i=[Na(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(Na(r));return i}function ts(e,t){t=t||6;for(var n=Na(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(Na({h:r,s:o,v:i})),i=(i+s)%1;return a}Na.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=os(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Ba(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Ba(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=Ha(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Ha(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return Va(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[us(Math.round(e).toString(16)),us(Math.round(t).toString(16)),us(Math.round(n).toString(16)),us(cs(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*is(this._r,255))+"%",g:Math.round(100*is(this._g,255))+"%",b:Math.round(100*is(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*is(this._r,255))+"%, "+Math.round(100*is(this._g,255))+"%, "+Math.round(100*is(this._b,255))+"%)":"rgba("+Math.round(100*is(this._r,255))+"%, "+Math.round(100*is(this._g,255))+"%, "+Math.round(100*is(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(rs[Va(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+za(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=Na(e);n="#"+za(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Na(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(qa,arguments)},brighten:function(){return this._applyModification(Ga,arguments)},darken:function(){return this._applyModification(Ya,arguments)},desaturate:function(){return this._applyModification(Ua,arguments)},saturate:function(){return this._applyModification(Wa,arguments)},greyscale:function(){return this._applyModification($a,arguments)},spin:function(){return this._applyModification(Ka,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(es,arguments)},complement:function(){return this._applyCombination(Xa,arguments)},monochromatic:function(){return this._applyCombination(ts,arguments)},splitcomplement:function(){return this._applyCombination(Qa,arguments)},triad:function(){return this._applyCombination(Ja,[3])},tetrad:function(){return this._applyCombination(Ja,[4])}},Na.fromRatio=function(e,t){if("object"==Ia(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:ls(e[r]));e=n}return Na(e,t)},Na.equals=function(e,t){return!(!e||!t)&&Na(e).toRgbString()==Na(t).toRgbString()},Na.random=function(){return Na.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Na.mix=function(e,t,n){n=0===n?0:n||50;var r=Na(e).toRgb(),o=Na(t).toRgb(),i=n/100;return Na({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},Na.readability=function(e,t){var n=Na(e),r=Na(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},Na.isReadable=function(e,t,n){var r,o,i=Na.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},Na.mostReadable=function(e,t,n){var r,o,i,a,s=null,u=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;
vendor: 1,589 bytes, line 1
1for(var l=0;l<t.length;l++)(r=Na.readability(e,t[l]))>u&&(u=r,s=Na(t[l]));return Na.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,Na.mostReadable(e,["#fff","#000"],n))};var ns=Na.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
10",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},rs=Na.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(ns);function os(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function is(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function as(e){return Math.min(1,Math.max(0,e))}function ss(e){return parseInt(e,16)}function us(e){return 1==e.length?"0"+e:""+e}function ls(e){return e<=1&&(e=100*e+"%"),e}function cs(e){return Math.round(255*parseFloat(e)).toString(16)}function ds(e){return ss(e)/255}var fs=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"
1+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function hs(e){return!!fs.CSS_UNIT.exec(e)}const ps=(0,Aa.ZP)(s.kC)(_a||(_a=Ra(["\n gap: 0.25em;\n"]))),gs=Aa.ZP.div(Sa||(Sa=Ra(["\n width: 2.1em;\n height: 2.1em;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n border-radius: 3px;\n background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=') left center #fff;\n"]))),ms=Aa.ZP.div(ja||(ja=Ra(["\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n"]))),vs=e=>e.reduce(((e,t)=>{const n=t.hex?Na(t.hex):Na(t);return n.isValid()&&e.push({color:t,backgroundColor:n.toRgbString()}),e}),[]),ys=e=>{let{colors:t,onChange:n}=e;return t?(0,o.jsx)(ps,{wrap:"wrap",children:vs(t).map(((e,t)=>{let{color:r,backgroundColor:i}=e;return(0,o.jsx)(gs,{onClick:()=>{n(r)},children:(0,o.jsx)(ms,{style:{background:i}})},"".concat(i,"-").concat(t))}))}):null},bs=(0,Aa.ZP)(s.xu)(Ma||(Ma=Ra(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"]))),ws=(0,Aa.ZP)(s.kC)(Oa||(Oa=Ra(["\n margin-top: 6rem;\n background-color: var(--card-bg-color);\n position: relative;\n width: 100%;\n"]))),xs=Rr((e=>{var t,n,r;const{width:i,color:{rgb:a,hex:c,hsv:d,hsl:f},onChange:h,onUnset:p,disableAlpha:g,colorList:m,readOnly:v}=e;return f&&d?(0,o.jsx)("div",{style:{width:i},children:(0,o.jsx)(s.Zb,{padding:1,border:!0,radius:1,children:(0,o.jsxs)(s.Kq,{space:2,children:[!v&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Zb,{overflow:"hidden",style:{position:"relative",height:"5em"},children:(0,o.jsx)(l.OQ,{onChange:h,hsl:f,hsv:d})}),(0,o.jsx)(s.Zb,{shadow:1,radius:3,overflow:"hidden",style:{position:"relative",height:"10px"},children:(0,o.jsx)(l.PS,{hsl:f,onChange:!v&&h})}),!g&&(0,o.jsx)(s.Zb,{shadow:1,radius:3,overflow:"hidden",style:{position:"relative",height:"10px",background:"#fff"},children:(0,o.jsx)(l.xV,{rgb:a,hsl:f,onChange:h})})]}),(0,o.jsxs)(s.kC,{children:[(0,o.jsxs)(s.Zb,{flex:1,radius:2,overflow:"hidden",style:{position:"relative",minWidth:"4em",background:"#fff"},children:[(0,o.jsx)(l.QN,{}),(0,o.jsx)(bs,{style:{backgroundColor:"rgba(".concat(null==a?void 0:a.r,",").concat(null==a?void 0:a.g,",").concat(null==a?void 0:a.b,",").concat(null==a?void 0:a.a,")")}}),v&&(0,o.jsx)(ws,{padding:2,paddingBottom:1,sizing:"border",justify:"space-between",children:(0,o.jsxs)(s.Kq,{space:3,marginTop:1,children:[(0,o.jsx)(s.xv,{size:3,weight:"bold",children:c}),(0,o.jsxs)(s.gF,{space:3,children:[(0,o.jsxs)(s.xv,{size:1,children:[(0,o.jsx)("strong",{children:"RGB: "}),null==a?void 0:a.r," ",null==a?void 0:a.g," ",null==a?void 0:a.b]}),(0,o.jsxs)(s.xv,{size:1,children:[(0,o.jsx)("strong",{children:"HSL: "})," ",Math.round(null!=(t=null==f?void 0:f.h)?t:0)," ",Math.round(null!=(n=null==f?void 0:f.s)?n:0),"%"," ",Math.round(null!=(r=null==f?void 0:f.l)?r:0)]})]})]})})]}),!v&&(0,o.jsxs)(s.kC,{align:"flex-start",marginLeft:2,children:[(0,o.jsx)(s.xu,{style:{width:200},children:(0,o.jsx)(Pa,{rgb:a,hsl:f,hex:c,onChange:h,disableAlpha:g})}),(0,o.jsx)(s.xu,{marginLeft:2,children:(0,o.jsx)(s.zx,{onClick:p,title:"Delete color",icon:u.XHJ,tone:"critical"})})]})]}),m&&(0,o.jsx)(ys,{colors:m,onChange:h})]})})}):null})),Cs={hex:"#24a3e3",hsl:{h:200,s:.7732,l:.5156,a:1},hsv:{h:200,s:.8414,v:.8901,a:1},rgb:{r:46,g:163,b:227,a:1},source:"hex"};const ks=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return Math.round(100*e)},Es=(0,r.feb)({name:"color",type:"object",title:"Color",components:{input:function(e){var t,n;const{onChange:l,readOnly:c}=e,d=e.value,f=e.schemaType,h=(0,i.useRef)(null),[p,g]=(0,i.useState)(d);(0,i.useEffect)((()=>g(d)),[d]);const m=(0,i.useCallback)((e=>{var t;const n=f.fields.filter((t=>t.name in e)).map((t=>{const n=e[t.name],o="object"===t.type.jsonType;return(0,r.t8m)(o?Object.assign({_type:t.type.name},n):n,[t.name])}));l([(0,r.CbY)({_type:f.name}),(0,r.t8m)(f.name,["_type"]),(0,r.t8m)(null==(t=e.rgb)?void 0:t.a,["alpha"]),...n])}),[l,f]),v=(0,i.useMemo)((()=>(0,a.debounce)(m,100)),[m]),y=(0,i.useCallback)((e=>{g(e),v(e)}),[v,g]),b=(0,i.useCallback)((()=>{g(Cs),m(Cs)}),[m]),w=(0,i.useCallback)((()=>{g(void 0),l((0,r.zNf)())}),[l]);return(0,o.jsx)(o.Fragment,{children:d&&d.hex?(0,o.jsx)(xs,{color:p,onChange:y,readOnly:c||"boolean"===typeof f.readOnly&&f.readOnly,disableAlpha:!!(null==(t=f.options)?void 0:t.disableAlpha),colorList:null==(n=f.o
1ptions)?void 0:n.colorList,onUnset:w}):(0,o.jsx)(s.zx,{icon:u.dtP,mode:"ghost",text:"Create color",ref:h,disabled:Boolean(c),onClick:b})})}},fields:[{title:"Hex",name:"hex",type:"string"},{title:"Alpha",name:"alpha",type:"number"},{title:"Hue Saturation Lightness",name:"hsl",type:"hslaColor"},{title:"Hue Saturation Value",name:"hsv",type:"hsvaColor"},{title:"Red Green Blue (rgb)",name:"rgb",type:"rgbaColor"}],preview:{select:{title:"hex",alpha:"alpha",hex:"hex",hsl:"hsl"},prepare(e){let{title:t,hex:n,hsl:r,alpha:i}=e,a=n||"No color set";return r&&(a="H:".concat(ks(r.h)," S:").concat(ks(r.s)," L:").concat(ks(r.l)," A:").concat(ks(i))),{title:t,subtitle:a,media:()=>(0,o.jsx)("div",{style:{backgroundColor:null!=n?n:"#000",opacity:null!=i?i:1,position:"absolute",height:"100%",width:"100%",top:"0",left:"0"}})}}}}),_s=(0,r.feb)({title:"Hue Saturation Value",name:"hsvaColor",type:"object",fields:[{name:"h",type:"number",title:"Hue"},{name:"s",type:"number",title:"Saturation"},{name:"v",type:"number",title:"Value"},{name:"a",type:"number",title:"Alpha"}]}),Ss=(0,r.Cw0)({name:"@sanity/color-input",schema:{types:[La,_s,Da,Es]}})},75175:function(e,t,n){"use strict";n.d(t,{r:function(){return R},t:function(){return m}});var r=n(52027);function o(e,t,n){return delete e[t],e[t]=n,n}function i(e,t){const n=function(e,t){const n=e.length,r=t.length;let o=0,i=0;const a=new Array(n+1);for(o=0;o<n+1;o++)for(a[o]=[r+1],i=0;i<r+1;i++)a[o][i]=0;for(o=1;o<n+1;o++)for(i=1;i<r+1;i++)e[o-1]===t[i-1]?a[o][i]=a[o-1][i-1]+1:a[o][i]=Math.max(a[o-1][i],a[o][i-1]);return a}(e,t),r=function(e,t,n){let r=t.length,o=n.length;const i={sequence:[],prevIndices:[],nextIndices:[]};for(;0!==r&&0!==o;){if(t[r-1]===n[o-1])i.sequence.unshift(t[r-1]),i.prevIndices.unshift(r-1),i.nextIndices.unshift(o-1),--r,--o;else{e[r][o-1]>e[r-1][o]?--o:--r}}return i}(n,e,t);return r}function a(e,t,n){if(e===t){return{type:"array",action:"unchanged",isChanged:!1,fromValue:e.value,toValue:t.value,get items(){const r=u(e,t,n);if(!r)throw new Error("invariant broken: equivalent input, but diff detected");return o(this,"items",r)}}}const r=d(e),a=d(t);if(r&&a)return function(e,t,n,r,o){const a=[];let u=!1;function d(o,i,s,l){c(t.index,o,i),c(r.index,o,s);const d=m(e.at(i),n.at(s));a.push({fromIndex:i,toIndex:s,hasMoved:l,diff:d,annotation:n.annotationAt(s)}),(d.isChanged||i!==s)&&(u=!0)}const f=i(t.keys,r.keys);for(let i=0;i<t.keys.length;i++){const n=t.keys[i],o=f.prevIndices.indexOf(i);if(-1!==o){d(n,i,f.nextIndices[o],!1);continue}const s=r.index.get(n),l=s&&s.find((e=>!f.nextIndices.includes(e)));if(void 0!==l){d(n,i,l,!0);continue}const c=e.at(i);a.push({fromIndex:i,toIndex:void 0,hasMoved:!1,diff:y(c,void 0),annotation:e.annotationAt(i)}),u=!0}for(const i of r.index.values()){for(const e of i){const t=n.at(e);a.push({fromIndex:void 0,toIndex:e,hasMoved:!1,diff:b(t,void 0),annotation:n.annotationAt(e)})}u=!0}return a.sort(l),s(e,n,a,u)}(e,r,t,a);const f=u(e,t,n);return f?s(e,t,f,!1):function(e,t,n){const r=[];for(let o=0;o<t.length;o++){const e=t.at(o);r.push({fromIndex:void 0,toIndex:o,hasMoved:!1,diff:b(e,void 0),annotation:e.annotation})}for(let o=0;o<e.length;o++){const t=e.at(o);r.push({fromIndex:o,toIndex:void 0,hasMoved:!1,diff:y(t,void 0),annotation:t.annotation})}return s(e,t,r,!0)}(e,t)}function s(e,t,n,r){const o=e.value,i=t.value;return r?{type:"array",action:"changed",isChanged:!0,fromValue:o,toValue:i,items:n,annotation:t.annotation}:{type:"array",action:"unchanged",isChanged:!1,fromValue:o,toValue:i,items:n}}function u(e,t,n){if(e.length!==t.length)return;const r=[];for(let o=0;o<e.length;o++){const i=m(e.at(o),t.at(o),n);if(i.isChanged)return;r.push({fromIndex:o,toIndex:o,hasMoved:!1,diff:i,annotation:t.annotationAt(o)})}return r}function l(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 new Error("invalid item diff comparison")}function c(e,t,n){const r=e.get(t);!function(e,t){const n=e.indexOf(t);if(-1===n)throw new Error("value not found");e.splice(n,1)}(r,n),0===r.length&&e.delete(t)}function d(e){const t=new Map,n=[],r=e.length;for(let o=0;o<r;o++){const r=e.at(o);let i=null;switch(r.type){case"string":i="s".concat(r.value);break;case"number":case"boolean":i=r.value;break;case"null":i="n";break;case"object":{const e=r.get("_key");if(e&&"string"===e.type&&(i="k".concat(e.value),t.has(i)))return}}if(null===i)return;n.push(i);let a=t.get(i);a||(a=[],t.set(i,a)),a.push(o)}return{keys:n,index:t}}const f=new r.diff_match_patch;function h(e,t,n){const i=e.value,a=t.value;return i===a?{type:"string",action:"unchanged",isChanged:!1,fromValue:i,toValue:a,segments:[{type:"stringSegment",action:"unchanged",text:i}]}:{type:"string",action:"changed",isChanged:!0,fromValue:i,toValue:a,annotation:t.annotation,get segments(){const n=function(e,t){const n=[],o=f.diff_main(e.value,t.value);f.diff_cleanupSemantic(o);let i=0,a=0;for(const[s,u]of o)switch(s){case r.DIFF_EQUAL:n.push({type:"stringSegment",action:"unchanged",text:u}),i+=u.length,a+=u.length;break;
1case r.DIFF_DELETE:for(const t of e.sliceAnnotation(i,i+u.length))n.push({type:"stringSegment",action:"removed",text:t.text,annotation:t.annotation});i+=u.length;break;case r.DIFF_INSERT:for(const e of t.sliceAnnotation(a,a+u.length))n.push({type:"stringSegment",action:"added",text:e.text,annotation:e.annotation});a+=u.length;break;default:throw new Error('Unhandled diff-match-patch operation "'.concat(s,'"'))}return n}(e,t);return o(this,"segments",n)}}}function p(e,t,n){return{type:"typeChange",action:"changed",isChanged:!0,fromType:e.type,fromValue:e.value,fromDiff:y(e,void 0),toType:t.type,toValue:t.value,toDiff:b(t,void 0),annotation:t.annotation}}const g=new Set(["_id","_type","_createdAt","_updatedAt","_rev","_weak"]);function m(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.type!==t.type?"null"===e.type?b(t,null):"null"===t.type?y(e,null):p(e,t):v(e.type,e,t,n)}function v(e,t,n,r){switch(e){case"null":return{type:"null",action:"unchanged",isChanged:!1,toValue:null,fromValue:null};case"boolean":return function(e,t,n){const r=e.value,o=t.value,i=e.type;return r===o?{type:i,action:"unchanged",fromValue:r,toValue:o,isChanged:!1}:{type:e.type,action:"changed",isChanged:!0,fromValue:r,toValue:o,annotation:t.annotation}}(t,n);case"number":return function(e,t,n){const r=e.value,o=t.value,i=e.type;return r===o?{type:i,action:"unchanged",fromValue:r,toValue:o,isChanged:!1}:{type:e.type,action:"changed",isChanged:!0,fromValue:r,toValue:o,annotation:t.annotation}}(t,n);case"string":return h(t,n);case"array":return a(t,n,r);case"object":return function(e,t,n){const r={};let o=!1;for(const s of e.keys){if(g.has(s))continue;const i=e.get(s),a=t.get(s);if(a){const e=m(i,a,n);r[s]=e,e.isChanged&&(o=!0)}else r[s]=y(i,void 0),o=!0}for(const s of t.keys){if(g.has(s))continue;if(e.get(s))continue;const n=t.get(s);r[s]=b(n,void 0),o=!0}const i=e.value,a=t.value;return o?{type:"object",action:"changed",isChanged:!0,fromValue:i,toValue:a,fields:r,annotation:t.annotation}:{type:"object",action:"unchanged",isChanged:!1,fromValue:i,toValue:a,fields:r}}(t,n,r);default:throw new Error('Unhandled diff type "'.concat(e,'"'))}}function y(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 function(e,t,n){return{type:"string",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get segments(){return o(this,"segments",e.sliceAnnotation(0,e.value.length).map((e=>({type:"stringSegment",action:"removed",...e}))))}}}(e,t);case"array":return function(e,t,n){return{type:"array",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get items(){const t=[];for(let n=0;n<e.length;n++){const r=e.at(n);t.push({fromIndex:n,toIndex:void 0,hasMoved:!1,diff:y(r,void 0),annotation:e.annotationAt(n)})}return o(this,"items",t)}}}(e,t);case"object":return function(e,t,n){return{type:"object",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get fields(){const t={};for(const n of e.keys){const r=e.get(n);t[n]=y(r,void 0)}return o(this,"fields",t)}}}(e,t);default:throw new Error("Unhandled diff type")}}function b(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 function(e,t,n){return{type:"string",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get segments(){return o(this,"segments",e.sliceAnnotation(0,e.value.length).map((e=>({type:"stringSegment",action:"added",...e}))))}}}(e,t);case"array":return function(e,t,n){return{type:"array",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get items(){const t=[];for(let n=0;n<e.length;n++){const r=e.at(n);t.push({fromIndex:void 0,toIndex:n,hasMoved:!1,diff:b(r,void 0),annotation:e.annotationAt(n)})}return o(this,"items",t)}}}(e,t);case"object":return function(e,t,n){return{type:"object",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get fields(){const t={};for(const n of e.keys){const r=e.get(n);t[n]=b(r,void 0)}return o(this,"fields",t)}}}(e,t);default:throw new Error("Unhandled diff type")}}var w=Object.defineProperty,x=(e,t,n)=>(((e,t,n)=>{t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class C{constructor(e,t){x(this,"type","array"),x(this,"length"),x(this,"value"),x(this,"annotation"),x(this,"elements",[]),this.annotation=t,this.value=e,this.length=e.length}at(e){if(e>=this.length)throw new Error("out of bounds");const t=this.elements[e];return t||(this.elements[e]=R(this.value[e],this.annotation))}annotationAt(){return this.annotation}}var k=Object.defineProperty,E=(e,t,n)=>(((e,t,n)=>{t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class _{constructor(e,t){E(this,"type","object"),E(this,"value"),E(this,"keys"),E(this,"annotation"),E(this,"fields",{}),this.value=e,this.annotation=t,this.keys=Object.keys(e)}get(e){const t=this.fields[e];if(t)return t;if(!this.value.hasOwnProperty(e))return;const n=this.value[e];return this.fields[e]=R(n,this.annotation)}}var S=Object.defineProperty,j=(e,t,n)=>(((e,t,n)=>{t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class M{constructor(e,t){j(this,"type","string"),j(this,"value"),j(this,"annotation"),this.value=e,this.annotation=t}sliceAnnotation(e,t){return[{text:this.value.slice(e,t),annotation:this.annotation}]}}
1var O=Object.defineProperty,A=(e,t,n)=>(((e,t,n)=>{t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class T{constructor(e,t,n){A(this,"type"),A(this,"value"),A(this,"annotation"),this.type=e,this.value=t,this.annotation=n}}function R(e,t){if(Array.isArray(e))return new C(e,t);if(null===e)return new T("null",e,t);const n=typeof e;switch(n){case"number":case"boolean":return new T(n,e,t);case"object":return new _(e,t);case"string":return new M(e,t);default:throw new Error("cannot wrap value of type: ".concat(n))}}},38063:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});function r(e){return"https://docs.sanity.io/help/"+e}},99119:function(e,t,n){"use strict";n.d(t,{W6:function(){return $e},kC:function(){return Q},mm:function(){return Pe}});var r=n(85564),o=n.n(r),i=n(39693),a=n.n(i),s=n(18446),u=n.n(s),l=n(53632),c=n.n(l),d=n(6162),f=n.n(d),h=n(52027),p=n(25934),g=n(48334),m=n.n(g),v=Object.defineProperty,y=(e,t,n)=>(((e,t,n)=>{t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);const b=/[0-9]/,w=/^[a-zA-Z0-9_]$/,x=/^[a-zA-Z_]$/,C={operator:["..",".",",",":","?"],comparator:[">",">=","<","<=","==","!="],keyword:["$","@"],boolean:["true","false"],paren:["[","]"]},k=Object.keys(C);class E{constructor(e){y(this,"source"),y(this,"i"),y(this,"length"),y(this,"tokenizers"),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(){const e=[];for(;!this.EOF();){this.chompWhitespace();let t=null;if(!this.tokenizers.some((e=>(t=e(),Boolean(t))))||!t)throw new Error("Invalid tokens in jsonpath '".concat(this.source,"' @ ").concat(this.i));e.push(t)}return e}takeWhile(e){const t=this.i;let n="";for(;!this.EOF();){const t=e(this.source[this.i]);if(null===t)break;n+=t,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 new Error("Expected ".concat(e," at end of jsonpath"));if(e!==this.source.slice(this.i,this.i+e.length))throw new Error('Expected "'.concat(e,'", but source contained "').concat(this.source.slice()));this.i+=e.length}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(){const e=this.peek();if("'"===e||'"'===e){this.consume(e);let t=!1;const 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;const t=this.takeWhile((t=>e?(e=!1,t.match(x)?t:null):t.match(w)?t:null));return null!==t?{type:"identifier",name:t}:null}tokenizeNumber(){const e=this.i;let t=!1,n=!1,r=!1;"-"===this.peek()&&(r=!0,this.consume("-"));const o=this.takeWhile((e=>"."===e&&!t&&n?(t=!0,e):(n=!0,e.match(b)?e:null)));return null!==o?{type:"number",value:r?-o:+o,raw:r?"-".concat(o):o}:(this.i=e,null)}tokenizeSymbol(){for(const e of k){const t=C[e].find((e=>this.tryConsume(e)));if(t)return{type:e,symbol:t}}return null}}var _=Object.defineProperty,S=(e,t,n)=>(((e,t,n)=>{t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class j{constructor(e){S(this,"tokens"),S(this,"length"),S(this,"i"),this.tokens=new E(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(){const e=this.peek();return this.i+=1,e}probe(e){const t=this.peek();if(!t)return null;const n=t;return Object.keys(e).every((r=>r in t&&e[r]===n[r]))?t:null}match(e){return this.probe(e)?this.consume():null}parseAttribute(){const e=this.match({type:"identifier"});if(e&&"identifier"===e.type)return{type:"attribute",name:e.name};const 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(){const e=this.match({type:"number"});return e&&"number"===e.type?{type:"number",value:e.value}:null}parseNumberValue(){const e=this.parseNumber();return e?e.value:null}parseSliceSelector(){const e=this.i,t=this.parseNumberValue();
1if(!this.match({type:"operator",symbol:":"}))return null===t?(this.i=e,null):{type:"index",value:t};const n={type:"range",start:t,end:this.parseNumberValue()};return this.match({type:"operator",symbol:":"})&&(n.step=this.parseNumberValue()),null===n.start&&null===n.end?(this.i=e,null):n}parseValueReference(){return this.parseAttribute()||this.parseSliceSelector()}parseLiteralValue(){const e=this.match({type:"quoted",quote:"double"});if(e&&"quoted"===e.type)return{type:"string",value:e.value||""};const t=this.match({type:"boolean"});return t&&"boolean"===t.type?{type:"boolean",value:"true"===t.symbol}:this.parseNumber()}parseFilterExpression(){const e=this.i,t=this.parseAttribute()||this.parseAlias();if(!t)return null;if(this.match({type:"operator",symbol:"?"}))return{type:"constraint",operator:"?",lhs:t};const n=this.match({type:"comparator"});if(!n||"comparator"!==n.type)return this.i=e,null;const r=t,o=this.parseLiteralValue();if(!o)throw new Error("Operator ".concat(n.symbol," needs a literal value at the right hand side"));return{type:"constraint",operator:n.symbol,lhs:r,rhs:o}}parseExpression(){return this.parseFilterExpression()||this.parseValueReference()}parseUnion(){if(!this.match({type:"paren",symbol:"["}))return null;const e=[];let t=this.parseFilterExpression()||this.parsePath()||this.parseValueReference();for(;t&&(e.push(t),!this.match({type:"paren",symbol:"]"}));){if(!this.match({type:"operator",symbol:","}))throw new Error("Expected ]");if(t=this.parseFilterExpression()||this.parsePath()||this.parseValueReference(),!t)throw new Error("Expected expression following ','")}return{type:"union",nodes:e}}parseRecursive(){if(!this.match({type:"operator",symbol:".."}))return null;const e=this.parsePath();if(!e)throw new Error("Expected path following '..' operator");return{type:"recursive",term:e}}parsePath(){const e=[],t=this.parseAttribute()||this.parseUnion()||this.parseRecursive();if(!t)return null;for(e.push(t);!this.EOF();)if(this.match({type:"operator",symbol:"."})){const t=this.parseAttribute();if(!t)throw new Error("Expected attribute name following '.");e.push(t)}else{if(!this.probe({type:"paren",symbol:"["})){const t=this.parseRecursive();t&&e.push(t);break}{const t=this.parseUnion();if(!t)throw new Error("Expected union following '['");e.push(t)}}return 1===e.length?e[0]:{type:"path",nodes:e}}}function M(e){const t=new j(e).parse();if(!t)throw new Error('Failed to parse JSON path "'.concat(e,'"'));return t}function O(e){const[t,n]=A(e);if(!t)throw new Error("Head cannot be null");return function(e,t){if("union"!==e.type)return[[e,t]];return e.nodes.map((e=>{if("path"===e.type){const[n,r]=A(e);return[n,T(r,t)]}return[e,t]}))}(t,n)}function A(e){if("path"!==e.type)return[e,null];const t=e.nodes;return 0===t.length?[null,null]:1===t.length?[t[0],null]:[t[0],{type:"path",nodes:t.slice(1)}]}function T(e,t){if(!e&&!t)return null;const n=e?e.nodes:[],r=t?t.nodes:[];return{type:"path",nodes:n.concat(r)}}function R(e){return L(e,!1)}function L(e,t){switch(e.type){case"attribute":return e.name;case"alias":return"self"===e.target?"@":"$";case"number":return"".concat(e.value);case"range":{const n=[];return t||n.push("["),e.start&&n.push("".concat(e.start)),n.push(":"),e.end&&n.push("".concat(e.end)),e.step&&n.push(":".concat(e.step)),t||n.push("]"),n.join("")}case"index":return t?"".concat(e.value):"[".concat(e.value,"]");case"constraint":{const n=e.rhs?" ".concat(L(e.rhs,!1)):"",r="".concat(L(e.lhs,
1!1)," ").concat(e.operator).concat(n);return t?r:"[".concat(r,"]")}case"string":return JSON.stringify(e.value);case"path":{const t=[],n=e.nodes.slice();for(;n.length>0;){const e=n.shift();e&&t.push(R(e));const r=n[0];r&&"["!==L(r,!1)[0]&&t.push(".")}return t.join("")}case"union":return"[".concat(e.nodes.map((e=>L(e,!0))).join(","),"]");default:throw new Error("Unknown node type ".concat(e.type));case"recursive":return"..".concat(L(e.term,!1))}}var D=Object.defineProperty,P=(e,t,n)=>(((e,t,n)=>{t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class I{constructor(e){if(P(this,"expr"),!e)throw new Error("Attempted to create Expression from null-value");if(this.expr="expr"in e?e.expr:e,!("type"in this.expr))throw new 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){const t=()=>{if(!e)throw new Error("expandRange() required a probe that was not passed");return e.length()};let n="start"in this.expr&&this.expr.start||0;n=Z(n,e);let r="end"in this.expr&&this.expr.end||t();r=Z(r,e);return{start:n,end:r,step:"step"in this.expr&&this.expr.step||1}}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){const 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;const n=e.get(),r=t.rhs&&"value"in t.rhs?t.rhs.value:void 0;return F(n,t.operator,r)}if("constraint"!==t.type)return!1;const n=t.lhs;if(!n)throw new Error("No LHS of expression");if("attribute"!==n.type)throw new Error("Constraint target ".concat(n.type," not supported"));if("object"!==e.containerType())return!1;const r=e.getAttribute(n.name);if(void 0===r||null===r||"primitive"!==r.containerType())return!1;if(this.isExistenceConstraint())return!0;const o=t.rhs&&"value"in t.rhs?t.rhs.value:void 0;return F(r.get(),t.operator,o)}pathNodes(){return"path"===this.expr.type?this.expr.nodes:[this.expr]}prepend(e){return e?new I({type:"path",nodes:e.pathNodes().concat(this.pathNodes())}):this}concat(e){return e?e.prepend(this):this}descend(){return O(this.expr).map((e=>{const[t,n]=e;return{head:t?new I(t):null,tail:n?new I(n):null}}))}unwrapRecursive(){if("recursive"!==this.expr.type)throw new Error("Attempt to unwrap recursive on type ".concat(this.expr.type));return new I(this.expr.term)}toIndicies(e){if("index"!==this.expr.type&&"range"!==this.expr.type)throw new Error("Node cannot be converted to indexes");if("index"===this.expr.type)return[Z(this.expr.value,e)];const t=[],n=this.expandRange(e);let{start:r,end:o}=n;n.step<0&&([r,o]=[o,r]);for(let i=r;i<o;i++)t.push(i);return t}toFieldReferences(){if(this.isIndexReference())return this.toIndicies();if("attribute"===this.expr.type)return[this.expr.name];throw new Error("Can't convert ".concat(this.expr.type," to field references"))}toString(){return R(this.expr)}static fromPath(e){const t=M(e);if(!t)throw new Error('Failed to parse path "'.concat(e,'"'));return new I(t)}static attributeReference(e){return new I({type:"attribute",name:e})}static indexReference(e){return new I({type:"index",value:e})}}function F(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 new Error("Unsupported binary operator ".concat(t))}}function Z(e,t){if(e>=0)return e;if(!t)throw new Error("interpretNegativeIndex() must have a probe when < 0");return e+t.length()}var N=Object.defineProperty,H=(e,t,n)=>(((e,t,n)=>{t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class B{constructor(e,t){H(this,"head"),H(this,"tail"),this.head=e,this.tail=t}iterate(e){let t=[this];if(this.head&&this.head.isConstraint()){let n=!0;for(;n;)t=o()(t.map((t=>t.iterateConstraints(e)))),n=t.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()){const e=this.head.unwrapRecursive();return new B(null,e.concat(this.tail)).descend()}return[]}iterateConstraints(e){const t=this.head;if(null===t||!t.isConstraint())return[this];const n=[];if("primitive"===e.containerType()&&t.constraintTargetIsSelf())return t.testConstraint(e)&&n.push(...this.descend()),n;if("array"===e.containerType()){const r=e.length();for(let o=0;o<r;o++){const r=e.getIndex(o);r&&t.testConstraint(r)&&n.push(new B(new I({type:"index",value:o}),this.tail))}return n}return"object"===e.containerType()?t.constraintTargetIsSelf()?[]:t.testConstraint(e)?this.descend():n:n}
1descend(){return this.tail?this.tail.descend().map((e=>new B(e.head,e.tail))):[new B(null,null)]}toString(){const e=["<"];return this.head&&e.push(this.head.toString()),e.push("|"),this.tail&&e.push(this.tail.toString()),e.push(">"),e.join("")}}var V=Object.defineProperty,z=(e,t,n)=>(((e,t,n)=>{t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class U{constructor(e,t){z(this,"active"),z(this,"recursives"),z(this,"payload"),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=>{const 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){const t=[];return this.active.concat(this.activeRecursives(e)).forEach((n=>{t.push(...n.iterate(e))})),new U(t,this)}isDestination(){return this.active.some((e=>e.hasArrived()))}hasRecursives(){return this.recursives.length>0}extractMatches(e){const t=[],n=[];if(this.active.forEach((r=>{if(r.hasArrived())return void n.push(new I({type:"alias",target:"self"}));const o=r.head;if(o&&("array"!==e.containerType()||o.isIndexReference())&&("object"!==e.containerType()||o.isAttributeReference()))if(r.tail){const e=new U(r.descend(),this);o.toFieldReferences().forEach((()=>{t.push({target:o,matcher:e})}))}else n.push(o)})),this.hasRecursives()){const n=new U([],this);if("array"===e.containerType()){const r=e.length();for(let e=0;e<r;e++)t.push({target:I.indexReference(e),matcher:n})}else"object"===e.containerType()&&e.attributeKeys().forEach((e=>{t.push({target:I.attributeReference(e),matcher:n})}))}return n.length>0?{leads:t,delivery:{targets:n,payload:this.payload}}:{leads:t}}static fromPath(e){const t=M(e);if(!t)throw new Error('Failed to parse path from "'.concat(e,'"'));const n=new B(null,new I(t));return new U(n.descend())}}function W(e){return null!==e&&"object"===typeof e}var $=Object.defineProperty,q=(e,t,n)=>(((e,t,n)=>{t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class G{constructor(e,t){q(this,"_value"),q(this,"path"),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 new 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!!W(this._value)&&this._value.hasOwnProperty(e)}attributeKeys(){return W(this._value)?Object.keys(this._value):[]}getAttribute(e){if(!W(this._value))throw new Error("getAttribute only applies to plain objects");return this.hasAttribute(e)?new G(this._value[e],this.path.concat(e)):null}get(){return this._value}}function Y(e,t){const n=[];return K(U.fromPath(e).setPayload((function(e){n.push(...e)})),new G(t)),n}function K(e,t){const{leads:n,delivery:r}=e.match(t);n.forEach((e=>{X(e.target,t).forEach((t=>{K(e.matcher,t)}))})),r&&r.targets.forEach((e=>{"function"===typeof r.payload&&r.payload(X(e,t))}))}function X(e,t){const 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())throw new Error("Unable to derive accessor for target ".concat(e.toString()));n.push(t)}return a()(n)}const J=/^[a-z_$]+/;function Q(e){let t="";return e.forEach(((e,n)=>{t+=function(e,t){if("number"===typeof e)return"[".concat(e,"]");if(W(e)){const t=e;return Object.keys(e).map((e=>function(e){switch(typeof e){case"number":case"string":case"boolean":return!0;default:return!1}}(t[e])?"[".concat(e,'=="').concat(t[e],'"]'):"")).join("")}if("string"===typeof e&&J.test(e))return t?e:".".concat(e);return"['".concat(e,"']")}(e,0===n)})),t}
1var ee=Object.defineProperty,te=(e,t,n)=>(((e,t,n)=>{t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class ne{constructor(e,t,n){te(this,"id"),te(this,"path"),te(this,"value"),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())throw new Error("Unable to apply to target ".concat(e.toString()));n=n.setAttribute(e.name(),this.value)}})),n}}var re=Object.defineProperty,oe=(e,t,n)=>(((e,t,n)=>{t in e?re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);function ie(e,t){return"number"===typeof e&&Number.isFinite(e)?e+t:e}class ae{constructor(e,t,n){oe(this,"path"),oe(this,"value"),oe(this,"id"),this.path=t,this.value=n,this.id=e}apply(e,t){let n=t;if("primitive"===n.containerType())return n;for(const r of e)if(r.isIndexReference())for(const e of r.toIndicies(t)){const t=n.getIndex(e);if(!t)continue;const r=t.get();n=n.setIndex(e,ie(r,this.value))}else{if(!r.isAttributeReference())throw new Error("Unable to apply to target ".concat(r.toString()));{const e=n.getAttribute(r.name());if(!e)continue;const t=e.get();n=n.setAttribute(r.name(),ie(t,this.value))}}return n}}function se(e,t){const n=[];return e.forEach((e=>{e.isIndexReference()&&n.push(...e.toIndicies(t))})),n.sort()}var ue=Object.defineProperty,le=(e,t,n)=>(((e,t,n)=>{t in e?ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class ce{constructor(e,t,n,r){le(this,"location"),le(this,"path"),le(this,"items"),le(this,"id"),this.id=e,this.location=t,this.path=n,this.items=r}apply(e,t){let n=t;if("array"!==t.containerType())throw new Error("Attempt to apply insert patch to non-array value");switch(this.location){case"before":{const r=function(e,t){let n=c()(se(e,t))||0;return e.forEach((e=>{if(e.isRange()){const{start:t}=e.expandRange();t<n&&(n=t)}})),n}(e,t);n=n.insertItemsAt(r,this.items);break}case"after":{const r=function(e,t){let n=f()(se(e,t))||0;return e.forEach((e=>{if(e.isRange()){const{end:t}=e.expandRange();t>n&&(n=t)}})),n}(e,t);n=n.insertItemsAt(r+1,this.items);break}case"replace":{const r=se(e,t);n=n.unsetIndices(r),n=n.insertItemsAt(r[0],this.items);break}default:throw new Error("Unsupported location atm: ".concat(this.location))}return n}}var de=Object.defineProperty,fe=(e,t,n)=>(((e,t,n)=>{t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class he{constructor(e,t,n){fe(this,"id"),fe(this,"path"),fe(this,"value"),this.id=e,this.path=t,this.value=n}apply(e,t){let n=t;return e.forEach((e=>{if(e.isIndexReference());else{if(!e.isAttributeReference())throw new Error("Unable to apply to target ".concat(e.toString()));n.hasAttribute(e.name())||(n=t.setAttribute(e.name(),this.value))}})),n}}var pe=Object.defineProperty,ge=(e,t,n)=>(((e,t,n)=>{t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class me{constructor(e,t){ge(this,"id"),ge(this,"path"),ge(this,"value"),this.id=e,this.path=t}apply(e,t){let n=t;switch(t.containerType()){case"array":n=n.unsetIndices(se(e,t));break;case"object":e.forEach((e=>{n=n.unsetAttribute(e.name())}));break;default:throw new Error("Target value is neither indexable or an object. This error should potentially just be silently ignored?")}return n}}var ve=Object.defineProperty,ye=(e,t,n)=>(((e,t,n)=>{t in e?ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);const be=new h.diff_match_patch;function we(e,t){return"string"!==typeof t?t:be.patch_apply(e,t)[0]}class xe{constructor(e,t,n){ye(this,"path"),ye(this,"dmpPatch"),ye(this,"id"),this.id=e,this.path=t,this.dmpPatch=be.patch_fromText(n)}apply(e,t){let n=t;if("primitive"===n.containerType())return n;for(const r of e)if(r.isIndexReference())for(const e of r.toIndicies(t)){const t=n.getIndex(e);if(!t)continue;const r=t.get(),o=we(this.dmpPatch,r);n=n.setIndex(e,o)}else{if(!r.isAttributeReference()||!n.hasAttribute(r.name()))throw new Error("Unable to apply diffMatchPatch to target ".concat(r.toString()));{const e=n.getAttribute(r.name());if(!e)continue;const t=e.get(),o=we(this.dmpPatch,t);n=n.setAttribute(r.name(),o)}}return n}}function Ce(e){const t=[];if(Array.isArray(e))return e.reduce(((e,t)=>e.concat(Ce(t))),t);const{set:n,setIfMissing:r,unset:o,diffMatchPatch:i,inc:a,dec:s,insert:u}=e;
1if(n&&Object.keys(n).forEach((r=>{t.push(new ne(e.id,r,n[r]))})),r&&Object.keys(r).forEach((n=>{t.push(new he(e.id,n,r[n]))})),o&&o.forEach((n=>{t.push(new me(e.id,n))})),i&&Object.keys(i).forEach((n=>{t.push(new xe(e.id,n,i[n]))})),a&&Object.keys(a).forEach((n=>{t.push(new ae(e.id,n,a[n]))})),s&&Object.keys(s).forEach((n=>{t.push(new ae(e.id,n,-s[n]))})),u){let n,r;const o=u;if("before"in o)n="before",r=o.before;else if("after"in o)n="after",r=o.after;else{if(!("replace"in o))throw new Error("Invalid insert patch");n="replace",r=o.replace}t.push(new ce(e.id,n,r,o.items))}return t}var ke=Object.defineProperty,Ee=(e,t,n)=>(((e,t,n)=>{t in e?ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class _e{constructor(e,t){Ee(this,"_value"),Ee(this,"path"),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 new 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 _e(this._value[e],this.path.concat(e)))}hasAttribute(e){return!!Se(this._value)&&this._value.hasOwnProperty(e)}attributeKeys(){return Se(this._value)?Object.keys(this._value):[]}getAttribute(e){if(!Se(this._value))throw new Error("getAttribute only applies to plain objects");return this.hasAttribute(e)?new _e(this._value[e],this.path.concat(e)):null}set(e){return e===this._value?this:new _e(e,this.path)}setIndex(e,t){if(!Array.isArray(this._value))throw new Error("setIndex only applies to arrays");if(Object.is(t,this._value[e]))return this;const n=this._value.slice();return n[e]=t,new _e(n,this.path)}setIndexAccessor(e,t){return this.setIndex(e,t.get())}unsetIndices(e){if(!Array.isArray(this._value))throw new Error("unsetIndices only applies to arrays");const t=this._value.length,n=[];for(let r=0;r<t;r++)-1===e.indexOf(r)&&n.push(this._value[r]);return new _e(n,this.path)}insertItemsAt(e,t){if(!Array.isArray(this._value))throw new Error("insertItemsAt only applies to arrays");let n;return n=0===this._value.length&&0===e?t:this._value.slice(0,e).concat(t).concat(this._value.slice(e)),new _e(n,this.path)}setAttribute(e,t){if(!Se(this._value))throw new Error("Unable to set attribute of non-object container");if(Object.is(t,this._value[e]))return this;const n=Object.assign({},this._value,{[e]:t});return new _e(n,this.path)}setAttributeAccessor(e,t){return this.setAttribute(e,t.get())}unsetAttribute(e){if(!Se(this._value))throw new Error("Unable to unset attribute of non-object container");const t=Object.assign({},this._value);return delete t[e],new _e(t,this.path)}}function Se(e){return null!==e&&"object"===typeof e}var je=Object.defineProperty,Me=(e,t,n)=>(((e,t,n)=>{t in e?je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class Oe{constructor(e){Me(this,"patches"),this.patches=Ce(e)}apply(e){const t=new _e(e);return this.applyViaAccessor(t).get()}applyViaAccessor(e){let t=e;const n=e.getAttribute("_id");if(!n)throw new Error("Cannot apply patch to document with no _id");const r=n.get();for(const o of this.patches){if(o.id!==r)continue;t=Ae(U.fromPath(o.path).setPayload(o),t)}return t}}function Ae(e,t){let n=t;const{leads:r,delivery:o}=e.match(t);if(r.forEach((e=>{if(e.target.isIndexReference())e.target.toIndicies().forEach((t=>{const r=n.getIndex(t);if(!r)throw new Error("Index out of bounds");n=n.setIndexAccessor(t,Ae(e.matcher,r))}));else{if(!e.target.isAttributeReference())throw new Error("Unable to handle target ".concat(e.target.toString()));{const t=n.getAttribute(e.target.name());if(!t)return;const r=Ae(e.matcher,t);t!==r&&(n=n.setAttributeAccessor(e.target.name(),r))}}})),o&&(i=o.payload,Boolean(i&&"object"===typeof i&&null!==i&&"apply"in i&&"function"===typeof i.apply))){const e=o.payload;n=e.apply(o.targets,n)}var i;return n}const Te=p.Z,Re=m()("mutator-document");var Le=Object.defineProperty,De=(e,t,n)=>(((e,t,n)=>{t in e?Le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class Pe{constructor(e){De(this,"params"),De(this,"compiled"),De(this,"_appliesToMissingDocument"),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=Te(),this.params.resultRev=this.params.transactionId}appliesToMissingDocument(){if("undefined"!==typeof this._appliesToMissingDocument)return this._appliesToMissingDocument;const e=this.mutations[0];return this._appliesToMissingDocument=!e||Boolean(e.create||e.createIfNotExists||e.createOrReplace),this._appliesToMissingDocument}compile(){const e=[];this.mutations.forEach((t=>{if(t.create){const n=t.create||{};e.push((e=>e||Object.assign(n,{_createdAt:n._createdAt||this.params.timestamp})))}else if(t.createIfNotExists){const n=t.createIfNotExists||{};e.push((e=>null===e?Object.assign(n,{_createdAt:n._createdAt||this.params.timestamp}):e))}else if(t.createOrReplace){const n=t.createOrReplace||{};e.push((()=>Object.assign(n,{_createdAt:n._createdAt||this.params.timestamp})))}else if(t.delete)e.push((()=>null));else{if(!t.patch)throw new Error("Unsupported mutation ".concat(JSON.stringify(t,null,2)));{if("query"in t.patch)return;const n=new Oe(t.patch);e.push((e=>n.apply(e)))}}})),"string"===typeof this.params.timestamp&&e.push((e=>e?Object.assign(e,{_updatedAt:this.params.timestamp}):null));const t=this.previousRev,n=this.resultRev||this.transactionId;this.compiled=r=>{if(t&&r&&t!==r._rev)throw new Error("Previous revision for this mutation was ".concat(t,", but the document revision is ").concat(r._rev));let o=r;for(const t of e)o=t(o);return o&&n&&(o===r&&(o=Object.assign({},r)),o._rev=n),o}}
1apply(e){Re("Applying mutation %O to document %O",this.mutations,e),this.compiled||this.compile();const t=this.compiled(e);return Re(" => %O",t),t}static applyAll(e,t){return t.reduce(((e,t)=>t.apply(e)),e)}static squash(e,t){const n=t.reduce(((e,t)=>e.concat(...t.mutations)),[]);return new Pe({mutations:n})}}var Ie=Object.defineProperty,Fe=(e,t,n)=>(((e,t,n)=>{t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class Ze{constructor(e){Fe(this,"incoming",[]),Fe(this,"submitted",[]),Fe(this,"pending",[]),Fe(this,"HEAD"),Fe(this,"EDGE"),Fe(this,"onRebase"),Fe(this,"onMutation"),Fe(this,"onConsistencyChanged"),Fe(this,"onRemoteMutation"),Fe(this,"inconsistentAt",null),Fe(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 new Error("Mutations _must_ have transactionId when submitted");this.lastStagedAt=new Date,Re("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});const 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;const n=[];if(this.HEAD&&this.HEAD._updatedAt){const e=new Date(this.HEAD._updatedAt);this.incoming.find((t=>t.timestamp&&t.timestamp<e))&&(this.incoming=this.incoming.filter((t=>t.timestamp&&t.timestamp<e)))}let r=0;do{if(this.HEAD){const t=this.HEAD;e=t._rev?this.incoming.find((e=>e.previousRev===t._rev)):void 0}else e=this.incoming.find((e=>e.appliesToMissingDocument()));if(e){const o=this.applyIncoming(e);if(t=t||o,t&&n.push(e),r++>10)throw new Error("Mutator stuck flushing incoming mutations. Probably stuck here: ".concat(JSON.stringify(e)))}}while(e);this.incoming.length>0&&Re.enabled&&Re("Unable to apply mutations %s",this.incoming.map((e=>e.transactionId)).join(", ")),t&&this.rebase(n)}updateConsistencyFlag(){const 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&&(Re(t?"Buffered document is inconsistent":"Buffered document is consistent"),this.onConsistencyChanged(t))}applyIncoming(e){if(!e)return!1;if(!e.transactionId)throw new Error("Received incoming mutation without a transaction ID");if(Re("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()){const t=this.consumeUnresolved(e.transactionId);return Re.enabled&&(Re("Incoming mutation ".concat(e.transactionId," appeared while there were pending or submitted local mutations")),Re("Submitted txnIds: ".concat(this.submitted.map((e=>e.transactionId)).join(", "))),Re("Pending txnIds: ".concat(this.pending.map((e=>e.transactionId)).join(", "))),Re("needRebase === %s",t)),t}return Re("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 Re("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 Re("Remote mutation %s matches upcoming pending mutation, consumed from 'pending' buffer",e),this.pending.shift(),!1;return Re("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)),Re("After scrubbing: Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),!0}pendingSuccessfullySubmitted(e){if(0===this.pending.length)return;const t=this.pending[0];if(t.transactionId===e)return this.pending.shift(),void this.submitted.push(t);let n;const r=[];this.pending.forEach((t=>{t.transactionId!==e?r.push(t):n=t})),n&&this.submitted.push(n),this.pending=r,this.rebase([])}pendingFailed(e){this.pending=this.pending.filter((t=>t.transactionId!==e)),this.rebase([])}rebase(e){const t=this.EDGE;this.EDGE=Pe.applyAll(this.HEAD,this.submitted.concat(this.pending)),null!==t&&null!==this.EDGE&&(t._rev=this.EDGE._rev);!u()(this.EDGE,t)&&this.onRebase&&this.onRebase(this.EDGE,e,this.pending)}}var Ne=Object.defineProperty,He=(e,t,n)=>(((e,t,n)=>{t in e?Ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class Be{constructor(e){He(this,"BASIS"),He(this,"PRESTAGE"),He(this,"setOperations"),He(this,"documentPresent"),He(this,"out",[]),He(this,"staged"),He(this,"dmp"),e?Re("Reset mutation buffer to rev %s",e._rev):Re("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&&(Re("Purged mutation buffer"),t=new Pe({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){const t=e.patch.set,n={};for(const e of Object.keys(t))t.hasOwnProperty(e)&&(this.optimiseSetOperation(e,t[e])||(n[e]=t[e]));Object.keys(n).length>0&&(Re("Unoptimizable set-operation detected, purging optimization buffer"),this.staged.push({patch:{id:this.PRESTAGE._id,set:n}}),this.stashStagedOperations())}else e.createIfNotExists&&this.PRESTAGE&&e.createIfNotExists._id===this.PRESTAGE._id?this.documentPresent||(this.staged.push(e),this.documentPresent=!0,this.stashStagedOperations()):(Re("Unoptimizable mutation detected, purging optimization buffer"),this.staged.push(e),this.stashStagedOperations())}optimiseSetOperation(e,t){if("object"===typeof t)return!1;const n=function(e,t){return Y(e,t).map((e=>({path:e.path,value:e.get()})))}(e,this.PRESTAGE);if(1!==n.length)return!1;const r=n[0];if("object"===typeof r.value)return!1;if(!this.PRESTAGE)return!1;let o=null;if(r.value===t)o=null;else if("string"===typeof r.value&&"string"===typeof t)try{const n=this.dmp.patch_make(r.value,t).map((e=>e.toString())).join("");o={patch:{id:this.PRESTAGE._id,diffMatchPatch:{[e]:n}}}}catch{return!1}else o={patch:{id:this.PRESTAGE._id,set:{[e]:t}}};const i=Q(r.path);return o?this.setOperations[i]=o:delete this.setOperations[i],!0}stashStagedOperations(){const e=[];
1Object.keys(this.setOperations).forEach((t=>{const n=this.setOperations[t];n&&e.push(n)})),e.push(...this.staged),e.length>0&&(this.PRESTAGE=new Pe({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 Pe({mutations:this.out}).apply(this.BASIS):this.PRESTAGE=this.BASIS),this.PRESTAGE}}var Ve=Object.defineProperty,ze=(e,t,n)=>(((e,t,n)=>{t in e?Ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class Ue{constructor(e,t){let{resolve:n,reject:r}=t;ze(this,"mutations"),ze(this,"tries"),ze(this,"resolve"),ze(this,"reject"),this.mutations=e,this.tries=0,this.resolve=n,this.reject=r}apply(e){return Pe.applyAll(e,this.mutations)}squash(e){const t=Pe.squash(e,this.mutations);return t.assignRandomTransactionId(),t}}const We=(e,t)=>e.concat(t.mutations);class $e{constructor(e){ze(this,"mutations"),ze(this,"document"),ze(this,"LOCAL"),ze(this,"commits"),ze(this,"buffer"),ze(this,"onMutation"),ze(this,"onRemoteMutation"),ze(this,"onRebase"),ze(this,"onDelete"),ze(this,"onConsistencyChanged"),ze(this,"commitHandler"),ze(this,"committerRunning",!1),this.buffer=new Be(e),this.document=new Ze(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?Re("Document state reset to revision %s",e._rev):Re("Document state reset to being deleted"),this.document.reset(e),this.rebase([],[]),this.handleDocConsistencyChanged(this.document.isConsistent())}add(e){this.onConsistencyChanged&&this.onConsistencyChanged(!1),Re("Staged local mutation"),this.buffer.add(e);const t=this.LOCAL;this.LOCAL=e.apply(this.LOCAL),this.onMutation&&t!==this.LOCAL&&(Re("onMutation fired"),this.onMutation({mutation:e,document:this.LOCAL,remote:!1}),null===this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL))}arrive(e){if(Re("Remote mutation arrived %s -> %s",e.previousRev,e.resultRev),e.previousRev===e.resultRev)throw new 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())return void e();Re("Committing local changes");const n=this.buffer.purge();this.commits.push(new Ue(n?[n]:[],{resolve:e,reject:t})),this.buffer=new Be(this.LOCAL),this.performCommits()}))}performCommits(){if(!this.commitHandler)throw new Error("No commitHandler configured for this BufferedDocument");this.committerRunning||this._cycleCommitter()}_cycleCommitter(){const e=this.commits.shift();if(!e)return void(this.committerRunning=!1);this.committerRunning=!0;const t=e.squash(this.LOCAL),n=this.document.stage(t,!0),r={success:()=>{Re("Commit succeeded"),n.success(),e.resolve(),this._cycleCommitter()},failure:()=>{Re("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 Be(this.LOCAL),this.committerRunning=!1}};Re("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(){Re("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())return Re("Document mutated from remote with no local changes"),this.LOCAL=this.document.EDGE,this.buffer=new Be(this.LOCAL),void(this.onMutation&&this.onMutation(e));Re("Document mutated from remote with local changes"),null===this.document.EDGE&&this.handleDocumentDeleted(),this.rebase([e.mutation],[])}rebase(e,t){Re("Rebasing document"),null===this.document.EDGE&&this.handleDocumentDeleted();const 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);!u()(this.LOCAL,n)&&this.onRebase&&this.onRebase(this.LOCAL,e.reduce(We,[]),t.reduce(We,[]))}handleDocConsistencyChanged(e){if(!this.onConsistencyChanged)return;const 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 o(e){return o="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},o(e)}t.log=function(){var e;return"object"===("undefined"===typeof console?"undefined":o(console))&&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)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,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){}!e&&"undefined"!==typeof r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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),t|=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=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var i=a,s=Number(new Date),u=s-(n||s);i.diff=u,i.prev=n,i.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!==typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var o=r.formatters[n];if("function"===typeof o){var a=t[l];e=o.call(i,a),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var c=i.log||r.log;c.apply(i,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=o,a.extend=i,"function"===typeof r.init&&r.init(a),r.instances.push(a),a}function o(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+("undefined"===typeof t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"===typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;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 o(e){return o="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},o(e)}t.log=function(){var e;return"object"===("undefined"===typeof console?"undefined":o(console))&&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)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,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){}!e&&"undefined"!==typeof r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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),t|=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=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var i=a,s=Number(new Date),u=s-(n||s);i.diff=u,i.prev=n,i.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!==typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var o=r.formatters[n];if("function"===typeof o){var a=t[l];e=o.call(i,a),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var c=i.log||r.log;c.apply(i,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=o,a.extend=i,"function"===typeof r.init&&r.init(a),r.instances.push(a),a}function o(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+("undefined"===typeof t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"===typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;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 ke},_T:function(){return j},jA:function(){return Me}});var r=n(85564),o=n.n(r),i=n(27361),a=n.n(i),s=n(44908),u=n.n(s),l=n(68630),c=n.n(l),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),b=n(12937),w=n.n(b),x=n(91966),C=n.n(x);const k={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",STANDALONE_BLOCK_TYPE:"schema-standalone-block-type"};function E(e,t,n){if(n&&!Object.keys(k).some((e=>k[e]===n)))throw new Error('Used the unknown helpId "'.concat(n,'", please add it to the array in createValidationResult.js'));return{severity:e,message:t,helpId:n}}const _=(e,t)=>E("error",e,t),S=(e,t)=>E("warning",e,t);function j(e){return o()(e.map((e=>Z(e)))).filter((e=>e.problems.length>0))}function M(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>a()(t,e);return function(n,r){const i=[...r,{kind:"type",type:n.type,name:n.name}],a=t(n)||[],s=Array.isArray(a)?a.map((t=>{const n={kind:"property",name:e};return Z(t,[...i,n])})):[[{path:i,problems:[_("Member declaration (".concat(e,") is not an array"))]}]];return[{path:i,problems:n._problems||[]},...o()(s)]}}const O=M("fields"),A=M("fields"),T=M("fields"),R=M("of"),L=M("to",(e=>{return"to"in e?(t=e.to,Array.isArray(t)?t:"undefined"===typeof t&&[]||[t]):[];var t})),D=M("marks.annotations"),P=M("of"),I=(e,t)=>[...D(e,t),...P(e,t)];function F(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||[]}]}function Z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];switch(e.type){case"object":case"document":return O(e,t);case"array":return R(e,t);case"reference":return L(e,t);case"block":return I(e,t);case"image":return A(e,t);case"file":return T(e,t);default:return F(e,t)}}function N(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;const n=e.reduce(((e,n)=>{const 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)}const H=e=>e,B={name:"type",type:null},V=["any","time","date"];const z=[{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"}],U=z.map((e=>e.name));function W(e,t){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]:H;const r=Object.create(null),i=Object.create(null),a=t.map((e=>e.name)),s=V.concat(a),l=e.map((e=>e&&e.name)).filter(Boolean);function c(e){return"type"===e?B:r[e]||i[e]||null}t.forEach((e=>{r[e.name]=e})),e.forEach(((e,t)=>{i[e&&e.name||"__unnamed_".concat(t)]={}}));const d=u()(o()(N(l)));function f(e){return d.includes(e)}function h(){return l.concat(a)}function p(e){return"type"===e||s.includes(e)}const 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(i[e&&e.name||"__unnamed_".concat(t)],g(!0)(e,t))})),{get(e){const t=i[e]||r[e];
1if(t)return t;throw new Error("No such type: ".concat(e))},has:e=>e in i||e in r,getTypeNames:()=>Object.keys(i),getTypes(){return this.getTypeNames().map(this.get)},toJSON(){return this.getTypes()}}}(e,z,t)}const $=/^Symbol\(react\..+\)$/;function q(e){return"function"===typeof e||"symbol"===typeof(null==e?void 0:e.$$typeof)&&$.test(String(null==e?void 0:e.$$typeof))}function G(e){const t="components"in e&&e.components;if(!t)return[];const n=[];return t.input&&!q(t.input)&&n.push(S("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&&!q(t.field)&&n.push(S("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&&!q(t.item)&&n.push(S("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&&!q(t.preview)&&n.push(S("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}const Y=/^[A-Za-z]+[0-9A-Za-z_]*$/,K=/^[A-Za-z_]+[0-9A-Za-z_]*$/;function X(e,t){if(!c()(e))return[_("Incorrect type for field definition - should be an object, saw ".concat(f()(e)),k.OBJECT_FIELD_DEFINITION_INVALID_TYPE)];const n=[];var r;return n.push(..."name"in e?(r=e.name,"string"!==typeof r?[_('Field names must be strings. Saw "'.concat(f()(r),'"'),k.OBJECT_FIELD_NAME_INVALID)]:r.startsWith("_")?[_('Invalid field name "'.concat(r,'". Field names cannot start with underscores "_" as it\'s reserved for system fields.'),k.OBJECT_FIELD_NAME_INVALID)]:Y.test(r)?K.test(r)?[]:[S("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."),k.OBJECT_FIELD_NAME_INVALID]:[_('Invalid field name: "'.concat(r,'". 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(Y),")."),k.OBJECT_FIELD_NAME_INVALID)]):[_("Missing field name",k.OBJECT_FIELD_NAME_INVALID)]),n.push(...G(e)),n}function J(e){const t={};return 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)}function Q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{allowEmpty:!1};const n=[],r=Array.isArray(e);if(!r)return[_('The "fields" property must be an array of fields. Instead saw "'.concat(typeof e,'"'),k.OBJECT_FIELDS_INVALID)];const o=e.filter((e=>"string"===typeof e.name));J(o).forEach((e=>{n.push(_("Found ".concat(e.length,' fields with name "').concat(e[0].name,'" in object'),k.OBJECT_FIELD_NOT_UNIQUE))})),0!==e.length||t.allowEmpty||n.push(_("Object should have at least one field",k.OBJECT_FIELDS_INVALID));const i=e.filter((e=>"block"===e.type)).map((e=>'"'.concat(e.name,'"')));if(i.length>0){const e=i.join(", ");n.push(_("Invalid standalone block field(s) ".concat(e,". Block content must be defined as an array of blocks"),k.STANDALONE_BLOCK_TYPE))}return n}var ee=(e,t)=>{let n=Q(e.fields),r=e.preview;if(r){const t=function(e){return c()(e)?"undefined"!==typeof e.prepare&&"function"!==typeof e.prepare?[_('The "preview.prepare" property must be a function, instead saw "'.concat(typeof e.prepare,'"'))]:e.select?c()(e.select)?Object.keys(e.select).reduce(((t,n)=>"string"===typeof e.select[n]?t:t.concat(_('The key "'.concat(n,'" of "preview.select" must be a string, instead saw "').concat(typeof e.select[n],'"')))),[]):[_('The "preview.select" property must be an object, instead saw "'.concat(typeof e.prepare,'"'))]:[]:[_('The "preview" property must be an object, instead saw "'.concat(typeof e,'"'))]}(e.preview);n=n.concat(t),r=t.some((e=>
1"error"===e.severity))?{}:r}return"document"!==e.type&&"object"!==e.type&&"undefined"!==typeof 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)=>{const{name:r,...o}=e,{_problems:i,...a}=t.visit(o,n);return{name:r,...a,_problems:X(e).concat(i||[])}})),_problems:n}};function te(e){return"string"===e||"number"===e||"boolean"===e}function ne(e){return'"'.concat(e,'"')}function re(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"s";return 1===e.length?"":t}function oe(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(ne))):ne(e)}const ie=["dimensions","hasAlpha","isOpaque"];function ae(e,t,n){if("jsonType"in e)return e.jsonType===t;const r=n.getType(e.type);if(!r)throw new Error("Could not resolve jsonType of ".concat(e.name,". No parent type found"));return ae(r,t,n)}const se=e=>Array.isArray(e)?"array":typeof e,ue=e=>'"'.concat(e,'"'),le=["components","lists","marks","name","of","options","styles","title","type","validation"],ce=["decorators","annotations"],de=["blockEditor","title","value","component"],fe=["blockEditor","title","value","icon","component"],he=["title","value","icon","component"];function pe(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.')]:[]}const ge=e=>'"'.concat(e,'"');function me(e,t){const n=t.getTypeNames();if(!e)return[_("Type is missing a type. Valid types are: ".concat(m()(n)),k.TYPE_MISSING_TYPE)];if("string"!==typeof e)return[_('Type has an invalid "type"-property - should be a string. Valid types are: '.concat(m()(n)),k.TYPE_MISSING_TYPE)];if(!n.includes(e)){const t=n.map((t=>[w()(e,t),t])).filter((e=>{let[t]=e;return t<3})).map((e=>{let[t,n]=e;return n})),r=t.length>0?" Did you mean ".concat(m()(t.map(ge),{conjunction:"or"}),"?"):"";return[_("Unknown type: ".concat(e,".").concat(r,"\n\nValid types are: ").concat(m()(n)))]}return[]}function ve(e){var t,n,r;const o=[];return(null==e?void 0:e.inputComponent)&&o.push(S('The "inputComponent" property is deprecated. Use "components.input" instead.')),(null==(t=null==e?void 0:e.preview)?void 0:t.component)&&o.push(S('The "preview.component" property is deprecated. Use "components.preview" instead.')),(null==e?void 0:e.diffComponent)&&o.push(S('The "diffComponent" property is deprecated. Use "components.diff" instead.')),(null==(n=null==e?void 0:e.options)?void 0:n.editModal)&&o.push(S('The "options.editModal" property is deprecated. Use "options.modal" instead.')),(null==(r=null==e?void 0:e.options)?void 0:r.isHighlighted)&&o.push(S('The "options.isHighlighted" property is deprecated. You can put fields behind a collapsed fieldset if you want to hide them from plain sight.')),o}var ye=(e,t)=>({...e,_problems:[...me(e.type,t),...pe(e,t),...ve(e)].filter(Boolean)}),be=(e,t)=>{const 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.",k.TYPE_INVALID)]};const r=[];return!function(e){return!e.name&&e.default&&(e.default.name||e.default.title)}(e)?n?t.isReserved(e.name)&&r.push(_('Invalid type name: "'.concat(e.name,'" is a reserved name.'),k.TYPE_NAME_RESERVED)):r.push(_("Missing type name",k.TYPE_MISSING_NAME)):r.push(_("Type appears to be an ES6 module imported through CommonJS require - use an import statement or access the `.default` property",k.TYPE_IS_ESM_MODULE)),t.isDuplicate(e.name)&&r.push(_('Invalid type name: A type with name "'.concat(e.name,'" is already defined in the schema.'))),r.push(...G(e)),"title"in e?"string"!==typeof e.title&&r.push(S("Type title is not a string.",k.TYPE_TITLE_INVALID)):r.push(S("Type is missing title. It's recommended to always set a descriptive title.",k.TYPE_TITLE_RECOMMENDED)),{...e,_problems:r}};const we=/^[a-z0-9~][-_a-z0-9]+$/;const xe={array:(e,t)=>{var n,r,i;const a=Array.isArray(e.of);if(a){const n=e.of.reduce(((e,n,r)=>{if("string"===typeof n.name&&n.name!==n.type&&U.includes(n.name))return 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.'),k.ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT));if("object"===n.type&&n.name&&t.getType(n.name))return e.concat(S('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."),k.ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT));if("array"===n.type)return e.concat(_('Found array member declaration of type "array" - multidimensional arrays are not currently supported by Sanity',k.ARRAY_OF_ARRAY));if(n)return e;const o="Found ".concat(null===n?"null":typeof n,", expected member declaration");return e.concat(_("Found invalid type member declaration in array at index ".concat(r,": ").concat(o),k.ARRAY_OF_INVALID))}),[]);if(n.length>0)return{...e,of:[],_problems:n}}const s=o()([a?N(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'),k.ARRAY_OF_NOT_UNIQUE))):_('The array type is missing or having an invali
1d value for the required "of" property',k.ARRAY_OF_INVALID)]),u=a?e.of:[],l=u.some((e=>"object"===e.type&&"undefined"===typeof e.name));u.some((e=>"block"===e.type))&&l&&s.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.",k.ARRAY_OF_INVALID));const[c,d]=p()(u,(e=>{var n;return te(e.type)||te(null==(n=t.getType(e.type))?void 0:n.jsonType)})),f=c.length>0&&d.length>0;if(f){const e=c.map((e=>e.type)),t=d.map((e=>e.type));s.push(_("The array type's 'of' property can't have both object types and primitive types (found primitive type ".concat(re(e)," ").concat(m()(e.map(ne))," and object type").concat(re(t)," ").concat(m()(t.map(ne)),")"),k.ARRAY_OF_INVALID))}const h=null==(n=null==e?void 0:e.options)?void 0:n.list;if(!f&&Array.isArray(h)){c.length>0?h.forEach((e=>{var n;const r=null!=(n=null==e?void 0:e.value)?n:e;if(!c.some((e=>typeof r===t.getType(e.type).jsonType))){const e=m()(c.map((e=>e.name||e.type)),{conjunction:"or"});s.push(_("An invalid entry found in options.list: ".concat(oe(r),". Must be either a value of type ").concat(e,", or an object with {title: string, value: ").concat(e,"}"),k.ARRAY_PREDEFINED_CHOICES_INVALID))}})):h.forEach((e=>{const t=e._type||"object";d.some((e=>{return n=t,("string"===typeof(r=e).name?r.name:r.type)===n;var n,r}))||s.push(_("An invalid entry found in options.list: ".concat(oe(e),'. Must be an object with "_type" set to ').concat(m()(d.map((e=>e.name||e.type)).map((e=>"object"===e?"undefined":ne(e))),{conjunction:"or"})),k.ARRAY_PREDEFINED_CHOICES_INVALID))}))}return(null==(r=null==e?void 0:e.options)?void 0:r.list)&&"tags"===(null==(i=null==e?void 0:e.options)?void 0:i.layout)&&s.push(S("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:s}},object:ee,slug:(e,t)=>{const n=[];return e.options&&e.options.slugifyFn&&(n.push(S('Heads up! The "slugifyFn" option has been renamed to "slugify".',k.SLUG_SLUGIFY_FN_RENAMED)),e.options.slugify=e.options.slugifyFn),{...e,_problems:n}},file:(e,t)=>{const n=[],r=e.fields;r&&n.push(...Q(r,{allowEmpty:!0}));const o=Array.isArray(r)?null==r?void 0:r.filter((e=>"asset"===e.name)):[];return e.options&&"undefined"!==typeof e.options.metadata&&!Array.isArray(e.options.metadata)?n.push(_("Invalid type for file `metadata` field - must be an array of strings",k.ASSET_METADATA_FIELD_INVALID)):o.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)=>{const{name:r,...o}=e,{_problems:i,...a}=t.visit(o,n);return{name:r,...a,_problems:X(e).concat(i||[])}})),_problems:n}},image:(e,t)=>{const n=[],r=e.fields;r&&n.push(...Q(r,{allowEmpty:!0}));let o=e.options;const i=null==o?void 0:o.metadata,a=Array.isArray(i)?i.filter((e=>ie.includes(e))):[],s=["asset","hotspot","crop"],u=Array.isArray(r)?null==r?void 0:r.filter((e=>s.includes(e.name))):[];return"undefined"===typeof i||Array.isArray(i)?a.length>0?(n.push(S("Image `metadata` field contains superfluous properties (they are always included): ".concat(a.join(", ")))),o={...o,metadata:i.filter((e=>!ie.includes(e)))}):u.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",k.ASSET_METADATA_FIELD_INVALID)),{...e,options:o,fields:(Array.isArray(r)?r:[]).map(((e,n)=>{const{name:r,...o}=e,{_problems:i,...a}=t.visit(o,n);return{name:r,...a,_problems:X(e).concat(i||[])}})),_problems:n}},block:function(e,t){const n=[];let r=e.styles,o=e.lists,i=e.marks,a=e.of;const s=Object.keys(e).filter((e=>!le.includes(e)&&!e.startsWith("_")));return s.length>0&&n.push(_("Found unknown properties for block declaration: ".concat(m()(s.map(ue))))),i&&(i=function(e,t,n){let r=e.decorators,o=e.annotations;if(!c()(e))return n.push(_('"marks" declaration should be an object, got '.concat(se(e)))),n;const i=Object.keys(e).filter((e=>!ce.includes(e)&&!e.startsWith("_")));i.length>0&&n.push(_("Found unknown properties for block declaration: ".concat(m()(i.map(ue)))));r&&!Array.isArray(r)?n.push(_('"marks.decorators" declaration should be an array, got '.concat(se(r)))):r&&(r.filter((e=>
1!!e.blockEditor)).forEach((e=>{e.icon=e.blockEditor.icon,e.component=e.blockEditor.render})),r=function(e,t,n){return e.forEach(((e,t)=>{if(!c()(e))return void n.push(_("Annotation must be an object, got ".concat(se(e))));const r=e.value||"#".concat(t),o=Object.keys(e).filter((e=>!fe.includes(e)&&!e.startsWith("_")));o.length>0&&n.push(_("Found unknown properties for decorator ".concat(r,": ").concat(m()(o.map(ue))))),e.value?"string"!==typeof e.value?n.push(_("Decorator #".concat(t,' has an invalid "value" property, expected string, got ').concat(se(e.value)))):e.title||n.push(S("Decorator ".concat(r,' is missing recommended "title" property'))):n.push(_("Decorator #".concat(t,' is missing required "value" property'))),"undefined"!==typeof e.blockEditor&&(n.push(S('Decorator "'.concat(r,'" has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.'),k.DEPRECATED_BLOCKEDITOR_KEY)),e.icon=e.icon||e.blockEditor.icon,e.component=e.component||e.blockEditor.render)})),e}(r,0,n));o&&!Array.isArray(o)?n.push(_('"marks.annotations" declaration should be an array, got '.concat(se(o)))):o&&(o=function(e,t,n){return e.map((e=>{var r,o;if(!c()(e))return{...e,_problems:[_("Annotation must be an object, got ".concat(se(e)))]};const{_problems:i}=t.visit(e,t),a=e.type&&t.getType(e.type);return a&&!ae(a,"object",t)&&i.push(_('Annotation cannot have type "'.concat(e.type,'" - annotation types must inherit from object'))),"undefined"!==typeof e.blockEditor&&(n.push(S('Annotation has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',k.DEPRECATED_BLOCKEDITOR_KEY)),e.icon=e.icon||e.blockEditor.icon,(null==(r=e.blockEditor)?void 0:r.render)&&!(null==(o=e.components)?void 0:o.annotation)&&(e.components=e.components||{},e.components.annotation=e.components.annotation||e.blockEditor.render)),{...e,_problems:i}}))}(o,t,n));return{...e,decorators:r,annotations:o}}(e.marks,t,n)),r&&(r=function(e,t,n){if(!Array.isArray(e))return n.push(_('"styles" declaration should be an array, got '.concat(se(e)))),n;return e.forEach(((e,t)=>{if(!c()(e))return void n.push(_("Style must be an object, got ".concat(se(e))));const r=e.value||"#".concat(t),o=Object.keys(e).filter((e=>!de.includes(e)&&!e.startsWith("_")));o.length>0&&n.push(_("Found unknown properties for style ".concat(r,": ").concat(m()(o.map(ue))))),e.value?"string"!==typeof e.value?n.push(_("Style #".concat(t,' has an invalid "value" property, expected string, got ').concat(se(e.value)))):e.title||n.push(S("Style ".concat(r,' is missing recommended "title" property'))):n.push(_("Style #".concat(t,' is missing required "value" property'))),"undefined"!==typeof e.blockEditor&&(n.push(S('Style has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',k.DEPRECATED_BLOCKEDITOR_KEY)),e.component=e.component||e.blockEditor.render)})),e}(r,0,n)),o&&(o=function(e,t,n){if(!Array.isArray(e))return n.push(_('"lists" declaration should be an array, got '.concat(se(e)))),n;return e.forEach(((e,t)=>{if(!c()(e))return void n.push(_("List must be an object, got ".concat(se(e))));const r=e.value||"#".concat(t),o=Object.keys(e).filter((e=>!he.includes(e)&&!e.startsWith("_")));o.length>0&&n.push(_("Found unknown properties for list ".concat(r,": ").concat(m()(o.map(ue))))),e.value?"string"!==typeof e.value?n.push(_("List type #".concat(t,' has an invalid "value" property, expected string, got ').concat(se(e.value)))):e.title||n.push(S("List type ".concat(r,' is missing recommended "title" property'))):n.push(_("List #".concat(t,' is missing required "value" property')))})),e}(o,0,n)),a&&(a=function(e,t,n){if(!Array.isArray(e))return void n.push(_('"of" declaration should be an array, got '.concat(se(e))));return e.map((e=>{const{_problems:n}=t.visit(e,t);return{...e,_problems:n}}))}(a,t,n)),{...y()(e,s),marks:i,styles:r,name:e.name||e.type,of:a,_problems:n}},document:(e,t)=>{const n=ee(e,t),{initialValue:r,initialValues:o}=n;return"undefined"!==typeof r&&!c()(r)&&"function"!==typeof r&&n._problems.push(_('The "initialValue" property must be either a plain object or a function')),"undefined"!==typeof o&&n._problems.push(_('Found property "initialValues" - did you mean "initialValue"?')),n},reference:(e,t)=>{const n=Array.isArray(e.to)||c()(e.to),r=function(e){return Array.isArray(e.to)?e.to:e.to?[e.to]:e.to}(e),i=o()([n?N(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'),k.REFERENCE_TO_INVALID))):_('The reference type is missing or having an invali
1d value for the required "to" property. It should be an array of accepted types.',k.REFERENCE_TO_INVALID)]);return n&&0===r.length&&i.push(_('The reference type should define at least one accepted type. Please check the "to" property.',k.REFERENCE_TO_INVALID)),i.push(...function(e){const{options:t}=e,n=[];if(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,"`?"),k.REFERENCE_INVALID_OPTIONS_LOCATION)))),!t)return n;if(!c()(t))return n.concat(_("The reference type expects `options` to be an object",k.REFERENCE_INVALID_OPTIONS));if("function"===typeof t.filter&&"undefined"!==typeof t.filterParams)return 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.",k.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION));if("function"===typeof t.filter||!t.filter&&!t.filterParams)return n;if("string"!==typeof t.filter)return n.concat(_("If set, `filter` must be a string. Got ".concat(typeof t.filter)));if("undefined"!==typeof t.filterParams&&!c()(t.filterParams))return n.concat(_("If set, `filterParams` must be an object."));if(t.filterParams)return n.concat(Object.keys(t.filterParams).filter((e=>e.startsWith("__")||e.startsWith("$"))).map((e=>_('Filter parameter cannot be prefixed with "$" or "__". Got '.concat(e,'".')))));return n}(e)),{...e,to:(n?r:[]).map(t.visit),_problems:i}},crossDatasetReference:(e,t)=>{const n=Array.isArray(e.to)||c()(e.to),r=function(e){return Array.isArray(e.to)?e.to:e.to?[e.to]:e.to}(e),i=o()([n?N(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'),k.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.',k.CROSS_DATASET_REFERENCE_INVALID)]);if(n&&0===r.length&&i.push(_('The cross dataset reference type should define at least one referenced type. Please check the "to" property.',k.CROSS_DATASET_REFERENCE_INVALID)),r.forEach(((e,t)=>{e.type||i.push(_("The referenced type at index ".concat(t," must be named. Specify the name of the type you want to create references to."),k.CROSS_DATASET_REFERENCE_INVALID)),c()(e.preview)||i.push(_('Missing required preview config for the referenced type "'.concat(e.type||"<unknown type>",'"'),k.CROSS_DATASET_REFERENCE_INVALID))})),"string"===typeof e.dataset){const t=(a=e.dataset).length>=2&&a.toLowerCase()===a&&we.test(a)||'The provided dataset "'.concat(a,"\" 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");!0!==t&&i.push(_(t,k.CROSS_DATASET_REFERENCE_INVALID))}else i.push(_("A cross dataset reference must specify a `dataset`",k.CROSS_DATASET_REFERENCE_INVALID));var a;return e.studioUrl&&"function"!==typeof e.studioUrl&&i.push(_('The "studioUrl" property on a cross dataset reference must be a function taking "{id, type}" as argument and returning a studio url.',k.CROSS_DATASET_REFERENCE_INVALID)),i.push(...function(e){const{options:t}=e,n=[];if(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,"`?"),k.REFERENCE_INVALID_OPTIONS_LOCATION)))),!t)return n;if(!c()(t))return n.concat(_("The reference type expects `options` to be an object",k.REFERENCE_INVALID_OPTIONS));if("function"===typeof t.filter&&"undefined"!==typeof t.filterParams)return 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.",k.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION));if("function"===typeof t.filter||!t.filter&&!t.filterParams)return n;if("string"!==typeof t.filter)return n.concat(_("If set, `filter` must be a string. Got ".concat(typeof t.filter)));if("undefined"!==typeof t.filterParams&&!c()(t.filterParams))return n.concat(_("If set, `filterParams` must be an object."));if(t.filterParams)return n.concat(Object.keys(t.filterParams).filter((e=>e.startsWith("__")||e.startsWith("$"))).map((e=>_('Filter parameter cannot be prefixed with "$" or "__". Got '.concat(e,'".')))));return n}(e)),{...e,_problems:i}}};function Ce(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(e,n)=>t.reduce(((e,t)=>{const r=t(e,n);return{...r,_problems:e._problems.concat(r._problems)}}),{_problems:[],...e})}function ke(e){return W(e,((e,t)=>
1{const n=e&&e.type&&xe[e.type]||(e=>t=>({name:"<unnamed_type_@_index_".concat(e.index,">"),...t,_problems:[]}))(t);return t.isRoot?Ce(be,ye,n)(e,t):Ce(ye,n)(e,t)}))}const Ee="__experimental_actions",_e=["create","update","delete","publish"],Se=_e,je=e=>((e,t)=>{if(!Array.isArray(t))throw new Error("The value of <type>.".concat(Ee," should be an array with any of the actions ").concat(Se.join(", ")));const n=C()(t,Se);if(n.length>0)throw new Error("Invalid action".concat(n.length>1?"s":"",' configured for schema type "').concat(e,'": ').concat(n.join(", "),". Valid actions are: ").concat(Se.join(", ")));return t})(e.name,(e=>Ee in e?e[Ee]:_e)(e)),Me=(e,t)=>je(e).includes(t)},42076:function(e,t,n){"use strict";n.d(t,{V:function(){return Dt}});var r=n(78718),o=n.n(r),i=n(57557),a=n.n(i),s=n(61021),u=n.n(s),l=n(84596),c=n.n(l),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),b=n(52353),w=n.n(b),x=n(48403),C=n.n(x),k=n(68630),E=n.n(k),_=n(30084),S=n.n(_),j=n(45578),M=n.n(j);const O=["jsonType","type","name","title","description","options","fieldsets","validation","readOnly","hidden","components","diffComponent","initialValue"],A=[...O],T={name:"any",type:null,jsonType:"any"},R={get:()=>T,extend:(e,t)=>function e(t){return{get:()=>t,extend:n=>{if(n.of)throw new Error('Cannot override `of` property of subtypes of "array"');const r=Object.assign({},t,o()(n,A),{type:t});return e(r)}}}(Object.assign(o()(T,A),e,{type:T,of:e.of.map((e=>({name:e.name,type:t(a()(e,"name"))})))}))};var L={prepare:e=>({title:String(e)})};const D=[...O],P={name:"string",title:"String",type:null,jsonType:"string"},I={get:()=>P,extend:e=>function e(t){return{get:()=>t,extend:n=>{const r=Object.assign({},t,o()(n,D),{type:t});return e(r)}}}(Object.assign(o()(P,D),e,{type:P,preview:L}))},F=[...O,"rows"],Z={name:"text",title:"Text",type:null,jsonType:"string"},N={get:()=>Z,extend:e=>function e(t){return{get:()=>t,extend:n=>{const r=Object.assign({},t,o()(n,F),{type:t});return e(r)}}}(Object.assign(o()(Z,F),e,{type:Z,preview:L}))},H=[...O],B={name:"datetime",title:"Datetime",type:null,jsonType:"string"},V={get:()=>B,extend:e=>function e(t){return{get:()=>t,extend:n=>{const r=Object.assign({},t,o()(n,H),{type:t});return e(r)}}}(Object.assign(o()(B,H),e,{type:B,preview:L}))},z=[...O],U={name:"date",title:"Datetime",type:null,jsonType:"string"},W={get:()=>U,extend:e=>function e(t){return{get:()=>t,extend:n=>{const r=Object.assign({},t,o()(n,z),{type:t});return e(r)}}}(Object.assign(o()(U,z),e,{type:U,preview:L}))},$=[...O],q={name:"boolean",title:"Boolean",type:null,jsonType:"boolean"},G={get:()=>q,extend:e=>function e(t){return{get:()=>t,extend:n=>{const r=Object.assign({},t,o()(n,$),{type:t});return e(r)}}}(Object.assign(o()(q,$),e,{type:q,preview:L}))},Y=[...O],K={name:"url",title:"Url",type:null,jsonType:"string"},X={get:()=>K,extend:e=>function e(t){return{get:()=>t,extend:n=>{const r=Object.assign({},t,o()(n,Y),{type:t});return e(r)}}}(Object.assign(o()(K,Y),e,{type:K,preview:L}))},J=[...O],Q={name:"email",title:"Email",type:null,jsonType:"string"},ee={get:()=>Q,extend:e=>function e(t){return{get:()=>t,extend:n=>{const r=Object.assign({},t,o()(n,J),{type:t});return e(r)}}}(Object.assign(o()(Q,J),e,{type:Q,preview:L}))},te=[...O],ne={name:"number",title:"Number",type:null,jsonType:"number"},re={get:()=>ne,extend:e=>function e(t){return{get:()=>t,extend:n=>{const r=Object.assign({},t,o()(n,te),{type:t});return e(r)}}}(Object.assign(o()(ne,te),e,{type:ne,preview:L}))};function oe(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(){const o=n();return Object.defineProperty(e,t,{value:o,writable:Boolean(r.writable),configurable:!1}),o}}),e}function ie(e,t,n){if(n>t.maxDepth)return"...";if(Array.isArray(e)){if(0===e.length)return"[empty]";const r=Math.max(e.length-t.maxBreadth),o=e.slice(0,t.maxBreadth).map(((e,r)=>ie(e,t,n+1))).concat(r>0?"\u2026+".concat(r):[]).join(", ");return 0===n?o:"[".concat(o,"]")}if("object"===typeof e&&null!==e){const r=Object.keys(e).filter((n=>!t.ignoreKeys.includes(n)&&"undefined"!==typeof e[n]));if(function(e){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}(o()(e,r)))return"{empty}";
1const i=r.slice(0,t.maxBreadth).map((r=>"".concat(r,": ").concat(ie(e[r],t,n+1)))).join(", ");return 0===n?i:"{".concat(i,"}")}const r=String(e);return""===r?'""':r}function ae(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={maxDepth:"maxDepth"in t?t.maxDepth:2,maxBreadth:"maxBreadth"in t?t.maxBreadth:2,ignoreKeys:"ignoreKeys"in t?t.ignoreKeys:[]};return ie(e,n,0)}const se={maxEntries:2,maxDepth:2,maxBreadth:2,ignoreKeys:["_id","_type","_key","_ref"]};function ue(e){return t=>({title:ae(o()(t,e),se)})}function le(e){return"array"===e.type&&e.of&&e.of.some((e=>"block"===e.type))}const ce=["title","name","label","heading","header","caption"],de=["description",...ce];function fe(e,t){return u()(e.to||[]).some((e=>e.type===t))}function he(e){return fe(e,"sanity.imageAsset")}function pe(e){return fe(e,"sanity.fileAsset")}function ge(e){const t={fields:[],...e},n=t.fields.filter((e=>"string"===e.type)).map((e=>e.name)),r=t.fields.filter(le).map((e=>e.name));let o=ce.find((e=>n.includes(e)||r.includes(e))),i=de.find((e=>e!==o&&(n.includes(e)||r.includes(e))));o||(o=n[0]||r[0],i=n[1]||r[1]);const a=t.fields.find((e=>"image"===e.type)),s=function(e){const t=e.fields||[],n=t.find(he);if(n)return n.name;const r=t.find((e=>(e.fields||[]).some(he)));return r?"".concat(r.name,".asset"):void 0}(t);if(!o){const e=function(e){const t=e.fields||[],n=t.find(pe);if(n)return n.name;const r=t.find((e=>(e.fields||[]).some(pe)));return r?"".concat(r.name,".asset"):void 0}(t);e&&(o="".concat(e,".originalFilename")),s&&(o="".concat(s,".originalFilename"))}if(!o&&!s){const e=t.fields.map((e=>e.name));return{select:e.reduce(((e,t)=>(e[t]=t,e)),{}),prepare:ue(e)}}return{select:y()({title:o,description:i,media:a?a.name:s},w())}}function me(e){return function(){var t;(t=e).options&&t.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(t.name,'".\n')),function(e){const 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);return function(e){if(!e)return e;const t=e.select||e.fields||{};return Array.isArray(t)?{...o()(e,["prepare","component"]),select:(n=t,n.reduce(((e,t)=>(e[t]=t,e)),{}))}:{...o()(e,["prepare","component"]),select:t};var n}(e.preview||(e.options||{}).preview)||ge(e)}}const ve=["title","name","label","heading","header","caption","description"],ye=["string","boolean","number"],be=e=>ye.includes(e.type);function we(e){let t=ve.filter((t=>e.fields.some((e=>be(e)&&e.name===t))));return 0===t.length&&(t=e.fields.filter(be).map((e=>e.name))),t.map((e=>({name:e,title:C()(m()(e)),by:[{field:e,direction:"asc"}]})))}function xe(e){if(!Array.isArray(e))throw new 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(!E()(e))throw new Error("Search config must be an object of {path: string, weight: number}");return{weight:"weight"in e?e.weight:1,path:S()(e.path),mapWith:"string"===typeof e.mapWith?e.mapWith:void 0}}))}const Ce=Symbol("__cachedStringFields"),ke=e=>e.type&&"reference"===e.type.name,Ee=["style","list"],_e=e=>"block"===e.name||e.type&&_e(e.type);function Se(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0;if(o<0)return n;const i=t(n,e,r);return"array"===e.jsonType&&Array.isArray(e.of)?je(e,t,i,r,o):"object"===e.jsonType&&Array.isArray(e.fields)&&!ke(e)?Me(e,t,i,r,o):i}function je(e,t,n,r,o){return e.of.reduce(((e,n)=>Se(n,t,e,r,o-1)),n)}function Me(e,t,n,r,o){const i=_e(e);return e.fields.reduce(((e,n)=>{if(i&&Ee.includes(n.name))return e;const a=[n.name].concat("array"===n.type.jsonType?[[]]:[]);return Se(n.type,t,e,r.concat(a),o-1)}),n)}const Oe=[{weight:1,path:["_id"]},{weight:1,path:["_type"]}],Ae={title:10,subtitle:5,description:1.5};function Te(e){var t;const n=null==(t=null==e?void 0:e.preview)?void 0:t.select;return n?Object.keys(n).filter((e=>e in Ae)).map((e=>({weight:Ae[e],path:n[e].split(".")}))):[]}
1function Re(e,t){return Se(e,((e,t,n)=>"string"===t.jsonType?[...e,n]:e),[],[],t)}function Le(e,t){return Se(e,((e,t,n)=>(e=>"array"===e.jsonType&&Array.isArray(e.of)&&e.of.some(_e))(t)?[...e,n]:e),[],[],t)}function De(e){return function(e){return e[Ce]||(e[Ce]=M()([...Oe,...Te(e)],(e=>e.path.join(".")))),e[Ce]}(e)}function Pe(e){return function(e,t){return e[Ce]||(e[Ce]=M()([...Oe,...Te(e),...Re(e,t).map((e=>({weight:1,path:e}))),...Le(e,t).map((e=>({weight:1,path:e,mapWith:"pt::text"})))],(e=>e.path.join(".")))),e[Ce]}(e,4)}const Ie=[...O,"orderings","__experimental_search","blockEditor","icon"],Fe={get:()=>({name:"object",title:"Object",type:null,jsonType:"object"}),extend(e,t){const n={fields:[],...e},r={...n.options||{}},i=Object.assign(o()(this.get(),Ie),n,{type:this.get(),title:n.title||(n.name?m()(n.name):""),options:r,orderings:n.orderings||we(n),fields:n.fields.map((e=>{const{name:n,fieldset:r,group:o,...i}=e;return oe({name:n,group:o,fieldset:r},"type",(()=>t({...i,title:e.title||m()(n)})))}))});return oe(i,"fieldsets",(()=>Ze(n,i.fields))),oe(i,"groups",(()=>function(e,t){var n;const r=(e.groups||[]).map((e=>{const{name:t,title:n,description:r,icon:o,readOnly:i,hidden:a}=e;return{name:t,title:n,description:r,icon:o,readOnly:i,default:e.default,hidden:a,fields:[]}})),o=r.filter((e=>e.default));if(o.length>1)throw new 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"));const i=p()(r,"name");return t.forEach((t=>{if(t.group){const n=c()(t.group);n.length>0&&n.forEach((n=>{var r,o;const a=i[n];if(!a)throw new Error("Field group '".concat(n,"' is not defined in schema for type '").concat(null!=(o=null!=(r=e.name)?r:e.title)?o:"","'"));a.fields.push(t)}))}})),f()(i).filter((e=>e.fields.length>0))}(n,i.fields))),oe(i,"preview",me(n)),oe(i,"__experimental_search",(()=>{const e=n.__experimental_search?xe(n.__experimental_search):null;return e?e.map((e=>"defaults"===e?xe(n):e)):Pe(i)}),{enumerable:!1}),function e(t){return{get:()=>t,extend:r=>{if(r.fields)throw new Error('Cannot override `fields` of subtypes of "object"');const i=Object.assign({},t,o()(r,Ie),{title:r.title||n.title||(n.name?m()(n.name):""),type:t});return oe(i,"__experimental_search",(()=>t.__experimental_search)),e(i)}}}(i)}};function Ze(e,t){const n=(e.fieldsets||[]).map((e=>{const{name:t,title:n,description:r,options:o,group:i,hidden:a,readOnly:s}=e;return{name:t,title:n,description:r,options:o,group:i,fields:[],hidden:a,readOnly:s}})),r=p()(n,"name");return t.map((t=>{if(t.fieldset){const n=r[t.fieldset];if(!n)throw new 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}})).filter(Boolean)}const Ne=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],He=[...O],Be={name:"reference",title:"Reference",type:null,jsonType:"object"};const Ve={get:()=>Be,extend(e,t){if(!e.to)throw new Error('Missing "to" field in reference definition. Check the type '.concat(e.name));const n=Object.assign(o()(Be,He),e,{type:Be});return oe(n,"fields",(()=>Ne.map((e=>{const{name:n,...r}=e;return{name:n,type:t(r)}})))),oe(n,"fieldsets",(()=>Ze(e,n.fields))),oe(n,"to",(()=>u()(e.to).map((e=>t(e))))),oe(n,"title",(()=>{return e.title||((t=n).to&&0!==t.to.length?"Reference to ".concat(function(e,t){const n=e.length;if(1===n)return e[0];const r=e.slice(0,n-1),o=e[n-1];return"".concat(r.join(", ")," ").concat(t," ").concat(o)}(u()(t.to).map((e=>e.title)),"or").toLowerCase()):"Reference");var t})),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw new Error('Cannot override `of` of subtypes of "reference"');const r=Object.assign({},t,o()(n,He),{type:t});return e(r)}}}(n)}},ze=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference marker",type:"boolean"},{name:"_dataset",title:"Target dataset",type:"string"},{name:"_projectId",title:"Target project ID",type:"string"}],Ue=[...O],We={name:"crossDatasetReference",type:null,jsonType:"object"};const $e={get:()=>We,extend(e,t){if(!e.to)throw new Error('Missing "to" field in cross dataset reference definition. Check the type '.concat(e.name));const n=Object.assign(o()(We,Ue),e,{type:We});return oe(n,"fields",(()=>ze.map((e=>{const{name:n,...r}=e;return{name:n,type:t(r)}})))),oe(n,"to",(()=>u()(e.to).map((e=>({...e,__experimental_search:De(e)}))))),oe(n,"title",(()=>{return e.title||((t=n).to&&0!==t.to.length?"Cross dataset reference to ".concat(function(e,t){const n=e.length;if(1===n)return e[0];const r=e.slice(0,n-1),o=e[n-1];return"".concat(r.join(", ")," ").concat(t," ").concat(o)}(u()(t.to).map((e=>e.title||C()(e.type))),"or").toLowerCase()):"Cross dataset Reference");var t})),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw new Error('Cannot override `of` of subtypes of "reference"');const r=Object.assign({},t,o()(n,Ue),{type:t});return e(r)}}}(n)}},qe={name:"asset",type:"reference",to:[{type:"sanity.imageAsset"}]},Ge={name:"hotspot",type:"sanity.imageHotspot"},Ye={name:"crop",type:"sanity.imageCrop"},Ke=[...O],Xe={name:"image",title:"Image",type:null,jsonType:"object"},Je={},Qe={get:()=>Xe,extend(e,t){const n={...e.options||Je};let r=[Ge,Ye];n.hotspot||(r=r.map((e=>({...e,hidden:!0}))));const i=[qe,...r,...e.fields||[]],a={...e,fields:i},s=Object.assign(o()(this.get(),Ke),a,{type:Xe,title:a.title||(a.name?m()(a.name):""),options:n,fields:a.fields.map((n=>{const{name:r,fieldset:o,...i}=n;
1return oe({name:r,fieldset:o,isCustomized:Boolean(e.fields)},"type",(()=>t({...i,title:n.title||m()(r)})))}))});return oe(s,"fieldsets",(()=>Ze(a,s.fields))),oe(s,"preview",me(Object.assign({},a,{fields:i}))),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw new Error('Cannot override `fields` of subtypes of "image"');const r=Object.assign({},t,o()(n,Ke),{type:t});return e(r)}}}(s)}},et={name:"asset",type:"reference",to:{type:"sanity.fileAsset"}},tt=[...O],nt={name:"file",title:"File",type:null,jsonType:"object"},rt={accept:""},ot={get:()=>nt,extend(e,t){const n={...e.options||rt},r=[et,...e.fields||[]],i={...e,fields:r},a=Object.assign(o()(nt,tt),i,{type:nt,title:i.title||(i.name?m()(i.name):""),options:n,fields:i.fields.map((n=>{const{name:r,fieldset:o,...i}=n;return oe({name:r,fieldset:o,isCustomized:Boolean(e.fields)},"type",(()=>t({...i,title:n.title||m()(r)})))}))});return oe(a,"fieldsets",(()=>Ze(i,a.fields))),oe(a,"preview",me(Object.assign({},i,{fields:r}))),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw new Error('Cannot override `fields` of subtypes of "file"');const r=Object.assign({},t,o()(n,tt),{type:t});return e(r)}}}(a)}},it={name:"document",title:"Document",type:null,jsonType:"object"},at={get:()=>it,extend:Fe.extend},st=[...O],ut={name:"array",type:null,jsonType:"array",of:[]},lt={get:()=>ut,extend(e,t){const n=Object.assign(o()(ut,st),e,{type:ut});return oe(n,"of",(()=>e.of.map((e=>t(e))))),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw new Error('Cannot override `of` property of subtypes of "array"');const r=Object.assign({},t,o()(n,st),{type:t});return e(r)}}}(n)}},ct={type:"text",name:"text",title:"Text"},dt={name:"marks",type:"array",of:[{type:"string"}],title:"Marks"},ft={bullet:{title:"Bullet",value:"bullet"},numbered:{title:"Numbered",value:"number"}},ht=[ft.bullet,ft.numbered],pt={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"}},gt=[pt.normal,pt.h1,pt.h2,pt.h3,pt.h4,pt.h5,pt.h6,pt.blockquote],mt={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"}},vt=[mt.strong,mt.em,mt.code,mt.underline,mt.strikeThrough],yt=["type","name","title","jsonType","description","options","fieldsets","icon"],bt={name:"block",title:"Block",type:null,jsonType:"object"},wt={},xt={get:()=>bt,extend(e,t){const n={...e.options||wt},{marks:r,styles:i,lists:a,of:s,...u}=e,l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{name:"children",title:"Content",type:"array",of:[{type:"span",fields:[ct,dt],annotations:e&&e.annotations?e.annotations:kt,decorators:e&&e.decorators?e.decorators:vt},...t.filter((e=>"span"!==e.type))]}}(r,s),c=function(e){return{name:"style",title:"Style",type:"string",options:{list:Ct(e||gt)}}}(i),d=function(e){return{name:"list",title:"List type",type:"string",options:{list:e||ht}}}(a),f=[l,c,d,{name:"markDefs",title:"Mark definitions",type:"array",of:(null==r?void 0:r.annotations)||kt}].concat(e.fields||[]),h=Object.assign(o()(bt,yt),u,{type:bt,options:n});return oe(h,"fields",(()=>f.map((e=>{const{name:n,...r}=e;return{name:n,type:t(r)}})))),oe(h,"preview",me(e)),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw new Error('Cannot override `fields` of subtypes of "block"');const r=Object.assign({},t,o()(n,yt),{type:t});return e(r)}}}(h)}};function Ct(e){return e.some((e=>"normal"===e.value))?e:[pt.normal,...e]}const kt=[{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})}]}];const Et=["type","name","title","jsonType","description","options","fieldsets","icon"],_t={name:"span",title:"Span",type:null,jsonType:"object"},St={name:"marks",title:"Marks",type:"array",of:[{type:"string"}]},jt={name:"text",title:"Text",type:"string"},Mt={},Ot={get:()=>_t,extend(e,t){const n={...e.options||Mt},{annotations:r=[],marks:i=[]}=e,a=[St,jt],s=Object.assign(o()(_t,Et),e,{type:_t,options:n});return oe(s,"fields",(()=>a.map((e=>{const{name:n,...r}=e;return{name:n,type:t(r)}})))),oe(s,"annotations",(()=>r.map(t))),oe(s,"marks",(()=>i.map(t))),oe(s,"preview",me(e)),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw new Error('Cannot override `fields` of subtypes of "span"');const r=Object.assign({},t,o()(n,Et),{type:t});return e(r)}}}(s)}};var At=Object.freeze({__proto__:null,any:R,array:lt,block:xt,boolean:G,crossDatasetReference:$e,date:W,datetime:V,document:at,email:ee,file:ot,image:Qe,number:re,object:Fe,reference:Ve,span:Ot,string:I,text:N,url:X}
1),Tt=Object.defineProperty,Rt=(e,t,n)=>(((e,t,n)=>{t in e?Tt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);let Lt=class e{constructor(e){Rt(this,"_original"),Rt(this,"_registry"),this._original=e,this._registry=function(e){const t=Object.assign(Object.create(null),At),n=e.types.reduce(((e,t)=>{if(e[t.name])throw new Error("Duplicate type name added to schema: ".concat(t.name));return e[t.name]=t,e}),{});return e.types.forEach(i),t;function r(e){if(!t[e]){if(!n[e])throw new Error("Unknown type: ".concat(e));i(n[e])}}function o(e){return r(e.type),t[e.type].extend(e,o).get()}function i(e){r(e.type),t[e.name]||(t[e.name]=t[e.type].extend(e,o))}}(e)}static compile(t){return new e(t)}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)}};const Dt=Lt},74362:function(e,t,n){"use strict";n.d(t,{CX:function(){return _t},F3:function(){return at},mH:function(){return wt},vt:function(){return xe},ui:function(){return Te},_7:function(){return ye},BU:function(){return kt}});var r=n(67294),o=n(77493),i=n(6907),a=n.n(i),s=n(23279),u=n.n(s),l=n(23493),c=n.n(l);function d(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function 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=getComputedStyle(e,null);return f(n.overflowY,t)||f(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function p(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var g=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,u="function"==typeof a?a:function(e){return e!==a};if(!d(e))throw new TypeError("Invalid target");for(var l,c,f=document.scrollingElement||document.documentElement,g=[],m=e;d(m)&&u(m);){if((m=null==(c=(l=m).parentElement)?l.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,b=window.scrollX||pageXOffset,w=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),C=x.height,k=x.width,E=x.top,_=x.right,S=x.bottom,j=x.left,M="start"===o||"nearest"===o?E:"end"===o?S:E+C/2,O="center"===i?j+k/2:"end"===i?_:j,A=[],T=0;T<g.length;T++){var R=g[T],L=R.getBoundingClientRect(),D=L.height,P=L.width,I=L.top,F=L.right,Z=L.bottom,N=L.left;if("if-needed"===r&&E>=0&&j>=0&&S<=y&&_<=v&&E>=I&&S<=Z&&j>=N&&_<=F)return A;var H=getComputedStyle(R),B=parseInt(H.borderLeftWidth,10),V=parseInt(H.borderTopWidth,10),z=parseInt(H.borderRightWidth,10),U=parseInt(H.borderBottomWidth,10),W=0,$=0,q="offsetWidth"in R?R.offsetWidth-R.clientWidth-B-z:0,G="offsetHeight"in R?R.offsetHeight-R.clientHeight-V-U:0,Y="offsetWidth"in R?0===R.offsetWidth?0:P/R.offsetWidth:0,K="offsetHeight"in R?0===R.offsetHeight?0:D/R.offsetHeight:0;if(f===R)W="start"===o?M:"end"===o?M-y:"nearest"===o?p(w,w+y,y,V,U,w+M,w+M+C,C):M-y/2,$="start"===i?O:"center"===i?O-v/2:"end"===i?O-v:p(b,b+v,v,B,z,b+O,b+O+k,k),W=Math.max(0,W+w),$=Math.max(0,$+b);else{W="start"===o?M-I-V:"end"===o?M-Z+U+G:"nearest"===o?p(I,Z,D,V,U+G,M,M+C,C):M-(I+D/2)+G/2,$="start"===i?O-N-B:"center"===i?O-(N+P/2)+q/2:"end"===i?O-F+z+q:p(N,F,P,B,z+q,O,O+k,k);var X=R.scrollLeft,J=R.scrollTop;M+=J-(W=Math.max(0,Math.min(J+W/K,R.scrollHeight-D/K+G))),O+=X-($=Math.max(0,Math.min(X+$/Y,R.scrollWidth-P/Y+q)))}A.push({el:R,top:W,left:$})}return A};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=function(e){return!1===e?{block:"end",inline:"nearest"}:m(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))}(g(e,r),r.behavior)}},y=n(18156),b=n(73935);function w(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,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var C=parseInt(r.version.split(".")[0],10)>=17,k="undefined"!==typeof navigator&&"undefined"!==typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,E="undefined"!==typeof navigator&&/Mac OS X/.test(navigator.userAgent),_="undefined"!==typeof navigator&&/Android/.test(navigator.userAgent),S="undefined"!==typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),j="undefined"!==typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),M="undefined"!==typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),O="undefined"!==typeof navigator&&/Chrome/i.test(navigator.userAgent),A="undefined"!==typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),T="undefined"!==typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),R="undefined"!==typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),L="undefined"!==typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),D="undefined"!==typeof navigator&&/.*Wechat/.test(navigator.userAgent),P=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),I=!A&&!M&&"undefined"!==typeof globalThis&&globalThis.InputEvent&&"function"===typeof globalThis.InputEvent.prototype.getTargetRanges,F=P?r.useLayoutEffect:r.useEffect,Z=e=>{var{isLast:t,leaf:n,parent:i,text:a}=e,s=ye(),u=at.findPath(s,a),l=o.y$.parent(u);return s.isVoid(i)?r.createElement(H,{length:o.NB.string(i).length}):""!==n.text||i.children[i.children.length-1]!==a||s.isInline(i)||""!==o.ML.string(s,l)?""===n.text?r.createElement(H,null):t&&"\n"===n.text.slice(-1)?r.createElement(N,{isTrailing:!0,text:n.text}):r.createElement(N,{text:n.text}):r.createElement(H,{isLineBreak:!0})},N=e=>{var{text:t,isTrailing:n=!1}=e,o=(0,r.useRef)(null),i=()=>"".concat(null!==t&&void 0!==t?t:"").concat(n?"\n":"");return F((()=>{var e=i();o.current&&o.current.textContent!==e&&(o.current.textContent=e)})),o.current?r.createElement("span",{"data-slate-string":!0,ref:o}):r.createElement("span",{"data-slate-string":!0,ref:o},i())},H=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)},B=new WeakMap,V=new WeakMap,z=new WeakMap,U=new WeakMap,W=new WeakMap,$=new WeakMap,q=new WeakMap,G=new WeakMap,Y=ne
1w WeakMap,K=new WeakMap,X=new WeakMap,J=new WeakMap,Q=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=Symbol("placeholder"),oe=e=>{var{leaf:t,isLast:n,text:o,parent:i,renderPlaceholder:a,renderLeaf:s=(e=>r.createElement(ae,Object.assign({},e)))}=e,u=(0,r.useRef)(null);(0,r.useEffect)((()=>{var e=null===u||void 0===u?void 0:u.current,t=document.querySelector('[data-slate-editor="true"]');if(e&&t)return t.style.minHeight="".concat(e.clientHeight,"px"),()=>{t.style.minHeight="auto"}}),[u,t]);var l=r.createElement(Z,{isLast:n,leaf:t,parent:i,text:o});if(t[re]){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:u}};l=r.createElement(r.Fragment,null,a(c),l)}return s({attributes:{"data-slate-leaf":!0},children:l,leaf:t,text:o})},ie=r.memo(oe,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&o.xv.equals(t.leaf,e.leaf)&&t.leaf[re]===e.leaf[re])),ae=e=>{var{attributes:t,children:n}=e;return r.createElement("span",Object.assign({},t),n)},se=["anchor","focus"],ue=["anchor","focus"],le=(e,t)=>
1Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every((n=>t.hasOwnProperty(n)&&e[n]===t[n])),ce=(e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],i=t[n],a=x(r,se),s=x(i,ue);if(!o.e6.equals(r,i)||r[re]!==i[re]||!le(a,s))return!1}return!0};function de(e){var t=(0,r.useRef)(0),n=(0,r.useRef)(null),[,o]=(0,r.useState)(0);return(0,r.useEffect)((()=>(ne.set(e,(()=>{n.current||(n.current=requestAnimationFrame((()=>{o((e=>e+1)),n.current=null})),t.current++)})),()=>{ne.delete(e)})),[e]),n.current&&(cancelAnimationFrame(n.current),n.current=null),t.current}var fe=e=>{for(var{decorations:t,isLast:n,parent:i,renderPlaceholder:a,renderLeaf:s,text:u}=e,l=ye(),c=(0,r.useRef)(null),d=o.xv.decorations(u,t),f=at.findKey(l,u),h=[],p=0;p<d.length;p++){var g=d[p];h.push(r.createElement(ie,{isLast:n&&p===d.length-1,key:"".concat(f.id,"-").concat(p),renderPlaceholder:a,leaf:g,text:u,parent:i,renderLeaf:s}))}F((()=>{var e=G.get(l);c.current?(null===e||void 0===e||e.set(f,c.current),$.set(u,c.current),W.set(c.current,u)):(null===e||void 0===e||e.delete(f),$.delete(u))}));var m=_?de(u):void 0;return r.createElement("span",{"data-slate-node":"text",ref:c,key:m},h)},he=r.memo(fe,((e,t)=>
1t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&ce(t.decorations,e.decorations))),pe=e=>{var{decorations:t,element:n,renderElement:i=(e=>r.createElement(me,Object.assign({},e))),renderPlaceholder:s,renderLeaf:u,selection:l}=e,c=(0,r.useRef)(null),d=ye(),f=Oe(),h=d.isInline(n),p=at.findKey(d,n),g=Ce({decorations:t,node:n,renderElement:i,renderPlaceholder:s,renderLeaf:u,selection:l}),m={"data-slate-node":"element",ref:c};if(h&&(m["data-slate-inline"]=!0),!h&&o.ML.hasInlines(d,n)){var v=o.NB.string(n),y=a()(v);"rtl"===y&&(m.dir=y)}if(o.ML.isVoid(d,n)){m["data-slate-void"]=!0,!f&&h&&(m.contentEditable=!1);var b=h?"span":"div",[[w]]=o.NB.texts(n);g=r.createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},r.createElement(he,{renderPlaceholder:s,decorations:[],isLast:!1,parent:n,text:w})),B.set(w,0),V.set(w,n)}F((()=>{var e=G.get(d);c.current?(null===e||void 0===e||e.set(p,c.current),$.set(n,c.current),W.set(c.current,n)):(null===e||void 0===e||e.delete(p),$.delete(n))}));var x=i({attributes:m,children:g,element:n});if(_){var C=de(n);return r.createElement(r.Fragment,{key:C},x)}return x},ge=r.memo(pe,((e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&ce(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&o.e6.equals(e.selection,t.selection)))),me=e=>{var{attributes:t,children:n,element:o}=e,i=ye().isInline(o)?"span":"div";return r.createElement(i,Object.assign({},t,{style:{position:"relative"}}),n)},ve=(0,r.createContext)(null),ye=()=>{var e=(0,r.useContext)(ve);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},be=(0,r.createContext)((()=>[])),we=(0,r.createContext)(!1),xe=()=>(0,r.useContext)(we),Ce=e=>{for(var{decorations:t,node:n,renderElement:i,renderPlaceholder:a,renderLeaf:s,selection:u}=e,l=(0,r.useContext)(be),c=ye(),d=at.findPath(c,n),f=[],h=o.W_.isElement(n)&&!c.isInline(n)&&o.ML.hasInlines(c,n),p=0;p<n.children.length;p++){var g=d.concat(p),m=n.children[p],v=at.findKey(c,m),y=o.ML.range(c,g),b=u&&o.e6.intersection(y,u),w=l([m,g]);for(var x of t){var C=o.e6.intersection(x,y);C&&w.push(C)}o.W_.isElement(m)?f.push(r.createElement(we.Provider,{key:"provider-".concat(v.id),value:!!b},r.createElement(ge,{decorations:w,element:m,key:v.id,renderElement:i,renderPlaceholder:a,renderLeaf:s,selection:b}))):f.push(r.createElement(he,{decorations:w,key:v.id,isLast:h&&p===n.children.length-1,parent:n,renderPlaceholder:a,renderLeaf:s,text:m})),B.set(m,p),V.set(m,n)}return f},ke={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"},Ee={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"},_e={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Se=e=>{var t=ke[e],n=Ee[e],r=_e[e],o=t&&(0,y.TB)(t),i=n&&(0,y.TB)(n),a=r&&(0,y.TB)(r);return e=>!(!o||!o(e))||(!!(E&&i&&i(e))||!(E||!a||!a(e)))},je={isBold:Se("bold"),isCompose:Se("compose"),isMoveBackward:Se("moveBackward"),isMoveForward:Se("moveForward"),isDeleteBackward:Se("deleteBackward"),isDeleteForward:Se("deleteForward"),isDeleteLineBackward:Se("deleteLineBackward"),isDeleteLineForward:Se("deleteLineForward"),isDeleteWordBackward:Se("deleteWordBackward"),isDeleteWord
1Forward:Se("deleteWordForward"),isExtendBackward:Se("extendBackward"),isExtendForward:Se("extendForward"),isExtendDown:Se("extendDown"),isExtendUp:Se("extendUp"),isExtendLineBackward:Se("extendLineBackward"),isExtendLineForward:Se("extendLineForward"),isItalic:Se("italic"),isMoveUp:Se("moveDown"),isMoveDown:Se("moveUp"),isMoveLineBackward:Se("moveLineBackward"),isMoveLineForward:Se("moveLineForward"),isMoveWordBackward:Se("moveWordBackward"),isMoveWordForward:Se("moveWordForward"),isRedo:Se("redo"),isSoftBreak:Se("insertSoftBreak"),isSplitBlock:Se("splitBlock"),isTransposeCharacter:Se("transposeCharacter"),isUndo:Se("undo")},Me=(0,r.createContext)(!1),Oe=()=>(0,r.useContext)(Me),Ae=(0,r.createContext)(null),Te=()=>{var e=(0,r.useContext)(Ae);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var[t]=e;return t},Re=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,Le=e=>De(e)&&1===e.nodeType,De=e=>{var t=Re(e);return!!t&&e instanceof t.Node},Pe=e=>{var t=e&&e.anchorNode&&Re(e.anchorNode);return!!t&&e instanceof t.Selection},Ie=e=>
1De(e)&&3===e.nodeType,Fe=(e,t,n)=>{for(var r,{childNodes:o}=e,i=o[t],a=t,s=!1,u=!1;(De(r=i)&&8===r.nodeType||Le(i)&&0===i.childNodes.length||Le(i)&&"false"===i.getAttribute("contenteditable"))&&(!s||!u);)a>=o.length?(s=!0,a=t-1,n="backward"):a<0?(u=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t]},Ze=(e,t,n)=>{var[r]=Fe(e,t,n);return r},Ne=e=>{var t="";if(Ie(e)&&e.nodeValue)return e.nodeValue;if(Le(e)){for(var n of Array.from(e.childNodes))t+=Ne(n);var r=getComputedStyle(e).getPropertyValue("display");"block"!==r&&"list"!==r&&"BR"!==e.tagName||(t+="\n")}return t},He=/data-slate-fragment="(.+?)"/m,Be=e=>{var t=e.getData("text/html"),[,n]=t.match(He)||[];return n},Ve=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as"];function ze(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 Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var We=e=>r.createElement(r.Fragment,null,Ce(e)),$e=e=>{var{attributes:t,children:n}=e;return r.createElement("span",Object.assign({},t),n)},qe=()=>[],Ge=(e,t)=>{if(!e.selection||e.selection&&o.e6.isCollapsed(e.selection)){var n=t.startContainer.parentElement;n.getBoundingClientRect=t.getBoundingClientRect.bind(t),v(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},Ye=(e,t)=>De(t)&&at.hasDOMNode(e,t),Ke=(e,t)=>De(t)&&at.hasDOMNode(e,t,{editable:!0}),Xe=(e,t)=>{if(Y.get(e))return!1;var n=Ye(e,t)&&at.toSlateNode(e,t);return o.ML.isVoid(e,n)},Je=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.isDefaultPrevented()||e.isPropagationStopped()},Qe=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.defaultPrevented};function et(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=function(e,t,n){for(var r=e.length,o=t.length,i=Math.min(r,o,n),a=0;a<i;a++)if(e.charAt(r-a-1)!==t.charAt(o-a-1))return a;return e.length!==t.length?i:null}(e,t,Math.min(e.length-n,t.length-n));return null===r?null:{start:n,end:r}}function tt(e,t){return e.slice(t.start,e.length-t.end)}function nt(e,t){var n=at.toSlateNode(e,t);if(o.xv.isText(n)){var r=n.text,i=t.textContent;if(i.endsWith("\n")&&(i=i.slice(0,i.length-1)),i!==r){var a=function(e,t){if(void 0===e||void 0===t)return null;var n=et(e,t);if(null==n)return null;var r=tt(t,n),o=tt(e,n);return{start:n.start,end:e.length-n.end,insertText:r,removeText:o}}(r,i);if(null!==a)return{text:a,path:at.findPath(e,n)}}}}function rt(e,t,n){var{path:r,text:i}=n,a={anchor:{path:r,offset:i.start},focus:{path:r,offset:i.end}};if(!t||!o.e6.isCollapsed(t))return a;var{insertText:s,removeText:u}=i;if((1===s.length||1===u.length)&&o.y$.equals(t.anchor.path,r)){var[l]=Array.from(o.ML.nodes(e,{at:t,match:o.xv.isText}));if(l){var[c]=l,{anchor:d}=t,f=c.text[d.offset-1],h=c.text[d.offset];if(1===s.length&&s===h)return t;if(1===u.length&&u===f)return{anchor:{path:r,offset:d.offset-1},focus:{path:r,offset:d.offset}}}}return a}var ot=0;class it{constructor(){this.id="".concat(ot++)}}var at={isComposing:e=>!!X.get(e),getWindow(e){var t=z.get(e);if(!t)throw new 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 it,q.set(t,n)),n},findPath(e,t){for(var n=[],r=t;;){var i=V.get(r);if(null==i){if(o.ML.isEditor(r))return n;break}var a=B.get(r);if(null==a)break;n.unshift(a),r=i}throw new Error("Unable to find the path for Slate node: ".concat(o.o4.stringify(t)))},findDocumentOrShadowRoot(e){var t=at.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},isFocused:e=>!!K.get(e),isReadOnly:e=>!!Y.get(e),blur(e){var t=at.toDOMNode(e,e),n=at.findDocumentOrShadowRoot(e);K.set(e,!1),n.activeElement===t&&t.blur()},focus(e){var t=at.toDOMNode(e,e),n=at.findDocumentOrShadowRoot(e);K.set(e,!0),n.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){at.toDOMNode(e,e);var{selection:t}=e,n=at.findDocumentOrShadowRoot(e).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&o.YR.deselect(e)},hasDOMNode(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=r,i=at.toDOMNode(e,e);try{n=Le(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]")===i&&(!(o&&!n.isContentEditable)||("boolean"===typeof n.isContentEditable&&n.closest('[contenteditable="false"]')===i||!!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=G.get(e),r=o.ML.isEditor(t)?U.get(e):null===n||void 0===n?void 0:n.get(at.findKey(e,t));if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(o.o4.stringify(t)));return r},toDOMPoint(e,t){var n,[r]=o.ML.node(e,t.path),i=at.toDOMNode(e,r);o.ML.void(e,{at:t})&&(t={path:t.path,offset:0});var a=Array.from(i.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;for(var u of a){var l=u.childNodes[0];if(null!=l&&null!=l.textContent){var{length:c}=l.textContent,d=u.getAttribute("data-slate-length"),f=s+(null==d?c:parseInt(d,10));if(t.offset<=f){n=[l,Math.min(c,Math.max(0,t.offset-s))];break}s=f}}if(!n)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(o.o4.stringify(t)));return n}
1,toDOMRange(e,t){var{anchor:n,focus:r}=t,i=o.e6.isBackward(t),a=at.toDOMPoint(e,n),s=o.e6.isCollapsed(t)?a:at.toDOMPoint(e,r),u=at.getWindow(e).document.createRange(),[l,c]=i?s:a,[d,f]=i?a:s,h=!!(Le(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),p=!!(Le(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,h?1:c),u.setEnd(d,p?1:f),u},toSlateNode(e,t){var n=Le(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 new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:n,clientY:r,target:i}=t;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var a,s=at.toSlateNode(e,t.target),u=at.findPath(e,s);if(o.ML.isVoid(e,s)){var l=i.getBoundingClientRect(),c=e.isInline(s)?n-l.left<l.left+l.width-n:r-l.top<l.top+l.height-r,d=o.ML.point(e,u,{edge:c?"start":"end"}),f=c?o.ML.before(e,d):o.ML.after(e,d);if(f)return o.ML.range(e,f)}var{document:h}=at.getWindow(e);if(h.caretRangeFromPoint)a=h.caretRangeFromPoint(n,r);else{var p=h.caretPositionFromPoint(n,r);p&&((a=h.createRange()).setStart(p.offsetNode,p.offset),a.setEnd(p.offsetNode,p.offset))}if(!a)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return at.toSlateRange(e,a,{exactMatch:!1,suppressThrow:!1})},toSlatePoint(e,t,n){var{exactMatch:r,suppressThrow:o}=n,[i,a]=r?t:(e=>{var[t,n]=e;if(Le(t)&&t.childNodes.length){var r=n===t.childNodes.length,o=r?n-1:n;for([t,o]=Fe(t,o,r?"backward":"forward"),r=o<n;Le(t)&&t.childNodes.length;){var i=r?t.childNodes.length-1:0;t=Ze(t,i,r?"backward":"forward")}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]})(t),s=i.parentNode,u=null,l=0;if(s){var c,d=at.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(u=p.closest('[data-slate-node="text"]')){var m=at.getWindow(e).document.createRange();m.setStart(u,0),m.setEnd(i,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)})),l=v.textContent.length,g=u}}else h&&((p=h.querySelector("[data-slate-leaf]"))?(u=p.closest('[data-slate-node="text"]'),l=(g=p).textContent.length,g.querySelectorAll("[data-slate-zero-width]").forEach((e=>{l-=e.textContent.length}))):l=1);g&&l===g.textContent.length&&(s.hasAttribute("data-slate-zero-width")||S&&null!==(c=g.textContent)&&void 0!==c&&c.endsWith("\n\n"))&&l--}if(!u){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var y=at.toSlateNode(e,u);return{path:at.findPath(e,y),offset:l}},toSlateRange(e,t,n){var r,i,a,s,u,{exactMatch:l,suppressThrow:c}=n;if((Pe(t)?t.anchorNode:t.startContainer)&&(Pe(t)?(r=t.anchorNode,i=t.anchorOffset,a=t.focusNode,s=t.focusOffset,u=O&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,i=t.startOffset,a=t.endContainer,s=t.endOffset,u=t.collapsed)),null==r||null==a||null==i||null==s)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));var d=at.toSlatePoint(e,[r,i],{exactMatch:l,suppressThrow:c});if(!d)return null;var f=u?d:at.toSlatePoint(e,[a,s],{exactMatch:l,suppressThrow:c});if(!f)return null;var h={anchor:d,focus:f};return o.e6.isExpanded(h)&&o.e6.isForward(h)&&Le(a)&&o.ML.void(e,{at:h.focus,mode:"highest"})&&(h=o.ML.unhangRange(e,h,{voids:!0})),h},hasRange(e,t){var{anchor:n,focus:r}=t;return o.ML.hasPath(e,n.path)&&o.ML.hasPath(e,r.path)}};class st{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=function(e,t){var n=[],r=[],i=[],a=[];return t.forEach((t=>{switch(t.type){case"childList":t.addedNodes.length&&t.addedNodes.forEach((e=>{n.push(e)})),t.removedNodes.forEach((e=>{r.push(e)}));break;case"characterData":a.push(t);var{parentNode:s}=t.target;if(!s)return;var u=nt(e,s);if(!u)return;if(i.some((e=>{var{path:t}=e;return o.y$.equals(t,u.path)})))return;i.push(u)}})),{addedNodes:n,removedNodes:r,insertedText:i,characterDataMutations:a}}(this.editor,e),{insertedText:n,removedNodes:r}=t;if(((e,t)=>{var{selection:n}=e,{removedNodes:r}=t;return!!n&&o.e6.isExpanded(n)&&r.length>0})(this.editor,t)){var i=function(e){return e.reduce(((e,t)=>{var{text:n}=t;return"".concat(e).concat(n.insertText)}),"")}(n);this.replaceExpandedSelection(i)}else((e,t)=>{var{addedNodes:n}=t,{selection:r}=e,i=r?o.NB.parent(e,r.anchor.path):null,a=i?at.toDOMNode(e,i):null;return!!a&&n.some((e=>e instanceof HTMLElement&&e.tagName===(null===a||void 0===a?void 0:a.tagName)))})(this.editor,t)?this.insertBreak():((e,t)=>{var{addedNodes:n,characterDataMutations:r,removedNodes:o}=t;return o.length>0&&0===n.length&&r.length>0})(this.editor,t)?this.removeLeafNodes(r):((e,t)=>{var{removedNodes:n}=t;return n.length>0})(this.editor,t)?this.deleteBackward():((e,t)=>{var{insertedText:n}=t;return n.length>0})(this.editor,t)&&this.insertText(n)},this.insertText=e=>{var{selection:t}=this.editor;if(at.isComposing(this.editor)||J.get(this.editor))return ee.set(this.editor,e),void J.set(this.editor,!1);e.forEach((e=>{var n=e.text.insertText,r=rt(this.editor,t,e);o.YR.setSelection(this.editor,r),o.ML.insertText(this.editor,n)}))},this.insertBreak=()=>{var{selection:e}=this.editor;o.ML.insertBreak(this.editor),this.restoreDOM(),e&&setTimeout((()=>{this.editor.selection&&o.e6.equals(e,this.editor.selection)&&o.YR.move(this.editor)}),100)},this.replaceExpandedSelection=e=>{o.ML.deleteFragment(this.editor),e.length&&o.ML.insertText(this.editor,e),this.restoreDOM()},this.deleteBackward=()=>{o.ML.deleteBackward(this.editor),at.focus(this.editor),this.restoreDOM()},this.removeLeafNodes=e=>{for(var t of e){var n=at.toSlateNode(this.editor,t);if(n){var r=at.findPath(this.editor,n);o.YR.delete(this.editor,{at:r}),this.restoreDOM()}}},this.editor=e,this.restoreDOM=t}}function ut(e,t,n){var[o]=(0,r.useState)((()=>new MutationObserver(t)));F((()=>{o.disconnect()})),(0,r.useEffect)((()=>{if(!e.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return o.observe(e.current,n),o.disconnect.bind(o)}))}var lt={childList:!0,characterData:!0,subtree:!0};function ct(e){var t,n=Le(e)?e:e.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n&&W.get(n);return r||(null!==(t=n)&&void 0!==t&&t.parentElement?ct(n.parentElement):null)}function dt(e,t){var n=ye(),i=(0,r.useRef)(new Set);ut(e,(0,r.useCallback)((e=>{t.current&&e.forEach((e=>{var{target:t}=e,n=ct(t);if(n)return i.current.add(n)}))}),[]),lt),i.current.clear();var a=(0,r.useCallback)((()=>{var e=Array.from(i.current.values()),t=e.filter((t=>!e.some((e=>o.y$.isParent(at.findPath(n,e),at.findPath(n,t))))));t.forEach((e=>{var t;null===(t=ne.get(e))||void 0===t||t()})),i.current.clear()}),[]);return a}var ft={childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0};function ht(e){var t=ye(),{receivedUserInput:n,onUserInput:o}=function(){var e=ye(),t=(0,r.useRef)(!1),n=(0,r.useRef)(null),o=(0,r.useCallback)((()=>
1{if(!1===t.current){var r=at.getWindow(e);t.current=!0,n.current&&r.cancelAnimationFrame(n.current),n.current=r.requestAnimationFrame((()=>{t.current=!1,n.current=null}))}}),[]);return(0,r.useEffect)((()=>{t.current&&(t.current=!1)})),{receivedUserInput:t,onUserInput:o}}(),i=dt(e,n),a=(0,r.useMemo)((()=>new st(t,i)),[i,t]),s=(0,r.useRef)(null),u=(0,r.useRef)(!1);return ut(e,(0,r.useCallback)((e=>{n.current&&(u.current=!0,a.flush(e),s.current&&clearTimeout(s.current),s.current=setTimeout((()=>{u.current=!1,s.current=null}),250))}),[]),ft),{isReconciling:u,onUserInput:o}}var pt=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","style","as"];function gt(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 mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vt=(0,r.createContext)(!1);var yt=(0,r.createContext)({});var bt=["editor","children","onChange","value"],wt=e=>{var{editor:t,children:n,onChange:i,value:a}=e,s=x(e,bt),u=(0,r.useRef)(!1),[l,c]=r.useState((()=>{if(!o.NB.isNodeList(a))throw new Error("[Slate] value is invalid! Expected a list of elements"+"but got: ".concat(o.o4.stringify(a)));if(!o.ML.isEditor(t))throw new Error("[Slate] editor is invalid! you passed:"+"".concat(o.o4.stringify(t)));return t.children=a,Object.assign(t,s),[t]})),{selectorContext:d,onChange:f}=function(e){var t=(0,r.useRef)([]).current,n=(0,r.useRef)({editor:e}).current,o=(0,r.useCallback)((e=>{n.editor=e,t.forEach((t=>t(e)))}),[]);return{selectorContext:(0,r.useMemo)((()=>({getSlate:()=>n.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})})),[t,n]),onChange:o}}(t),h=(0,r.useCallback)((()=>{i&&i(t.children),c([t]),f(t)}),[i]);te.set(t,h),(0,r.useEffect)((()=>()=>{te.set(t,(()=>{})),u.current=!0}),[]);var[p,g]=(0,r.useState)(at.isFocused(t));return(0,r.useEffect)((()=>{g(at.isFocused(t))})),F((()=>{var e=()=>g(at.isFocused(t));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(yt.Provider,{value:d},r.createElement(Ae.Provider,{value:l},r.createElement(ve.Provider,{value:t},r.createElement(vt.Provider,{value:p},n))))},xt=(e,t)=>
1{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},Ct=(e,t,n)=>{var r=at.toDOMRange(e,t).getBoundingClientRect(),o=at.toDOMRange(e,n).getBoundingClientRect();return xt(r,o)&&xt(o,r)},kt=e=>{var t=e,{apply:n,onChange:r,deleteBackward:i}=t;return G.set(t,new WeakMap),t.deleteBackward=n=>{if("line"!==n)return i(n);if(e.selection&&o.e6.isCollapsed(e.selection)){var r=o.ML.above(e,{match:t=>o.ML.isBlock(e,t),at:e.selection});if(r){var[,a]=r,s=o.ML.range(e,a,e.selection.anchor),u=((e,t)=>{var n=o.ML.range(e,o.e6.end(t)),r=Array.from(o.ML.positions(e,{at:t})),i=0,a=r.length,s=Math.floor(a/2);if(Ct(e,o.ML.range(e,r[i]),n))return o.ML.range(e,r[i],n);if(r.length<2)return o.ML.range(e,r[r.length-1],n);for(;s!==r.length&&s!==i;)Ct(e,o.ML.range(e,r[s]),n)?a=s:i=s,s=Math.floor((i+a)/2);return o.ML.range(e,r[a],n)})(t,s);o.e6.isCollapsed(u)||o.YR.delete(e,{at:u})}}},t.apply=r=>{var i=[];switch(r.type){case"insert_text":case"remove_text":case"set_node":case"split_node":i.push(...Et(t,r.path));break;case"set_selection":var a;null===(a=Q.get(e))||void 0===a||a.unref(),Q.delete(e);break;case"insert_node":case"remove_node":i.push(...Et(t,o.y$.parent(r.path)));break;case"merge_node":var s=o.y$.previous(r.path);i.push(...Et(t,s));break;case"move_node":var u=o.y$.common(o.y$.parent(r.path),o.y$.parent(r.newPath));i.push(...Et(t,u))}for(var[l,c]of(n(r),i)){var[d]=o.ML.node(t,l);q.set(d,c)}},t.setFragmentData=e=>{var{selection:n}=t;if(n){var[r,i]=o.e6.edges(n),a=o.ML.void(t,{at:r.path}),s=o.ML.void(t,{at:i.path});if(!o.e6.isCollapsed(n)||a){var u=at.toDOMRange(t,n),l=u.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach((e=>{e.textContent&&""!==e.textContent.trim()&&(c=e)})),s){var[d]=s,f=u.cloneRange(),h=at.toDOMNode(t,d);f.setEndAfter(h),l=f.cloneContents()}if(a&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach((e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""})),Ie(c)){var p=c.ownerDocument.createElement("span");p.style.whiteSpace="pre",p.appendChild(c),l.appendChild(p),c=p}var g=t.getFragment(),m=JSON.stringify(g),v=window.btoa(encodeURIComponent(m));c.setAttribute("data-slate-fragment",v),e.setData("application/x-slate-fragment",v);var y=l.ownerDocument.createElement("div");return y.appendChild(l),y.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(y),e.setData("text/html",y.innerHTML),e.setData("text/plain",Ne(y)),l.ownerDocument.body.removeChild(y),e}}},t.insertData=e=>{t.insertFragmentData(e)||t.insertTextData(e)},t.insertFragmentData=e=>{var n=e.getData("application/x-slate-fragment")||Be(e);if(n){var r=decodeURIComponent(window.atob(n)),o=JSON.parse(r);return t.insertFragment(o),!0}return!1},t.insertTextData=e=>{var n=e.getData("text/plain");if(n){var r=n.split(/\r\n|\r|\n/),i=!1;for(var a of r)i&&o.YR.splitNodes(t,{always:!0}),t.insertText(a),i=!0;return!0}return!1},t.onChange=()=>{b.unstable_batchedUpdates((()=>{var e=te.get(t);e&&e(),r()}))},t},Et=(e,t)=>{var n=[];for(var[r,i]of o.ML.levels(e,{at:t})){var a=at.findKey(e,r);n.push([i,a])}return n},_t=_?e=>{var{autoFocus:t,decorate:n=qe,onDOMBeforeInput:i,placeholder:a,readOnly:s=!1,renderElement:l,renderLeaf:d,renderPlaceholder:f=(e=>r.createElement($e,Object.assign({},e))),style:h={},as:p="div"}=e,g=x(e,pt),m=Te(),[y,b]=(0,r.useState)(!1),w=(0,r.useRef)(null),C=ht(w);Y.set(m,s);var k=(0,r.useMemo)((()=>({isComposing:!1,isUpdatingSelection:!1,latestElement:null})),[]),E=de(m);F((()=>{var e;w.current&&(e=Re(w.current))?(z.set(m,e),U.set(m,w.current),$.set(m,w.current),W.set(w.current,m)):$.delete(m);try{var{selection:t}=m,n=at.findDocumentOrShadowRoot(m).getSelection();if(k.isComposing||!n||!at.isFocused(m))return;var r="None"!==n.type;if(!t&&!r)return;var i=U.get(m),a=!1;if(i.contains(n.anchorNode)&&i.contains(n.focusNode)&&(a=!0),r&&a&&t){var s=at.toSlateRange(m,n,{exactMatch:!0,suppressThrow:!0});if(s&&o.e6.equals(s,t))return}if(t&&!at.hasRange(m,t))return void(m.selection=at.toSlateRange(m,n,{exactMatch:!1,suppressThrow:!1}));var u=at.toDOMNode(m,m);k.isUpdatingSelection=!0;var l=t&&at.toDOMRange(m,t);if(l){o.e6.isBackward(t)?n.setBaseAndExtent(l.endContainer,l.endOffset,l.startContainer,l.startOffset):n.setBaseAndExtent(l.startContainer,l.startOffset,l.endContainer,l.endOffset);var c=l.startContainer.parentElement;c.getBoundingClientRect=l.getBoundingClientRect.bind(l),v(c,{scrollMode:"if-needed",boun
1dary:u}),delete c.getBoundingClientRect}else n.removeAllRanges();setTimeout((()=>{k.isUpdatingSelection=!1}))}catch(d){k.isUpdatingSelection=!1}})),(0,r.useEffect)((()=>{w.current&&t&&w.current.focus()}),[t]);var _=(0,r.useCallback)(c()((()=>{try{if(!k.isComposing&&!k.isUpdatingSelection&&!C.isReconciling.current){var e=at.findDocumentOrShadowRoot(m),{activeElement:t}=e,n=at.toDOMNode(m,m),r=e.getSelection();if(t===n?(k.latestElement=t,K.set(m,!0)):K.delete(m),!r)return o.YR.deselect(m);var{anchorNode:i,focusNode:a}=r,s=Ke(m,i)||Xe(m,i),u=Ke(m,a)||Xe(m,a);if(s&&u){var l=at.toSlateRange(m,r,{exactMatch:!1,suppressThrow:!1});o.YR.select(m,l)}else o.YR.deselect(m)}}catch(c){}}),100),[s]),S=(0,r.useMemo)((()=>u()(_,0)),[_]),j=(0,r.useCallback)((e=>{s||!Ke(m,e.target)||Qe(e,i)||(S.flush(),C.onUserInput())}),[s,i]);F((()=>{var e=w.current;return null===e||void 0===e||e.addEventListener("beforeinput",j),()=>null===e||void 0===e?void 0:e.removeEventListener("beforeinput",j)}),[E,i]),F((()=>{var e=at.getWindow(m);return e.document.addEventListener("selectionchange",S),()=>{e.document.removeEventListener("selectionchange",S)}}),[S]);var M=n([m,[]]);if(a&&1===m.children.length&&1===Array.from(o.NB.texts(m)).length&&""===o.NB.string(m)&&!y){var O=o.ML.start(m,[]);M.push({[re]:!0,placeholder:a,anchor:O,focus:O})}return r.createElement(Me.Provider,{value:s},r.createElement(be.Provider,{value:n},r.createElement(p,Object.assign({key:E,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:w,style:mt({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},h),onCopy:(0,r.useCallback)((e=>{Ke(m,e.target)&&!Je(e,g.onCopy)&&(e.preventDefault(),at.setFragmentData(m,e.clipboardData,"copy"))}),[g.onCopy]),onCut:(0,r.useCallback)((e=>{if(!s&&Ke(m,e.target)&&!Je(e,g.onCut)){e.preventDefault(),at.setFragmentData(m,e.clipboardData,"cut");var{selection:t}=m;if(t)if(o.e6.isExpanded(t))o.ML.deleteFragment(m);else{var n=o.NB.parent(m,t.anchor.path);o.ML.isVoid(m,n)&&o.YR.delete(m)}}}),[s,g.onCut]),onFocus:(0,r.useCallback)((e=>{if(!s&&!k.isUpdatingSelection&&Ke(m,e.target)&&!Je(e,g.onFocus)){var t=at.findDocumentOrShadowRoot(m);k.latestElement=t.activeElement,K.set(m,!0)}}),[s,g.onFocus]),onBlur:(0,r.useCallback)((e=>{if(!s&&!k.isUpdatingSelection&&Ke(m,e.target)&&!Je(e,g.onBlur)){var t=at.findDocumentOrShadowRoot(m);if(k.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(n!==at.toDOMNode(m,m)&&(!Le(n)||!n.hasAttribute("data-slate-spacer"))){if(null!=n&&De(n)&&at.hasDOMNode(m,n)){var r=at.toSlateNode(m,n);if(o.W_.isElement(r)&&!m.isVoid(r))return}K.delete(m)}}}}),[s,g.onBlur]),onClick:(0,r.useCallback)((e=>{if(!s&&Ye(m,e.target)&&!Je(e,g.onClick)&&De(e.target)){var t=at.toSlateNode(m,e.target),n=at.findPath(m,t);if(o.ML.hasPath(m,n))if(o.NB.get(m,n)===t){var r=o.ML.start(m,n),i=o.ML.end(m,n),a=o.ML.void(m,{at:r}),u=o.ML.void(m,{at:i});if(a&&u&&o.y$.equals(a[1],u[1])){var l=o.ML.range(m,r);o.YR.select(m,l)}}}}),[s,g.onClick]),onCompositionEnd:(0,r.useCallback)((e=>{Ke(m,e.target)&&!Je(e,g.onCompositionEnd)&&(S.flush(),setTimeout((()=>{k.isComposing&&b(!1),k.isComposing=!1,X.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=rt(m,t,e);o.YR.setSelection(m,r),o.ML.insertText(m,n)}))}}),20))}),[g.onCompositionEnd]),onCompositionUpdate:(0,r.useCallback)((e=>{Ke(m,e.target)&&!Je(e,g.onCompositionUpdate)&&(!k.isComposing&&b(!0),k.isComposing=!0,X.set(m,!0))}),[g.onCompositionUpdate]),onCompositionStart:(0,r.useCallback)((e=>{Ke(m,e.target)&&!Je(e,g.onCompositionStart)&&(!k.isComposing&&b(!0),k.isComposing=!0,X.set(m,!0))}),[g.onCompositionStart]),onPaste:(0,r.useCallback)((e=>{e.clipboardData=(e=>{if(!e.getData("application/x-slate-fragment")){var t=Be(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.clipboardData),!Ke(m,e.target)||Je(e,g.onPaste)||s||(e.preventDefault(),at.insertData(m,e.clipboardData))}),[s,g.onPaste])}),Ce({decorations:M,node:m,renderElement:l,renderPlaceholder:f,renderLeaf:d,selection:m.selection}))))}:e=>{var{autoFocus:t,decorate:n=qe,onDOMBeforeInput:i,placeholder:s,readOnly:l=!1,renderElement:d,renderLeaf:f,renderPlaceholder:h=(e=>r.createElement($e,Object.assign({},e))),scrollSelectionIntoView:p=Ge,style:g={},as:m="div"}=e,v=x(e,Ve),y=Te(),[b,w]=(0,r.useState)(!1),C=(0,r.useRef)(null),E=(0,r.useRef)([]);Y.set(y,l);var _=(0,r.useMemo)((()=>({hasInsertPrefixInCompositon:!1,isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null})),[]);F((()=>{var e;C.current&&(e=Re(C.current))?(z.set(y,e),U.set(y,C.current),$.set(y,C.current),W.set(C.current,y)):$.delete(y);var{selection:t}=y,n=at.findDocumentOrShadowRoot(y).getSelection();if(!at.isComposing(y)&&n&&at.isFocused(y)){var r="None"!==n.type;if(t||r){var i=U.get(y),a=!1;if(i.contains(n.anchorNode)&&i.contains(n.focusNode)&&(a=!0),r&&a&&t){var s=at.toSlateRange(y,n,{exactMatch:!0,suppressThrow:!0});if(s&&o.e6.equals(s,t))return}if(!t||at.hasRange(y,t)){var u;_.isUpdatingSelection=!0;try{u=t&&a?at.toDOMRange(y,t):void 0}catch(d){}if(u){var l=u.startOffset;if(S&&t&&1===l&&1===u.endOffset&&"\ufeff"===u[o.e6.isBackward(t)?"endContainer":"startContainer"].textContent){var c=o.NB.parent(y,t.focu
1s.path);o.ML.isVoid(y,c)&&(l=0)}o.e6.isBackward(t)?n.setBaseAndExtent(u.endContainer,u.endOffset,u.startContainer,l):n.setBaseAndExtent(u.startContainer,l,u.endContainer,u.endOffset),p(y,u)}else n.removeAllRanges();setTimeout((()=>{u&&S&&at.toDOMNode(y,y).focus();_.isUpdatingSelection=!1}))}else try{y.selection=at.toSlateRange(y,n,{exactMatch:!1,suppressThrow:!1})}catch(d){}}}})),(0,r.useEffect)((()=>{C.current&&t&&C.current.focus()}),[t]);var M=(0,r.useCallback)(c()((()=>{if(!at.isComposing(y)&&!_.isUpdatingSelection&&!_.isDraggingInternally){var e=at.findDocumentOrShadowRoot(y),{activeElement:t}=e,n=at.toDOMNode(y,y),r=e.getSelection();if(t===n?(_.latestElement=t,K.set(y,!0)):K.delete(y),!r)return o.YR.deselect(y);var{anchorNode:i,focusNode:a}=r,s=Ke(y,i)||Xe(y,i),u=Ke(y,a)||Xe(y,a);if(s&&u){var l=at.toSlateRange(y,r,{exactMatch:!1,suppressThrow:!1});o.YR.select(y,l)}}}),100),[l]),A=(0,r.useMemo)((()=>u()(M,0)),[M]),Z=(0,r.useCallback)((e=>{if(!l&&Ke(y,e.target)&&!Qe(e,i)){var t;A.flush(),M.flush();var{selection:n}=y,{inputType:r}=e,a=e.dataTransfer||e.data||void 0;if("insertCompositionText"===r||"deleteCompositionText"===r)return;var s=!1;if("insertText"===r&&n&&o.e6.isCollapsed(n)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==n.anchor.offset){var u;s=!0,y.marks&&(s=!1);var{anchor:c}=n,[d,f]=at.toDOMPoint(y,c),h=null===(u=d.parentElement)||void 0===u?void 0:u.closest("a");if(h&&at.hasDOMNode(y,h)){var p,{document:g}=at.getWindow(y),m=g.createTreeWalker(h,NodeFilter.SHOW_TEXT).lastChild();m===d&&(null===(p=m.textContent)||void 0===p?void 0:p.length)===f&&(s=!1)}}if(!r.startsWith("delete")||r.startsWith("deleteBy")){var[v]=e.getTargetRanges();if(v){var b=at.toSlateRange(y,v,{exactMatch:!1,suppressThrow:!1});if(!n||!o.e6.equals(n,b)){s=!1;var x=y.selection&&o.ML.rangeRef(y,y.selection);o.YR.select(y,b),x&&Q.set(y,x)}}}if(s||e.preventDefault(),n&&o.e6.isExpanded(n)&&r.startsWith("delete")){var C=r.endsWith("Backward")?"backward":"forward";return void o.ML.deleteFragment(y,{direction:C})}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":o.ML.deleteFragment(y);break;case"deleteContent":case"deleteContentForward":o.ML.deleteForward(y);break;case"deleteContentBackward":o.ML.deleteBackward(y);break;case"deleteEntireSoftLine":o.ML.deleteBackward(y,{unit:"line"}),o.ML.deleteForward(y,{unit:"line"});break;case"deleteHardLineBackward":o.ML.deleteBackward(y,{unit:"block"});break;case"deleteSoftLineBackward":o.ML.deleteBackward(y,{unit:"line"});break;case"deleteHardLineForward":o.ML.deleteForward(y,{unit:"block"});break;case"deleteSoftLineForward":o.ML.deleteForward(y,{unit:"line"});break;case"deleteWordBackward":o.ML.deleteBackward(y,{unit:"word"});break;
1case"deleteWordForward":o.ML.deleteForward(y,{unit:"word"});break;case"insertLineBreak":o.ML.insertSoftBreak(y);break;case"insertParagraph":o.ML.insertBreak(y);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":var{selection:k}=y;k&&o.e6.isExpanded(k)&&o.ML.deleteFragment(y),"insertFromComposition"===r&&at.isComposing(y)&&(w(!1),X.set(y,!1)),"DataTransfer"===(null===a||void 0===a?void 0:a.constructor.name)?at.insertData(y,a):"string"===typeof a&&(s?E.current.push((()=>o.ML.insertText(y,a))):o.ML.insertText(y,a))}var _=null===(t=Q.get(y))||void 0===t?void 0:t.unref();Q.delete(y),!_||y.selection&&o.e6.equals(y.selection,_)||o.YR.select(y,_)}}),[l,i]);F((()=>(C.current&&I&&C.current.addEventListener("beforeinput",Z),()=>{C.current&&I&&C.current.removeEventListener("beforeinput",Z)})),[Z]),F((()=>{var e=at.getWindow(y);return e.document.addEventListener("selectionchange",A),()=>{e.document.removeEventListener("selectionchange",A)}}),[A]);var N=n([y,[]]);
1if(s&&1===y.children.length&&1===Array.from(o.NB.texts(y)).length&&""===o.NB.string(y)&&!b){var H=o.ML.start(y,[]);N.push({[re]:!0,placeholder:s,anchor:H,focus:H})}return r.createElement(Me.Provider,{value:l},r.createElement(be.Provider,{value:n},r.createElement(m,Object.assign({role:l?void 0:"textbox"},v,{spellCheck:!(!I&&P)&&v.spellCheck,autoCorrect:I||!P?v.autoCorrect:"false",autoCapitalize:I||!P?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!l,zindex:-1,suppressContentEditableWarning:!0,ref:C,style:Ue({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},g),onBeforeInput:(0,r.useCallback)((e=>{if(!I&&!l&&!Je(e,v.onBeforeInput)&&Ke(y,e.target)&&(e.preventDefault(),!at.isComposing(y))){var t=e.data;o.ML.insertText(y,t)}}),[l]),onInput:(0,r.useCallback)((e=>{for(var t of E.current)t();E.current=[]}),[]),onBlur:(0,r.useCallback)((e=>{if(!l&&!_.isUpdatingSelection&&Ke(y,e.target)&&!Je(e,v.onBlur)){var t=at.findDocumentOrShadowRoot(y);if(_.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(n!==at.toDOMNode(y,y)&&(!Le(n)||!n.hasAttribute("data-slate-spacer"))){if(null!=n&&De(n)&&at.hasDOMNode(y,n)){var r=at.toSlateNode(y,n);if(o.W_.isElement(r)&&!y.isVoid(r))return}if(j){var i=t.getSelection();null===i||void 0===i||i.removeAllRanges()}K.delete(y)}}}}),[l,v.onBlur]),onClick:(0,r.useCallback)((e=>{if(Ye(y,e.target)&&!Je(e,v.onClick)&&De(e.target)){var t=at.toSlateNode(y,e.target),n=at.findPath(y,t);if(!o.ML.hasPath(y,n)||o.NB.get(y,n)!==t)return;if(3===e.detail&&n.length>=1){var r=n;if(!o.ML.isBlock(y,t)){var i,a=o.ML.above(y,{match:e=>o.ML.isBlock(y,e),at:n});r=null!==(i=null===a||void 0===a?void 0:a[1])&&void 0!==i?i:n.slice(0,1)}var s=o.ML.range(y,r);return void o.YR.select(y,s)}if(l)return;var u=o.ML.start(y,n),c=o.ML.end(y,n),d=o.ML.void(y,{at:u}),f=o.ML.void(y,{at:c});if(d&&f&&o.y$.equals(d[1],f[1])){var h=o.ML.range(y,u);o.YR.select(y,h)}}}),[l,v.onClick]),onCompositionEnd:(0,r.useCallback)((e=>{if(Ke(y,e.target)&&!Je(e,v.onCompositionEnd)&&(at.isComposing(y)&&(w(!1),X.set(y,!1)),j||T||k||R||D||L||!e.data||o.ML.insertText(y,e.data),y.selection&&o.e6.isCollapsed(y.selection))){var t=y.selection.anchor.path,n=o.NB.leaf(y,t);_.hasInsertPrefixInCompositon&&(_.hasInsertPrefixInCompositon=!1,o.ML.withoutNormalizing(y,(()=>{var e=n.text.replace(/^\uFEFF/,"");o.YR.delete(y,{distance:n.text.length,reverse:!0}),o.ML.insertText(y,e)})))}}),[v.onCompositionEnd]),onCompositionUpdate:(0,r.useCallback)((e=>{Ke(y,e.target)&&!Je(e,v.onCompositionUpdate)&&(at.isComposing(y)||(w(!0),X.set(y,!0)))}),[v.onCompositionUpdate]),onCompositionStart:(0,r.useCallback)((e=>{if(Ke(y,e.target)&&!Je(e,v.onCompositionStart)){var{selection:t,marks:n}=y;if(t){if(o.e6.isExpanded(t))return void o.ML.deleteFragment(y);var r=o.ML.above(y,{match:e=>o.ML.isInline(y,e),mode:"highest"});if(r){var[,i]=r;if(o.ML.isEnd(y,t.anchor,i)){var a=o.ML.after(y,i);o.YR.setSelection(y,{anchor:a,focus:a})}}n&&(_.hasInsertPrefixInCompositon=!0,o.YR.insertNodes(y,Ue({text:"\ufeff"},n),{select:!0}))}}}),[v.onCompositionStart]),onCopy:(0,r.useCallback)((e=>{Ke(y,e.target)&&!Je(e,v.onCopy)&&(e.preventDefault(),at.setFragmentData(y,e.clipboardData,"copy"))}),[v.onCopy]),onCut:(0,r.useCallback)((e=>{if(!l&&Ke(y,e.target)&&!Je(e,v.onCut)){e.preventDefault(),at.setFragmentData(y,e.clipboardData,"cut");var{selection:t}=y;if(t)if(o.e6.isExpanded(t))o.ML.deleteFragment(y);else{var n=o.NB.parent(y,t.anchor.path);o.ML.isVoid(y,n)&&o.YR.delete(y)}}}),[l,v.onCut]),onDragOver:(0,r.useCallback)((e=>{if(Ye(y,e.target)&&!Je(e,v.onDragOver)){var t=at.toSlateNode(y,e.target);o.ML.isVoid(y,t)&&e.preventDefault()}}),[v.onDragOver]),onDragStart:(0,r.useCallback)((e=>{if(!l&&Ye(y,e.target)&&!Je(e,v.onDragStart)){var t=at.toSlateNode(y,e.target),n=at.findPath(y,t);if(o.ML.isVoid(y,t)||o.ML.void(y,{at:n,voids:!0})){var r=o.ML.range(y,n);o.YR.select(y,r)}_.isDraggingInternally=!0,at.setFragmentData(y,e.dataTransfer,"drag")}}),[l,v.onDragStart]),onDrop:(0,r.useCallback)((e=>{if(!l&&Ye(y,e.target)&&!Je(e,v.onDrop)){e.preventDefault();var t=y.selection,n=at.findEventRange(y,e),r=e.dataTransfer;o.YR.select(y,n),_.isDraggingInternally&&(!t||o.e6.equals(t,n)||o.ML.void(y,{at:n,voids:!0})||o.YR.delete(y,{at:t})),at.insertData(y,r),at.isFocused(y)||at.focus(y)}_.isDraggingInternally=!1}),[l,v.onDrop]),onDragEnd:(0,r.useCallback)((e=>{!l&&_.isDraggingInternally&&v.onDragEnd&&Ye(y,e.target)&&v.onDragEnd(e),_.isDraggingInternally=!1}),[l,v.onDragEnd]),onFocus:(0,r.useCallback)((e=>{if(!l&&!_.isUpdatingSelection&&Ke(y,e.target)&&!Je(e,v.onFocus)){var t=at.toDOMNode(y,y),n=at.findDocumentOrShadowRoot(y);if(_.latestElement=n.activeElement,S&&e.target!==t)return void t.focus();K.set(y,!0)}}),[l,v.onFocus]),onKeyDown:(0,r.useCallback)((e=>{if(!l&&Ke(y,e.target)){var{nativeEvent:t}=e;if(at.isComposing(y)&&!1===t.isComposing&&(X.set(y,!1),w(!1)),Je(e,v.onKeyDown)||at.isComposing(y))return;var{selection:n}=y,r=y.children[null!==n?n.focus.path[0]:0],i="rtl"===a()(o.NB.string(r));if(je.isRedo(t)){e.preventDefault();var s=y;return void("function"===typeof s.redo&&s.redo())}if(je.isUndo(t)){e.preventDefault();var u=y;return void("function"===typeof u.undo&&u.undo())}if(je.isMoveLineBackward(t))return e.preventDefault(),void o.YR.move(y,{unit:"line",reverse:!0});if(je.isMoveLineForward(t))return e.preventDefault(),void o.YR.move(y,{unit:"line"});if(n&&(je.isExtendUp(t)||je.isExtendDown(t))&&y.isVoid(r)){e.preventDefault();var c=je.isExtendUp(t);return void o.YR.move(y,{unit:"line",edge:"focus",reverse:c})}if((je.isMoveUp(t)||je.isMoveDown(t))&&y.isVoid(r)){e.preventDefault();var d=je.isMoveDown(t);return void o.YR.move(y,{unit:"line",reverse:d})}if(je.isExtendLineBackward(t))return e.preventDefault(),void o.YR.move(y,{unit:"line",edge:"focus",reverse:!0});if(je.isExtendLineForward(t))return e.preventDefault(),void o.YR.move(y,{unit:"line",edge:"focus"});if(je.isMoveBackward(t))return e.preventDefault(),void(n&&o.e6.isCollapsed(n)?o.YR.move(y,{reverse:!i}):o.YR.collapse(y,{edge:"start"}));if(je.isMoveForward(t))return e.preventDefault(),void(n&&o.e6.isCollapsed(n)?o.YR.move(y,{reverse:i}
1):o.YR.collapse(y,{edge:"end"}));if(je.isMoveWordBackward(t))return e.preventDefault(),n&&o.e6.isExpanded(n)&&o.YR.collapse(y,{edge:"focus"}),void o.YR.move(y,{unit:"word",reverse:!i});if(je.isMoveWordForward(t))return e.preventDefault(),n&&o.e6.isExpanded(n)&&o.YR.collapse(y,{edge:"focus"}),void o.YR.move(y,{unit:"word",reverse:i});if(I){if((O||j)&&n&&(je.isDeleteBackward(t)||je.isDeleteForward(t))&&o.e6.isCollapsed(n)){var f=o.NB.parent(y,n.anchor.path);if(o.W_.isElement(f)&&o.ML.isVoid(y,f)&&o.ML.isInline(y,f))return e.preventDefault(),void o.ML.deleteBackward(y,{unit:"block"})}}else{if(je.isBold(t)||je.isItalic(t)||je.isTransposeCharacter(t))return void e.preventDefault();if(je.isSoftBreak(t))return e.preventDefault(),void o.ML.insertSoftBreak(y);if(je.isSplitBlock(t))return e.preventDefault(),void o.ML.insertBreak(y);if(je.isDeleteBackward(t))return e.preventDefault(),void(n&&o.e6.isExpanded(n)?o.ML.deleteFragment(y,{direction:"backward"}):o.ML.deleteBackward(y));if(je.isDeleteForward(t))return e.preventDefault(),void(n&&o.e6.isExpanded(n)?o.ML.deleteFragment(y,{direction:"forward"}):o.ML.deleteForward(y));if(je.isDeleteLineBackward(t))return e.preventDefault(),void(n&&o.e6.isExpanded(n)?o.ML.deleteFragment(y,{direction:"backward"}):o.ML.deleteBackward(y,{unit:"line"}));if(je.isDeleteLineForward(t))return e.preventDefault(),void(n&&o.e6.isExpanded(n)?o.ML.deleteFragment(y,{direction:"forward"}):o.ML.deleteForward(y,{unit:"line"}));if(je.isDeleteWordBackward(t))return e.preventDefault(),void(n&&o.e6.isExpanded(n)?o.ML.deleteFragment(y,{direction:"backward"}):o.ML.deleteBackward(y,{unit:"word"}));if(je.isDeleteWordForward(t))return e.preventDefault(),void(n&&o.e6.isExpanded(n)?o.ML.deleteFragment(y,{direction:"forward"}):o.ML.deleteForward(y,{unit:"word"}))}}}),[l,v.onKeyDown]),onPaste:(0,r.useCallback)((e=>{l||!Ke(y,e.target)||Je(e,v.onPaste)||I&&!(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||(e.preventDefault(),at.insertData(y,e.clipboardData))}),[l,v.onPaste])}),r.createElement(We,{decorations:N,node:y,renderElement:d,renderPlaceholder:h,renderLeaf:f,selection:y.selection}))))}},42930:function(e,t,n){"use strict";function r(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)}function o(e){return r(e)&&"string"===typeof e._ref}function i(e){return r(e)&&o(e.asset)&&e.asset._ref.startsWith("image-")}function a(e){return r(e)&&"string"===typeof e._ref&&"string"===typeof e._dataset&&"string"===typeof e._projectId}function s(e){return r(e)&&"string"===typeof e._id&&"string"===typeof e._type}function u(e){return r(e)&&"string"===typeof e._type}function l(e){return r(e)&&"string"===typeof e._key}function c(e){return"error"===e.level}n.d(t,{AY:function(){return I},DG:function(){return v},EG:function(){return _},Fd:function(){return p},J1:function(){return j},KA:function(){return b},M1:function(){return k},NG:function(){return y},Or:function(){return i},Si:function(){return s},YN:function(){return c},Yk:function(){return o},Yz:function(){return a},Z2:function(){return L},aj:function(){return S},ay:function(){return u},d7:function(){return E},dD:function(){return O},dw:function(){return h},fU:function(){return l},fe:function(){return R},jB:function(){return C},jp:function(){return M},lo:function(){return g},m$:function(){return x},mz:function(){return A},n4:function(){return T},qu:function(){return D},z1:function(){return P}});const d=/_key\s*==\s*['"](.*)['"]/,f=/^\d*:\d*$/;function h(e){return"number"===typeof e||"string"===typeof e&&/^\[\d+\]$/.test(e)}function p(e){return"string"===typeof e?d.test(e.trim()):"object"===typeof e&&"_key"in e}function g(e){if("string"===typeof e&&f.test(e))return!0;if(!Array.isArray(e)||2!==e.length)return!1;const[t,n]=e;return("number"===typeof t||""===t)&&("number"===typeof n||""===n)}function m(e){return!!e&&("object"==typeof e||"function"==typeof e)}function v(e){return m(e)&&"string"===typeof e._type&&Array.isArray(e.children)&&e.children.every((e=>m(e)))&&"markDefs"in e&&Array.isArray(e.markDefs)&&e.markDefs.every((e=>m(e)))&&(!("style"in e)||"string"===typeof e.style)}function y(e){return m(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 v(e)&&"listItem"in e&&"string"===typeof e.listItem&&"level"in e&&Number.isInteger(e.level)}function w(e){return!!e&&("object"==typeof e||"function"==typeof e)}function x(e){return!!w(e)&&"object"===e.jsonType}function C(e){return!!w(e)&&"array"===e.jsonType}function k(e){return C(e)&&e.of.every((e=>x(e)))}function E(e){return C(e)&&e.of.every((e=>M(e)))}function _(e){return!!w(e)&&"boolean"===e.jsonType}function S(e){return!!w(e)&&"string"===e.jsonType}function j(e){return!!w(e)&&"number"===e.jsonType}function M(e){return _(e)||S(e)||j(e)}function O(e){return w(e)&&("reference"===e.name||O(e.type))}function A(e){return w(e)&&("crossDatasetReference"===e.name||A(e.type))}function T(e){return"object"===typeof e&&null!==e&&"title"in e&&"value"in e}function R(e,t){return e}function L(e,t){return e}function D(e,t){return e}function P(e){return"error"===e.level}function I(e){return"warning"===e.level}},57122:function(e,t,n){"use strict";n.d(t,{E2:function(){return c},Ru:function(){return s},Sm:function(){return u},wq:function(){return f}});var r=n(4527),o=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);function i(e){for(const t in e)if("_type"!==t&&"_key"!==t&&o(e,t)&&!s(e[t]))return!1;return!0}function a(e){for(let t=0;t<e.length;t++)if(!s(e[t]))return!1;return!0}function s(e){if(void 0===e||null===e)return!0;const t=typeof e;return Array.isArray(e)?a(e):"object"===t&&i(e)}function u(e){for(const t in e)if("_type"!==t&&"_key"!==t&&o(e,t)&&void 0!==e[t])return!1;return!0}const l=(()=>{let e;return()=>{if(e)return e;e=[];for(let t=0;t<256;++t)e[t]=(t+256).toString(16).substring(1);return e}})();function c(e){const t=l();return function(){const e=new Uint8Array(arguments.length>0&&void 0!==arguments[0]?arguments[0]:16);return(0,r.Z)(e),e}(e).reduce(((e,n)=>e+t[n]),"").slice(0,e)}const d=Object.prototype.toString;function f(e){const t=function(e){switch(d.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);if("object"!==t)return t;return"_type"in e&&e._type||t}},98434:function(e,t,n){"use strict";n.d(t,{Q:function(){return a},W:function(){return i}});var r=n(30381),o=n.n(r);function i(e,t){return o()(e).format(t)}function a(e,t){const n=o()(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 u},Xy:function(){return d},Zg:function(){return s},eh:function(){return f},fi:function(){return g},mL:function(){return w},s6:function(){return c},vC:function(){return m},vW:function(){return b}});var r=n(42930);const o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/_key\s*==\s*['"](.*)['"]/,a=[],s="$";function u(e,t,n){const o="string"===typeof t?w(t):t;if(!Array.isArray(o))throw new Error("Path must be an array or a string");let i=e;for(let a=0;a<o.length;a++){const e=o[a];if((0,r.dw)(e)){if(!Array.isArray(i))return n;i=i[e]}if((0,r.Fd)(e)){if(!Array.isArray(i))return n;i=i.find((t=>t._key===e._key))}if("string"===typeof e&&(i="object"===typeof i&&null!==i?i[e]:void 0),"undefined"===typeof i)return n}return i}const l=new Map;function c(e){if(0===e.length)return a;const t=v(e);return l.has(t)?l.get(t):(l.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){const 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;const[n,...r]=e,[o,...i]=t;return h(n,o)?c(g(r,i)):t}function m(e,t){return p(e,t)?g(e,t):a}function v(e){if(!Array.isArray(e))throw new Error("Path is not an array");return e.reduce(((e,t,n)=>{const o=typeof t;if("number"===o)return"".concat(e,"[").concat(t,"]");if("string"===o){const r=0===n?"":".";return"".concat(e).concat(r).concat(t)}if((0,r.Fd)(t)&&t._key)return"".concat(e,'[_key=="').concat(t._key,'"]');if(Array.isArray(t)){const[n,r]=t;return"".concat(e,"[").concat(n,":").concat(r,"]")}throw new Error("Unsupported path segment `".concat(JSON.stringify(t),"`"))}),"")}function y(e,t){if(0===t.length)return t;const[n,...r]=t;if("number"===typeof n){if(!Array.isArray(e)||!(n in e))return[];
1const t=e[n];return["string"===typeof(null==t?void 0:t._key)?{_key:t._key}:n,...y(t,r)]}return[n,...y(u(e,[n]),r)]}function b(e,t){if(!Array.isArray(t))throw new Error("Path is not an array");return c(y(e,t))}function w(e){if("string"!==typeof e)throw new Error("Path is not a string");const t=e.match(o);if(!t)throw new Error("Invalid path string");return t.map(x)}function x(e){return(0,r.dw)(e)?function(e){return Number(e.replace(/[^\d]/g,""))}(e):(0,r.Fd)(e)?function(e){return{_key:e.match(i)[1]}}(e):(0,r.lo)(e)?function(e){const[t,n]=e.split(":").map((e=>""===e?e:Number(e)));return[t,n]}(e):e}},49150:function(e,t,n){"use strict";n.d(t,{PA:function(){return Se},aj:function(){return Ce}});var r=n(50361),o=n.n(r),i=n(27361),a=n.n(i),s=n(42930),u=n(42298),l=n(32817),c=n(19917),d=n(23071),f=n(69243),h=n(19293),p=n(79878),g=n(5014),m=n(44367),v=n(30062),y=n(29127),b=n(85564),w=n.n(b),x=n(45578),C=n.n(x),k=n(88306),E=n.n(k),_=Object.defineProperty,S=(e,t,n)=>(((e,t,n)=>{t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);const j=class e{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};S(this,"message"),S(this,"paths"),S(this,"children"),S(this,"operation"),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})}};function M(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce(((e,t,n)=>{const r=typeof t;if("number"===r)return"".concat(e,"[").concat(t,"]");if("string"===r){const r=0===n?"":".";return"".concat(e).concat(r).concat(t)}if((0,s.fU)(t))return"".concat(e,'[_key=="').concat(t._key,'"]');throw new Error('Unsupported path segment "'.concat(t,'"'))}),"")}function O(e){return null!==e||void 0!==e}function A(e,t,n){var r;if(!n)throw new Error("missing context");if(!0===e)return[];if(Array.isArray(e))return e.flatMap((e=>A(e,t,n))).filter(O);if("string"===typeof e)return A(new j(e),t,n);if(!(e instanceof j)){if("string"!==typeof(null==e?void 0:e.message))throw new Error("".concat(M(n.path),": Validator must return 'true' if valid or an error message as a string on errors"));return A(new j(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||[]}]}const T={}.toString,R=[Object,Function,Array,String,Boolean,Number,Date,RegExp,Error];function L(e){const t=T.call(e).slice(8,-1);if(null===e||void 0===e)return t.toLowerCase();const n=e.constructor;return n&&!function(e){for(let t=0;t<R.length;t++)if(R[t]===e)return!0;return!1}(n)?n.name:t}function D(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(!D(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){const n=Object.keys(e);if(n.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 e=0;e<n.length;e++)if("_key"!==n[e]&&!Object.prototype.hasOwnProperty.call(t,n[e]))return!1;for(let r=0;r<n.length;r++){const o=n[r];if("_key"!==o&&!D(e[o],t[o]))return!1}return!0}return!1}const P=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 j(n,{children:e.results.length>1?e.results:void 0,operation:e.operation})},I={type:(e,t,n)=>{const r=L(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)=>{const o=(await Promise.all(e.map((e=>e.validate(t,r))))).flat();return!o.length||P({message:n,results:o,operation:"AND"})},either:async(e,t,n,r)=>{const o=(await Promise.all(e.map((e=>e.validate(t,r))))).flat();return o.length<e.length||P({message:n,results:o,operation:"OR"})},valid:(e,t,n)=>{const r=typeof t;if("undefined"===r)return!0;const o=("number"===r||"string"===r)&&"".concat(t),i=o&&o.length>30?"".concat(o.slice(0,30),"\u2026"):o,a=o?'Value "'.concat(i,'" did not match any allowed values'):"Value did n
1ot match any allowed values";return!!e.some((e=>D(e,t)))||(n||a)},custom:async(e,t,n,r)=>{const o=setTimeout((()=>{console.warn("Custom validator at ".concat(M(r.path)," has taken more than ").concat(5e3,"ms to respond"))}),5e3);let i;try{i=await e(t,r)}finally{clearTimeout(o)}return"string"===typeof i&&n||i}},F={...I,presence:(e,t,n)=>"required"!==e||"boolean"===typeof t||(n||"Required")},Z=/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,N={...I,integer:(e,t,n)=>!!Number.isInteger(t)||(n||"Must be an integer"),precision:(e,t,n)=>{if(void 0===t)return!0;const r=t.toString().match(Z);return!(Math.max((r[1]?r[1].length:0)-(r[2]?parseInt(r[2],10):0),0)>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))},H="http://sanity",B=/^(([^<>()[\]\\.,;:\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,}))$/,V={...I,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)=>{const r=t||"",{options:o}=e,{allowCredentials:i,relativeOnly:a}=o,s=o.allowRelative||a;let u;try{u=s?new URL(r,H):new URL(r)}catch(c){return n||"Not a valid URL"}if(a&&u.origin!==H)return n||"Only relative URLs are allowed";if(!s&&u.origin===H&&(e=>/^\.*\//.test(e))(r))return n||"Relative URLs are not allowed";if(!i&&(u.username||u.password))return n||"Username/password not allowed";const l=u.protocol.replace(/:$/,"");return!!o.scheme.some((e=>e.test(l)))||(n||"Does not match allowed protocols/schemes")},stringCasing:(e,t,n)=>{const 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)=>{const{pattern:r,name:o,invert:i}=e,a=o||'"'.concat(r.toString(),'"'),s=t||"",u=r.test(s);if(!i&&!u||i&&u){const e=i?"Should not match ".concat(a,"-pattern"):"Does not match ".concat(a,"-pattern");return n||e}return!0},email:(e,t,n)=>{const r="".concat(t||"").trim();return!(r&&!B.test(r))||(n||"Must be a valid email address")}},z={...I,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("undefined"===typeof t)return!0;const r=[];for(let o=0;o<t.length;o++){const n=t[o];if(e.some((e=>D(e,n))))continue;const i=n&&n._key?{_key:n._key}:o;r.push([i])}return 0===r.length||new j(n||"Value did not match any allowed values",{paths:r})},unique:(e,t,n)=>{const r=[];if(!t)return!0;for(let i=0;i<t.length;i++)for(let e=i+1;e<t.length;e++){D(t[i],t[e])&&(-1===r.indexOf(i)&&r.push(i),-1===r.indexOf(e)&&r.push(e))}const o=r.map((e=>{const n=t[e];return[n&&n._key?{_key:n._key}:e]}));return!(r.length>0)||new j(n||"Can't be a duplicate",{paths:o})}},U=["_key","_type","_weak"],W={...I,presence:(e,t,n)=>{if("required"!==e)return!0;const r=t&&Object.keys(t).filter((e=>!U.includes(e)));return!(void 0===t||r&&0===r.length)||(n||"Required")},reference:async(e,t,n,r)=>{if(!t)return!0;if(!(0,s.Yk)(t))return n||"Must be a reference to a document";const{type:o,getDocumentExists:i}=r;if(!o)throw new Error("`type` was not provided in validation context");if("weak"in o&&o.weak)return!0;if(!i)throw new Error("`getDocumentExists` was not provided in validation context");return!!(await i({id:t._ref}))||"This reference must be published"},assetRequired:(e,t,n)=>{if(!t||!t.asset||!t.asset._ref){const t=e.assetType||"Asset";return n||"".concat(t," required")}return!0}};function $(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)}const q=/^(?:[-+]\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)?)?)?)?$/,G=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;const n=new Date(e),r=isNaN(n.getTime());if(r&&t)throw new Error('Unable to parse "'.concat(e,'" to a date'));return r?null:n}const K={...I,type:(e,t,n)=>!("".concat(t)&&!q.test(t))||(n||"Must be a valid ISO-8601 formatted date string"),min:(e,t,n,r)=>{const o=Y(t);if(!o)return!0;
1if(!t||o>=Y(e,!0))return!0;if(!r.type)throw new Error("`type` was not provided in validation context.");const i=$(r.type.options)?r.type.options:{},a=G(r.type.name,e,i);return n||"Must be at or after ".concat(a)},max:(e,t,n,r)=>{const o=Y(t);if(!o)return!0;if(!t||o<=Y(e,!0))return!0;if(!r.type)throw new Error("`type` was not provided in validation context.");const i=$(r.type.options)?r.type.options:{},a=G(r.type.name,e,i);return n||"Must be at or before ".concat(a)}};var X,J=Object.defineProperty,Q=(e,t,n)=>(((e,t,n)=>{t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);const ee={Boolean:F,Number:N,String:V,Array:z,Object:W,Date:K},te=e=>e&&e.type?te(e.type):e,ne=[],re=Symbol("FIELD_REF"),oe=["Array","Boolean","Date","Number","Object","String"],ie=(X=class{constructor(e){Q(this,"_type"),Q(this,"_level"),Q(this,"_required"),Q(this,"_typeDef"),Q(this,"_message"),Q(this,"_rules",[]),Q(this,"_fieldRules"),Q(this,"valueOfField",X.valueOfField.bind(X)),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){const t=this.clone();return t._level="error",t._message=e||void 0,t}warning(e){const t=this.clone();return t._level="warning",t._message=e||void 0,t}info(e){const 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(){const e=new X;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){const t=this.clone(),n=new Set;return e.forEach((e=>{"type"===e.flag&&(t._type=e.constraint),n.add(e.flag)})),t._rules=t._rules.filter((e=>{const 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 new Error("merge() failed: conflicting types");const 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){const t="".concat(e.slice(0,1).toUpperCase()).concat(e.slice(1));if(!oe.includes(t))throw new Error('Unknown type "'.concat(e,'"'));const 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(){const e=this.cloneWithRules([{flag:"presence",constraint:"optional"}]);return e._required="optional",e}required(){const 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){const 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,o;const i={pattern:e,name:"string"===typeof t?t:null!=(r=null==t?void 0:t.name)?r:null==n?void 0:n.name,invert:"string"!==typeof t&&(null!=(o=null==t?void 0:t.invert)?o:null==n?void 0:n.invert)||!1};return this.cloneWithRules([{flag:"regex",constraint:i}])}email(){return this.cloneWithRules([{flag:"email"}])}
1uri(e){const t=(null==e?void 0:e.scheme)||["http","https"],n=Array.isArray(t)?t:[t];if(!n.length)throw new Error("scheme must have at least 1 scheme specified");const r={options:{scheme:n.map((e=>{if(!(e instanceof RegExp)&&"string"!==typeof e)throw new Error("scheme must be a RegExp or a String");return"string"===typeof e?new RegExp("^".concat(e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&"),"$")):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 new Error("fields() can only be called on an object type");const t=this.cloneWithRules([]);return t._fieldRules=e,t}assetRequired(){const e=te(this._typeDef);let t;return t=e&&["image","file"].includes(e.name)?"image"===e.name?"Image":"File":"Asset",this.cloneWithRules([{flag:"assetRequired",constraint:{assetType:t}}])}async validate(e,t){if(!t)throw new Error("missing context");const n=null===e||void 0===e;if(n&&"optional"===this._required)return ne;const r=void 0===this._required&&n?this._rules.filter((e=>"custom"===e.flag)):this._rules,o=this._type&&ee[this._type]||I;return(await Promise.all(r.map((async n=>{if(void 0===n.flag)throw new Error('Invalid rule, did not contain "flag"-property');const r=o[n.flag];if(!r){const e=this._type?'type "'.concat(this._type,'"'):"rule without declared type";throw new Error('Validator for flag "'.concat(n.flag,'" not found for ').concat(e))}let i="constraint"in n?n.constraint:null;var s;let u;"object"===typeof(s=i)&&s&&s.type===ie.FIELD_REF&&(i=a()(t.parent,i.path));try{u=await r(i,e,this._message,t)}catch(l){return A(new j("".concat(M(t.path),": Exception occurred while validating value: ").concat(l.message)),"error",t)}return A(u,this._level,t)})))).flat()}},Q(X,"FIELD_REF",re),Q(X,"array",(e=>new X(e).type("Array"))),Q(X,"object",(e=>new X(e).type("Object"))),Q(X,"string",(e=>new X(e).type("String"))),Q(X,"number",(e=>new X(e).type("Number"))),Q(X,"boolean",(e=>new X(e).type("Boolean"))),Q(X,"dateTime",(e=>new X(e).type("Date"))),Q(X,"valueOfField",(e=>({type:re,path:e}))),X),ae="undefined"===typeof window?void 0:window,se=(null==ae?void 0:ae.requestIdleCallback)||function(e,t){const n=Date.now();return window.setTimeout((()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,Date.now()-n)})}),0)},ue=(null==ae?void 0:ae.cancelIdleCallback)||function(e){return window.clearTimeout(e)},le=E()((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"))}));function ce(e){return e.reduce(((e,t,n)=>{const r="number"===typeof t,o=(0,s.fU)(t),i=r||o?"[]":"".concat(0===n?"":".").concat(t);return"".concat(e).concat(i)}),"")}const de=(e,t)=>{const{getClient:n,document:r,path:o,type:i}=t,a=null==i?void 0:i.options;if(!r)throw new Error("`document` was not provided in validation context.");if(!o)throw new Error("`path` was not provided in validation context.");const s=(null==a?void 0:a.disableArrayWarning)||!1,{published:u,draft:l}=function(e){const t=0===e.indexOf("drafts.");return{published:t?e.slice("drafts.".length):e,draft:t?e:"drafts.".concat(e)}}(r._id),c=r._type,d=ce(o.concat("current"));!s&&d.includes("[]")&&le(ce(o));const 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:l,published:u,slug:e},{tag:"validation.slug-is-unique"})};const fe=async(e,t)=>{var n;if(!e)return!0;if("object"!==typeof e)return"Slug must be an object";const r=e.current;if(!r)return"Slug must have a value";const o=null==(n=null==t?void 0:t.type)?void 0:n.options,i=(null==o?void 0:o.isUnique)||de,a={...t,parent:t.parent,type:t.type,defaultIsUnique:de};return!!(await i(r,a))||"Slug is already in use"},he={array:!0,boolean:!0,date:!0,number:!0,object:!0,string:!0};function pe(e,t){if(!e)return[];if(t.has(e))return[];t.add(e);return[...e.type?pe(e.type,t):[],e]}function ge(e,t){let n=e;(e=>e in he)(t.jsonType)&&(n=n.type(t.jsonType));const 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=>function(e,t){return"object"===t.jsonType&&me(t)||void 0===e.value?e:e.value}(e,t))))),"datetime"===t.name||"date"===t.name?n.type("Date"):"url"===t.name?n.uri():"slug"===t.name?n.custom(fe):"reference"===t.name?n.reference():"email"===t.name?n.email():n}function me(e){return!!e&&(!("fields"in e)&&e.type?me(e.type):"fields"in e&&(!!Array.isArray(e.fields)&&e.fields.some((e=>"value"===e.name))))}function ve(e){if(!e)return[];const t=e.validation;if(Array.isArray(t))return t.flatMap((t=>ve({...e,validation:t})));if(t instanceof ie)return[t];const n=Object.values(pe(e,new Set).reduce(((e,t)=>(e[t.name]=t,e)),{})).reduce(ge,new ie(e));return t?ve({...e,validation:t(n)}):[n]}const ye=e=>"object"===typeof e&&null!==e&&!Array.isArray(e),be=e=>null!==e&&void 0!==e;function we(e,t){if(1===t.length)return t[0];const n=(0,s.ay)(e)&&e._type,r=void 0===e||null===e||!n&&L(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))}const xe=[];function Ce(e,t,n,r){const o=n.get(t._type);if(!o)return console.warn('Schema type for object type "%s" not found, skipping validation',t._t
1ype),(0,l.of)(xe);return ke({getClient:e,schema:n,parent:void 0,value:t,path:[],document:t,type:o,getDocumentExists:null==r?void 0:r.getDocumentExists}).pipe((0,p.K)((e=>(console.error(e),(0,l.of)([{type:"validation",level:"error",path:[],item:new j(null==e?void 0:e.message)}])))))}function ke(e){let{value:t,type:n,path:r=[],parent:o,...i}=e;const a=ve(n),u=a.map((e=>(0,c.P)((()=>e.validate(t,{...i,parent:o,path:r,type:n})))));let l=[];const p=a.some((e=>e.isRequired()));if("object"===(null==n?void 0:n.jsonType)&&(!!t||(null===t||void 0===t)&&p)){const e=n.fields.reduce(((e,t)=>(e[t.name]=t.type,e)),{});l=l.concat(a.map((e=>e._fieldRules)).filter(be).flatMap((e=>Object.entries(e))).flatMap((n=>{let[o,a]=n;const s=e[o];return ve({...s,validation:a}).map((e=>{const n=ye(t)?t[o]:void 0;return(0,c.P)((()=>e.validate(n,{...i,parent:t,path:r.concat(o),type:s})))}))}))),l=l.concat(n.fields.map((e=>ke({...i,parent:t,value:ye(t)?t[e.name]:void 0,path:r.concat(e.name),type:e.type}))))}return"array"===(null==n?void 0:n.jsonType)&&Array.isArray(t)&&(l=l.concat(t.map(((e,o)=>ke({...i,parent:t,value:e,path:r.concat((0,s.fU)(e)?{_key:e._key}:o),type:we(e,n.of)}))))),(0,c.P)((()=>(0,d.T)([...u,...l]))).pipe((0,g.z)((e=>{return(0,f.z)(new h.y((e=>{const n=se((()=>{e.complete()}),t?{timeout:t}:void 0);return()=>ue(n)})),e);var t}),40),(0,m.J)(),(0,v.q)(),(0,y.U)(w()),(0,y.U)((e=>a.some((e=>e._fieldRules))?C()(e,(e=>JSON.stringify(e))):e)))}function Ee(e,t){if(!t.has(e)){if(t.add(e),e.validation=ve(e),"fields"in e)for(const n of e.fields)Ee(n.type,t);if("of"in e)for(const n of e.of)Ee(n,t);if(e.annotations)for(const n of e.annotations)Ee(n,t)}}function _e(e){return Ee(e,new Set),e}function Se(e){return e.getTypeNames().forEach((t=>{const n=e.get(t);n&&_e(n)})),e}},3571:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(67294),o=n(32932),i=n(933),a=n(40168);const s=(0,o.Cw0)((e=>{const{name:t,title:o,icon:s,...u}=e||{};return{name:"@sanity/vision",tools:[{name:t||"vision",title:o||"Vision",icon:s||a.hsE,component:(0,r.lazy)((()=>Promise.all([n.e(762),n.e(245),n.e(173)]).then(n.bind(n,37522)))),options:u,router:i.BC.create("/*")}]}}))},86126:function(e,t,n){"use strict";n.d(t,{ee:function(){return h}});var r=n(87462),o=n(67294),i=(n(8679),function(e,t,n){return e=(e=e<=n?e:n)>=t?e:t}),a=function(){var e=!1,t=[],n=function n(){e=!0;var r=t.shift();if(r)return r(n);e=!1};return{clear:function(){e=!1,t=[]},enqueue:function(r){t.push(r),e||1!==t.length||n()}}},s=function(e){(0,o.useEffect)(e,[])},u=function(e){return++e%1e6},l=function(e){void 0===e&&(e={});var t=function(){var e=(0,o.useState)(0)[1];return(0,o.useCallback)((function(){return e(u)}),[])}(),n=(0,o.useRef)((0,r.Z)({},e));return[(0,o.useCallback)((function(){return n.current}),[]),(0,o.useCallback)((function(e){e&&(Object.assign(n.current,e),t())}),[])]},c=function(e,t){var n=function(){var e=(0,o.useRef)(!0);return e.current?(e.current=!1,!0):e.current}();(0,o.useEffect)((function(){if(!n)return e()}),t)},d=function(){},f={isFinished:!0,progress:0,sideEffect:d},h=function(e){var t=void 0===e?{}:e,n=t.animationDuration,u=void 0===n?200:n,h=t.incrementDuration,p=void 0===h?800:h,g=t.isAnimating,m=void 0!==g&&g,v=t.minimum,y=void 0===v?.08:v,b=l(f),w=b[0],x=b[1],C=(0,o.useRef)(null),k=(0,o.useRef)(null);s((function(){C.current=a(),k.current=function(){var e;return{cancel:function(){e&&window.cancelAnimationFrame(e)},schedule:function(t,n){var r;e=window.requestAnimationFrame((function o(i){i-(r=r||i)>n?t():e=window.requestAnimationFrame(o)}))}}}()}));var E=(0,o.useCallback)((function(){var e,t;null==(e=k.current)||e.cancel(),null==(t=C.current)||t.clear()}),[]),_=(0,o.useCallback)((function(e){var t,n,r;if(1===(e=i(e,y,1)))return E(),null==(n=C.current)||n.enqueue((function(t){x({progress:e,sideEffect:function(){var e;return null==(e=k.current)?void 0:e.schedule(t,u)}})})),void(null==(r=C.current)||r.enqueue((function(){x({isFinished:!0,sideEffect:E})})));null==(t=C.current)||t.enqueue((function(t){x({isFinished:!1,progress:e,sideEffect:function(){var e;
1return null==(e=k.current)?void 0:e.schedule(t,u)}})}))}),[u,E,y,C,x,k]),S=(0,o.useCallback)((function(){_(function(e){var t=0;return e>=0&&e<.2?t=.1:e>=.2&&e<.5?t=.04:e>=.5&&e<.8?t=.02:e>=.8&&e<.99&&(t=.005),i(e+t,0,.994)}(w().progress))}),[w,_]),j=(0,o.useCallback)((function(){!function e(){var t;S(),null==(t=C.current)||t.enqueue((function(t){var n;null==(n=k.current)||n.schedule((function(){e(),t()}),p)}))}()}),[p,C,k,S]),M=(0,o.useRef)(d),O=w().sideEffect;return(0,o.useEffect)((function(){M.current=S})),s((function(){return m&&j(),E})),c((function(){w().sideEffect()}),[w,O]),c((function(){m?x((0,r.Z)({},f,{sideEffect:j})):_(1)}),[m,_,x,j]),{animationDuration:u,isFinished:w().isFinished,progress:w().progress}}},31322:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});const o=n(67294);t.default=function(e){const{label:t,symbol:n}=e,i=r(e,["label","symbol"]);return o.createElement("span",Object.assign({"aria-hidden":!t||void 0,"aria-label":t||void 0,role:"img"},i),n)}},97644:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(31322));var r=n(31322);t.default=r.default},61021:function(e){"use strict";e.exports=function(e){return null===e||void 0===e?[]:Array.isArray(e)?e:[e]}},58363:function(e,t){"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){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?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},56851:function(e,t){"use strict";t.Q=function(e){var t,n=[],r=String(e||""),o=r.indexOf(","),i=0,a=!1;for(;!a;)-1===o&&(o=r.length,a=!0),!(t=r.slice(i,o).trim())&&a||n.push(t),i=o+1,o=r.indexOf(",",i);return n}},20640:function(e,t,n){"use strict";var r=n(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,u,l,c=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),u=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),s.selectNodeContents(l),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),l&&document.body.removeChild(l),a()}return c}},45933:function(e,t,n){"use strict";var r,o=n(34155),i=function(){function e(e,t){if("function"!==typeof e)throw new 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 new 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;
1if("function"!==typeof t)throw new 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 new 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 new TypeError("Custom cacheMap missing methods: "+n.join(", "))}return t}(t),this._batch=null,this.name=function(e){if(e&&e.name)return e.name;return null}(t)}var t=e.prototype;return t.load=function(e){if(null===e||void 0===e)throw new 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)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)return void u(t);var n;try{n=e._batchLoadFn(t.keys)}catch(r){return s(e,t,new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function errored synchronously: "+String(r)+"."))}if(!n||"function"!==typeof n.then)return s(e,t,new 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(!l(e))throw new 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 new 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));u(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 o=n.get(r);if(o){var i=t.cacheHits||(t.cacheHits=[]);return new Promise((function(e){i.push((function(){e(o)}))}))}}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(!l(e))throw new 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,o=this._cacheKeyFn(e);if(void 0===n.get(o))t instanceof Error?(r=Promise.reject(t)).catch((function(){})):r=Promise.resolve(t),n.set(o,r)}return this},e}(),a="object"===typeof o&&"function"===typeof o.nextTick?function(e){r||(r=Promise.resolve()),r.then((function(){o.nextTick(e)}))}:"function"===typeof setImmediate?function(e){setImmediate(e)}:function(e){setTimeout(e)};function s(e,t,n){u(t);for(var r=0;r<t.keys.length;r++)e.clear(t.keys[r]),t.callbacks[r].reject(n)}function u(e){if(e.cacheHits)for(var t=0;t<e.cacheHits.length;t++)e.cacheHits[t]()}function l(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=i},52149:function(e,t,n){"use strict";function r(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}n.d(t,{Z:function(){return r}})},86559:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},o=function(e,t,n){var o,i=r[e];
1return o="string"===typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},u=function(e,t,n,r){return s[e]};function l(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var c={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function d(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(u)?h(u,(function(e){return e.test(s)})):f(u,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(l):l,a=n.valueCallback?n.valueCallback(a):a;var c=t.slice(s.length);return{value:a,rest:c}}}function f(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function h(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var p,g={ordinalNumber:(p={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(p.matchPattern);if(!n)return null;var r=n[0],o=e.match(p.parsePattern);if(!o)return null;var i=p.valueCallback?p.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;var a=e.slice(r.length);return{value:i,rest:a}}),era:d({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:d({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:d({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},m={code:"en-US",formatDistance:o,formatLong:a,formatRelative:u,localize:c,match:g,options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r={};function o(){return r}},97621:function(e,t){"use strict";var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},o={p:r,P:function(e,t){var o,i=e.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return n(e,t);switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",n(a,t)).replace("{{time}}",r(s,t))}};t.Z=o},24262:function(e,t,n){"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:function(){return r}})},33276:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(19013),o=n(66979),i=n(7032),a=n(13882);function s(e){(0,a.Z)(1,arguments);var t=(0,i.Z)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=(0,o.Z)(n);return r}var u=6048e5;function l(e){(0,a.Z)(1,arguments);var t=(0,r.Z)(e),n=(0,o.Z)(t).getTime()-s(t).getTime();return Math.round(n/u)+1}},7032:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(19013),o=n(13882),i=n(66979);function a(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,i.Z)(a),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var l=(0,i.Z)(u);return t.getTime()>=s.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}},5230:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(19013),o=n(59025),i=n(7651),a=n(13882),s=n(83946),u=n(84314);function l(e,t){var n,r,l,c,d,f,h,p;(0,a.Z)(1,arguments);var g=(0,u.j)(),m=(0,s.Z)(null!==(n=null!==(r=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==l?l:g.firstWeekContainsDate)&&void 0!==r?r:null===(h=g.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),v=(0,i.Z)(e,t),y=new Date(0);y.setUTCFullYear(v,0,m),y.setUTCHours(0,0,0,0);var b=(0,o.Z)(y,t);return b}var c=6048e5;function d(e,t){(0,a.Z)(1,arguments);var n=(0,r.Z)(e),i=(0,o.Z)(n,t).getTime()-l(n,t).getTime();return Math.round(i/c)+1}},7651:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(19013),o=n(13882),i=n(59025),a=n(83946),s=n(84314);function u(e,t){var n,u,l,c,d,f,h,p;(0,o.Z)(1,arguments);var g=(0,r.Z)(e),m=g.getUTCFullYear(),v=(0,s.j)(),y=(0,a.Z)(null!==(n=null!==(u=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==l?l:v.firstWeekContainsDate)&&void 0!==u?u:null===(h=v.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(m+1,0,y),b.setUTCHours(0,0,0,0);var w=(0,i.Z)(b,t),x=new Date(0);x.setUTCFullYear(m,0,y),x.setUTCHours(0,0,0,0);var C=(0,i.Z)(x,t);return g.getTime()>=w.getTime()?m+1:g.getTime()>=C.getTime()?m:m-1}},5267:function(e,t,n){"use strict";n.d(t,{Do:function(){return a},Iu:function(){return i},qp:function(){return s}});var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
1concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},13882:function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function o(e){return e?r[e]:r.trunc}},66979:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=1,n=(0,r.Z)(e),i=n.getUTCDay(),a=(i<t?7:0)+i-t;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}},59025:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(19013),o=n(13882),i=n(83946),a=n(84314);function s(e,t){var n,s,u,l,c,d,f,h;(0,o.Z)(1,arguments);var p=(0,a.j)(),g=(0,i.Z)(null!==(n=null!==(s=null!==(u=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(c=t.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==u?u:p.weekStartsOn)&&void 0!==s?s:null===(f=p.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,r.Z)(e),v=m.getUTCDay(),y=(v<g?7:0)+v-g;return m.setUTCDate(m.getUTCDate()-y),m.setUTCHours(0,0,0,0),m}},83946:function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:function(){return r}})},77349:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},11640:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),u=new Date(n.getTime());u.setMonth(n.getMonth()+a+1,0);var l=u.getDate();return s>=l?u:(n.setFullYear(u.getFullYear(),u.getMonth(),s),n)}},49474:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t),a=n.getTime()-i.getTime();return a<0?-1:a>0?1:a}},36948:function(e,t,n){"use strict";n.d(t,{qk:function(){return i},vh:function(){return o},yJ:function(){return r}});Math.pow(10,8);var r=6e4,o=36e5,i=1e3},92300:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(24262),o=n(69119),i=n(13882),a=864e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),s=(0,o.Z)(t),u=n.getTime()-(0,r.Z)(n),l=s.getTime()-(0,r.Z)(s);return Math.round((u-l)/a)}},67803:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(19013),o=n(92300),i=n(13882);function a(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(e),s=(0,r.Z)(t),u=a(n,s),l=Math.abs((0,o.Z)(n,s));n.setDate(n.getDate()-u*l);var c=Number(a(n,s)===-u),d=u*(l-c);return 0===d?0:d}},76972:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(36948),o=n(59910),i=n(13882),a=n(93645);function s(e,t,n){(0,i.Z)(2,arguments);var s=(0,o.Z)(e,t)/r.vh;return(0,a.u)(null===n||void 0===n?void 0:n.roundingMethod)(s)}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){return(0,o.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}},69690:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(36948),o=n(59910),i=n(13882),a=n(93645);function s(e,t,n){(0,i.Z)(2,arguments);var s=(0,o.Z)(e,t)/r.yJ;return(0,a.u)(null===n||void 0===n?void 0:n.roundingMethod)(s)}},57278:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t),a=n.getFullYear()-i.getFullYear(),s=n.getMonth()-i.getMonth();return 12*a+s}var a=n(49474),s=n(83894);function u(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function l(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return(0,s.Z)(t).getTime()===u(t).getTime()}function c(e,t){(0,o.Z)(2,arguments);var n,s=(0,r.Z)(e),u=(0,r.Z)(t),c=(0,a.Z)(s,u),d=Math.abs(i(s,u));if(d<1)n=0;else{1===s.getMonth()&&s.getDate()>27&&s.setDate(30),s.setMonth(s.getMonth()-c*d);var f=(0,a.Z)(s,u)===-c;l((0,r.Z)(e))&&1===d&&1===(0,a.Z)(e,u)&&(f=!1),n=c*(d-Number(f))}return 0===n?0:n}},11699:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59910),o=n(13882),i=n(93645);function a(e,t,n){(0,o.Z)(2,arguments);var a=(0,r.Z)(e,t)/1e3;return(0,i.u)(null===n||void 0===n?void 0:n.roundingMethod)(a)}},69295:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67803),o=n(13882),i=n(93645);function a(e,t,n){(0,o.Z)(2,arguments);var a=(0,r.Z)(e,t)/7;return(0,i.u)(null===n||void 0===n?void 0:n.roundingMethod)(a)}},31397:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getFullYear()-i.getFullYear()}var a=n(49474);function s(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),s=(0,r.Z)(t),u=(0,a.Z)(n,s),l=Math.abs(i(n,s));n.setFullYear(1584),s.setFullYear(1584);var c=(0,a.Z)(n,s)===-u,d=u*(l-Number(c));return 0===d?0:d}},86298:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(83946),o=n(77349),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),a=7*n;return(0,o.Z)(e,a)}var s=n(584),u=n(19013);function l(e,t){(0,i.Z)(1,arguments);var n=e||{},r=(0,u.Z)(n.start),o=(0,u.Z)(n.end),l=o.getTime();if(!(r.getTime()<=l))throw new RangeError("Invalid interval");var c=(0,s.Z)(r,t),d=(0,s.Z)(o,t);c.setHours(15),d.setHours(15),l=d.getTime();for(var f=[],h=c;h.getTime()<=l;)h.setHours(0),f.push((0,u.Z)(h)),(h=a(h,1)).setHours(15);return f}},83894:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(23,59,59,999),t}},55250:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setSeconds(59,999),t}},42298:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(61436),o=n(92234),i=n(19013),a=n(13882),s=864e5;var u=n(33276),l=n(7032),c=n(5230),d=n(7651);function f(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var h={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return f("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):f(n+1,2)},d:function(e,t){return f(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];
vendor: 5,082 bytes, line 1
1default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return f(e.getUTCHours()%12||12,t.length)},H:function(e,t){return f(e.getUTCHours(),t.length)},m:function(e,t){return f(e.getUTCMinutes(),t.length)},s:function(e,t){return f(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return f(Math.floor(r*Math.pow(10,n-3)),t.length)}},p="midnight",g="noon",m="morning",v="afternoon",y="evening",b="night",w={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return h.y(e,t)},Y:function(e,t,n,r){var o=(0,d.Z)(e,r),i=o>0?o:1-o;return"YY"===t?f(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):f(i,t.length)},R:function(e,t){return f((0,l.Z)(e),t.length)},u:function(e,t){return f(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return f(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return f(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return h.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return f(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,c.Z)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):f(o,t.length)},I:function(e,t,n){var r=(0,u.Z)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):f(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):h.d(e,t)},D:function(e,t,n){var r=function(e){(0,a.Z)(1,arguments);var t=(0,i.Z)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),o=n-r;return Math.floor(o/s)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):f(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return f(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return f(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return f(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?g:0===o?p:o/12>
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?y:o>=12?v:o>=4?m:b,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return h.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):h.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):h.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):h.s(e,t)},S:function(e,t){return h.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return C(o);case"XXXX":case"XX":return k(o);default:return k(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return C(o);case"xxxx":case"xx":return k(o);default:return k(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+x(o,":");default:return"GMT"+k(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+x(o,":");default:return"GMT"+k(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return f(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return f((r._originalDate||e).getTime(),t.length)}};function x(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+f(i,2)}function C(e,t){return e%60===0?(e>0?"-":"+")+f(Math.abs(e)/60,2):k(e,t)}function k(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+f(Math.floor(o/60),2)+n+f(o%60,2)}var E=w,_=n(97621),S=n(24262),j=n(5267),M=n(83946),O=n(84314),A=n(86559),T=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,R=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,L=/^'([^]*?)'?$/,D=/''/g,P=/[a-zA-Z]/;function I(e,t,n){var s,u,l,c,d,f,h,p,g,m,v,y,b,w,x,C,k,L;(0,a.Z)(2,arguments);var D=String(t),I=(0,O.j)(),Z=null!==(s=null!==(u=null===n||void 0===n?void 0:n.locale)&&void 0!==u?u:I.locale)&&void 0!==s?s:A.Z,N=(0,M.Z)(null!==(l=null!==(c=null!==(d=null!==(f=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==f?f:null===n||void 0===n||null===(h=n.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==d?d:I.firstWeekContainsDate)&&void 0!==c?c:null===(g=I.locale)||void 0===g||null===(m=g.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==l?l:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=(0,M.Z)(null!==(v=null!==(y=null!==(b=null!==(w=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==w?w:null===n||void 0===n||null===(x=n.locale)||void 0===x||null===(C=x.options)||void 0===C?void 0:C.weekStartsOn)&&void 0!==b?b:I.weekStartsOn)&&void 0!==y?y:null===(k=I.locale)||void 0===k||null===(L=k.options)||void 0===L?void 0:L.weekStartsOn)&&void 0!==v?v:0);if(!(H>=0&&H<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Z.localize)throw new RangeError("locale must contain localize property");if(!Z.formatLong)throw new RangeError("locale must contain formatLong property");var B=(0,i.Z)(e);if(!(0,r.Z)(B))throw new RangeError("Invalid time value");var V=(0,S.Z)(B),z=(0,o.Z)(B,V),U={firstWeekContainsDate:N,weekStartsOn:H,locale:Z,_originalDate:B},W=D.match(R).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,_.Z[t])(e,Z.formatLong):e})).join("").match(T).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return F(r);var i=E[o];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,j.Do)(r)||(0,j.qp)(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,j.Iu)(r)||(0,j.qp)(r,t,String(e)),i(z,r,Z.localize,U);
1if(o.match(P))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return W}function F(e){var t=e.match(L);return t?t[1].replace(D,"'"):e}},2141:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(84314),o=n(49474),i=n(57278),a=n(11699),s=n(86559),u=n(19013),l=n(52149);function c(e){return(0,l.Z)({},e)}var d=n(24262),f=n(13882),h=1440,p=43200;function g(e,t,n){var g,m;(0,f.Z)(2,arguments);var v=(0,r.j)(),y=null!==(g=null!==(m=null===n||void 0===n?void 0:n.locale)&&void 0!==m?m:v.locale)&&void 0!==g?g:s.Z;if(!y.formatDistance)throw new RangeError("locale must contain formatDistance property");var b=(0,o.Z)(e,t);if(isNaN(b))throw new RangeError("Invalid time value");var w,x,C=(0,l.Z)(c(n),{addSuffix:Boolean(null===n||void 0===n?void 0:n.addSuffix),comparison:b});b>0?(w=(0,u.Z)(t),x=(0,u.Z)(e)):(w=(0,u.Z)(e),x=(0,u.Z)(t));var k,E=(0,a.Z)(x,w),_=((0,d.Z)(x)-(0,d.Z)(w))/1e3,S=Math.round((E-_)/60);if(S<2)return null!==n&&void 0!==n&&n.includeSeconds?E<5?y.formatDistance("lessThanXSeconds",5,C):E<10?y.formatDistance("lessThanXSeconds",10,C):E<20?y.formatDistance("lessThanXSeconds",20,C):E<40?y.formatDistance("halfAMinute",0,C):E<60?y.formatDistance("lessThanXMinutes",1,C):y.formatDistance("xMinutes",1,C):0===S?y.formatDistance("lessThanXMinutes",1,C):y.formatDistance("xMinutes",S,C);if(S<45)return y.formatDistance("xMinutes",S,C);if(S<90)return y.formatDistance("aboutXHours",1,C);if(S<h){var j=Math.round(S/60);return y.formatDistance("aboutXHours",j,C)}if(S<2520)return y.formatDistance("xDays",1,C);if(S<p){var M=Math.round(S/h);return y.formatDistance("xDays",M,C)}if(S<86400)return k=Math.round(S/p),y.formatDistance("aboutXMonths",k,C);if((k=(0,i.Z)(x,w))<12){var O=Math.round(S/p);return y.formatDistance("xMonths",O,C)}var A=k%12,T=Math.floor(k/12);return A<3?y.formatDistance("aboutXYears",T,C):A<9?y.formatDistance("overXYears",T,C):y.formatDistance("almostXYears",T+1,C)}function m(e,t){return(0,f.Z)(1,arguments),g(e,Date.now(),t)}},19642:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(84314),o=n(92300),i=n(42298),a=n(86559),s=n(92234),u=n(19013),l=n(24262),c=n(13882),d=n(83946);function f(e,t,n){var f,h,p,g,m,v,y,b,w,x;(0,c.Z)(2,arguments);var C=(0,u.Z)(e),k=(0,u.Z)(t),E=(0,r.j)(),_=null!==(f=null!==(h=null===n||void 0===n?void 0:n.locale)&&void 0!==h?h:E.locale)&&void 0!==f?f:a.Z,S=(0,d.Z)(null!==(p=null!==(g=null!==(m=null!==(v=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==v?v:null===n||void 0===n||null===(y=n.locale)||void 0===y||null===(b=y.options)||void 0===b?void 0:b.weekStartsOn)&&void 0!==m?m:E.weekStartsOn)&&void 0!==g?g:null===(w=E.locale)||void 0===w||null===(x=w.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==p?p:0);if(!_.localize)throw new RangeError("locale must contain localize property");if(!_.formatLong)throw new RangeError("locale must contain formatLong property");if(!_.formatRelative)throw new RangeError("locale must contain formatRelative property");var j,M=(0,o.Z)(C,k);if(isNaN(M))throw new RangeError("Invalid time value");j=M<-6?"other":M<-1?"lastWeek":M<0?"yesterday":M<1?"today":M<2?"tomorrow":M<7?"nextWeek":"other";var O=(0,s.Z)(C,(0,l.Z)(C)),A=(0,s.Z)(k,(0,l.Z)(k)),T=_.formatRelative(j,O,A,{locale:_,weekStartsOn:S});return(0,i.Z)(C,T,{locale:_,weekStartsOn:S})}},39159:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getMinutes();return n}},13956:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(584),o=n(19013),i=n(83946),a=n(13882),s=n(84314);function u(e,t){var n,u,l,c,d,f,h,p;(0,a.Z)(1,arguments);var g=(0,o.Z)(e),m=g.getFullYear(),v=(0,s.j)(),y=(0,i.Z)(null!==(n=null!==(u=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==l?l:v.firstWeekContainsDate)&&void 0!==u?u:null===(h=v.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setFullYear(m+1,0,y),b.setHours(0,0,0,0);var w=(0,r.Z)(b,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()>=w.getTime()?m+1:g.getTime()>=C.getTime()?m:m-1}function l(e,t){var n,o,l,c,d,f,h,p;(0,a.Z)(1,arguments);var g=(0,s.j)(),m=(0,i.Z)(null!==(n=null!==(o=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(d=t.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==l?l:g.firstWeekContainsDate)&&void 0!==o?o:null===(h=g.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),v=u(e,t),y=new Date(0);y.setFullYear(v,0,m),y.setHours(0,0,0,0);var b=(0,r.Z)(y,t);return b}var c=6048e5;function d(e,t){(0,a.Z)(1,arguments);var n=(0,o.Z)(e),i=(0,r.Z)(n,t).getTime()-l(n,t).getTime();return Math.round(i/c)+1}},42699:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getTime()>i.getTime()}},313:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getTime()<i.getTime()}},3151:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69119),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getTime()===i.getTime()}},49160:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}},61436:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(71002),o=n(13882);function i(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}var a=n(19013);function s(e){if((0,o.Z)(1,arguments),!i(e)&&"number"!==typeof e)return!1;var t=(0,a.Z)(e);return!isNaN(Number(t))}},8230:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.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}},70197:function(e,t,n){"use strict";n.d(t,{Z:function(){return Je}});var r=n(71002),o=n(40181);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
vendor: 31,229 bytes, line 1
1if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}var a=n(86559),s=n(92234),u=n(19013),l=n(52149),c=n(97621),d=n(24262),f=n(5267),h=n(83946),p=n(13882),g=n(97326),m=n(60136),v=n(73568),y=n(15671),b=n(43144),w=n(4942),x=function(){function e(){(0,y.Z)(this,e),(0,w.Z)(this,"priority",void 0),(0,w.Z)(this,"subPriority",0)}return(0,b.Z)(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),C=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(e,r,o,i,a){var s;return(0,y.Z)(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=o,s.priority=i,a&&(s.subPriority=a),s}return(0,b.Z)(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(x),k=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",10),(0,w.Z)((0,g.Z)(e),"subPriority",-1),e}return(0,b.Z)(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(x),E=function(){function e(){(0,y.Z)(this,e),(0,w.Z)(this,"incompatibleTokens",void 0),(0,w.Z)(this,"priority",void 0),(0,w.Z)(this,"subPriority",void 0)}return(0,b.Z)(e,[{key:"run",value:function(e,t,n,r){var o=this.parse(e,t,n,r);return o?{setter:new C(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}]),e}(),_=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",140),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["R","u","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(E),S=n(36948),j=/^(1[0-2]|0?\d)/,M=/^(3[0-1]|[0-2]?\d)/,O=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,A=/^(5[0-3]|[0-4]?\d)/,T=/^(2[0-3]|[0-1]?\d)/,R=/^(2[0-4]|[0-1]?\d)/,L=/^(1[0-1]|0?\d)/,D=/^(1[0-2]|0?\d)/,P=/^[0-5]?\d/,I=/^[0-5]?\d/,F=/^\d/,Z=/^\d{1,2}/,N=/^\d{1,3}/,H=/^\d{1,4}/,B=/^-?\d+/,V=/^-?\d/,z=/^-?\d{1,2}/,U=/^-?\d{1,3}/,W=/^-?\d{1,4}/,$=/^([+-])(\d{2})(\d{2})?|Z/,q=/^([+-])(\d{2})(\d{2})|Z/,G=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Y=/^([+-])(\d{2}):(\d{2})|Z/,K=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function X(e,t){return e?{value:t(e.value),rest:e.rest}:e}function J(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Q(e,t){var n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};var r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*S.vh+i*S.yJ+a*S.qk),rest:t.slice(n[0].length)}}function ee(e){return J(B,e)}function te(e,t){switch(e){case 1:return J(F,t);case 2:return J(Z,t);case 3:return J(N,t);case 4:return J(H,t);default:return J(new RegExp("^\\d{1,"+e+"}"),t)}}function ne(e,t){switch(e){case 1:return J(V,t);case 2:return J(z,t);case 3:return J(U,t);case 4:return J(W,t);default:return J(new RegExp("^-?\\d{1,"+e+"}"),t)}}function re(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function oe(e,t){var n,r=t>0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}function ie(e){return e%400===0||e%4===0&&e%100!==0}var ae=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",130),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return X(te(4,e),r);case"yo":return X(n.ordinalNumber(e,{unit:"year"}),r);default:return X(te(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=oe(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(E),se=n(7651),ue=n(59025),le=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",130),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return X(te(4,e),r);case"Yo":return X(n.ordinalNumber(e,{unit:"year"}),r);default:return X(te(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,r){var o=(0,se.Z)(e,r);if(n.isTwoDigitYear){var i=oe(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,ue.Z)(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,ue.Z)(e,r)}}]),n}(E),ce=n(66979),de=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",130),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t){return ne("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),(0,ce.Z)(r)}}]),n}(E),fe=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",130),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t){return ne("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(E),he=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",120),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return te(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(E),pe=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",120),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return te(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(E),ge=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),(0,w.Z)((0,g.Z)(e),"priority",110),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"M":return X(J(j,e),r);case"MM":return X(te(2,e),r);case"Mo":return X(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(E),me=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",110),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"L":return X(J(j,e),r);case"LL":return X(te(2,e),r);case"Lo":return X(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(E),ve=n(5230);var ye=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",100),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"w":return J(A,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,ue.Z)(function(e,t,n){(0,p.Z)(2,arguments);var r=(0,u.Z)(e),o=(0,h.Z)(t),i=(0,ve.Z)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)}}]),n}(E),be=n(33276);var we=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",100),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"I":return J(A,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,ce.Z)(function(e,t){(0,p.Z)(2,arguments);var n=(0,u.Z)(e),r=(0,h.Z)(t),o=(0,be.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}]),n}(E),xe=[31,28,31,30,31,30,31,31,30,31,30,31],Ce=[31,29,31,30,31,30,31,31,30,31,30,31],ke=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",90),(0,w.Z)((0,g.Z)(e),"subPriority",1),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"d":return J(M,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){var n=ie(e.getUTCFullYear()),r=e.getUTCMonth();return n?t>=1&&t<=Ce[r]:t>=1&&t<=xe[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(E),Ee=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",90),(0,w.Z)((0,g.Z)(e),"subpriority",1),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return J(O,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return ie(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(E),_e=n(84314);function Se(e,t,n){var r,o,i,a,s,l,c,d;(0,p.Z)(2,arguments);var f=(0,_e.j)(),g=(0,h.Z)(null!==(r=null!==(o=null!==(i=null!==(a=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==a?a:null===n||void 0===n||null===(s=n.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==i?i:f.weekStartsOn)&&void 0!==o?o:null===(c=f.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,u.Z)(e),v=(0,h.Z)(t),y=m.getUTCDay(),b=v%7,w=(b+7)%7,x=(w<g?7:0)+v-y;return m.setUTCDate(m.getUTCDate()+x),m}var je=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",90),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Se(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(E),Me=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",90),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return X(te(t.length,e),o);case"eo":return X(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Se(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(E),Oe=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",90),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return X(te(t.length,e),o);case"co":return X(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Se(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(E);var Ae=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",90),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return te(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return X(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return X(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return X(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return X(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,p.Z)(2,arguments);var n=(0,h.Z)(t);n%7===0&&(n-=7);var r=1,o=(0,u.Z)(e),i=o.getUTCDay(),a=((n%7+7)%7<r?7:0)+n-i;return o.setUTCDate(o.getUTCDate()+a),o}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(E),Te=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",80),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(re(n),0,0,0),e}}]),n}(E),Re=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",80),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(re(n),0,0,0),e}}]),n}(E),Le=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",80),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["a","b","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(re(n),0,0,0),e}}]),n}(E),De=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",70),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["H","K","k","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"h":return J(D,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(E),Pe=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",70),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"H":return J(T,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(E),Ie=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",70),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["h","H","k","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"K":return J(L,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(E),Fe=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",70),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"k":return J(R,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(E),Ze=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",60),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"m":return J(P,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(E),Ne=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",50),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return J(I,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return te(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(E),He=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",30),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["t","T"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t){return X(te(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}]),n}(E),Be=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",10),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["t","T","x"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t){switch(t){case"X":return Q($,e);case"XX":return Q(q,e);case"XXXX":return Q(G,e);case"XXXXX":return Q(K,e);default:return Q(Y,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(E),Ve=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",10),(0,w.Z)((0,g.Z)(e),"incompatibleTokens",["t","T","X"]),e}return(0,b.Z)(n,[{key:"parse",value:function(e,t){switch(t){case"x":return Q($,e);case"xx":return Q(q,e);case"xxxx":return Q(G,e);case"xxxxx":return Q(K,e);default:return Q(Y,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(E),ze=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",40),(0,w.Z)((0,g.Z)(e),"incompatibleTokens","*"),e}return(0,b.Z)(n,[{key:"parse",value:function(e){return ee(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(E),Ue=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,y.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,w.Z)((0,g.Z)(e),"priority",20),(0,w.Z)((0,g.Z)(e),"incompatibleTokens","*"),e}return(0,b.Z)(n,[{key:"parse",value:function(e){return ee(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(E),We={G:new _,y:new ae,Y:new le,R:new de,u:new fe,Q:new he,q:new pe,M:new ge,L:new me,w:new ye,I:new we,d:new ke,D:new Ee,E:new je,e:new Me,c:new Oe,i:new Ae,a:new Te,b:new Re,B:new Le,h:new De,H:new Pe,K:new Ie,k:new Fe,m:new Ze,s:new Ne,S:new He,X:new Be,x:new Ve,t:new ze,T:new Ue},$e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,qe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ge=/^'([^]*?)'?$/,Ye=/''/g,Ke=/\S/,Xe=/[a-zA-Z]/;function Je(e,t,n,o){var g,m,v,y,b,w,x,C,E,_,S,j,M,O,A,T,R,L;(0,p.Z)(3,arguments);var D=String(e),P=String(t),I=(0,_e.j)(),F=null!==(g=null!==(m=null===o||void 0===o?void 0:o.locale)&&void 0!==m?m:I.locale)&&void 0!==g?g:a.Z;if(!F.match)throw new RangeError("locale must contain match property");var Z=(0,h.Z)(null!==(v=null!==(y=null!==(b=null!==(w=null===o||void 0===o?void 0:o.firstWeekContainsDate)&&void 0!==w?w:null===o||void 0===o||null===(x=o.locale)||void 0===x||null===(C=x.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==b?b:I.firstWeekContainsDate)&&void 0!==y?y:null===(E=I.locale)||void 0===E||null===(_=E.options)||void 0===_?void 0:_.firstWeekContainsDate)&&void 0!==v?v:1);if(!(Z>=1&&Z<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=(0,h.Z)(null!==(S=null!==(j=null!==(M=null!==(O=null===o||void 0===o?void 0:o.weekStartsOn)&&void 0!==O?O:null===o||void 0===o||null===(A=o.locale)||void 0===A||null===(T=A.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==M?M:I.weekStartsOn)&&void 0!==j?j:null===(R=I.locale)||void 0===R||null===(L=R.options)||void 0===L?void 0:L.weekStartsOn)&&void 0!==S?S:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===P)return""===D?(0,u.Z)(n):new Date(NaN);var H,B={firstWeekContainsDate:Z,weekStartsOn:N,locale:F},V=[new k],z=P.match(qe).map((function(e){var t=e[0];return t in c.Z?(0,c.Z[t])(e,F.formatLong):e})).join("").match($e),U=[],W=i(z);try{var $=function(){var t=H.value;null!==o&&void 0!==o&&o.useAdditionalWeekYearTokens||!(0,f.Do)(t)||(0,f.qp)(t,P,e),null!==o&&void 0!==o&&o.useAdditionalDayOfYearTokens||!(0,f.Iu)(t)||(0,f.qp)(t,P,e);var n=t[0],r=We[n];if(r){var i=r.incompatibleTokens;if(Array.isArray(i)){var a=U.find((function(e){return i.includes(e.token)||e.token===n}));
1if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&U.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));U.push({token:n,fullToken:t});var s=r.run(D,t,F.match,B);if(!s)return{v:new Date(NaN)};V.push(s.setter),D=s.rest}else{if(n.match(Xe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=Qe(t)),0!==D.indexOf(t))return{v:new Date(NaN)};D=D.slice(t.length)}};for(W.s();!(H=W.n()).done;){var q=$();if("object"===(0,r.Z)(q))return q.v}}catch(ne){W.e(ne)}finally{W.f()}if(D.length>0&&Ke.test(D))return new Date(NaN);var G=V.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return V.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),Y=(0,u.Z)(n);if(isNaN(Y.getTime()))return new Date(NaN);var K,X=(0,s.Z)(Y,(0,d.Z)(Y)),J={},Q=i(G);try{for(Q.s();!(K=Q.n()).done;){var ee=K.value;if(!ee.validate(X,B))return new Date(NaN);var te=ee.set(X,J,B);Array.isArray(te)?(X=te[0],(0,l.Z)(J,te[1])):X=te}}catch(ne){Q.e(ne)}finally{Q.f()}return X}function Qe(e){return e.match(Ge)[1].replace(Ye,"'")}},23855:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(36948),o=n(13882),i=n(83946);function a(e,t){var n;(0,o.Z)(1,arguments);var r=(0,i.Z)(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var a,s=d(e);if(s.date){var u=f(s.date,r);a=h(u.restDateString,u.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var l,c=a.getTime(),p=0;if(s.time&&(p=g(s.time),isNaN(p)))return new Date(NaN);if(!s.timezone){var m=new Date(c+p),y=new Date(0);return y.setFullYear(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()),y.setHours(m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds(),m.getUTCMilliseconds()),y}return l=v(s.timezone),isNaN(l)?new Date(NaN):new Date(c+p+l)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var o=s.timezone.exec(t);
1o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}function f(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}function h(e,t){if(null===t)return new Date(NaN);var n=e.match(u);if(!n)return new Date(NaN);var r=!!n[4],o=p(n[1]),i=p(n[2])-1,a=p(n[3]),s=p(n[4]),l=p(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,s,l):new Date(NaN);var c=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(y[t]||(b(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(b(e)?366:365)}(t,o)?(c.setUTCFullYear(t,i,Math.max(o,a)),c):new Date(NaN)}function p(e){return e?parseInt(e):1}function g(e){var t=e.match(l);if(!t)return NaN;var n=m(t[1]),o=m(t[2]),i=m(t[3]);return function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,i)?n*r.vh+o*r.yJ+1e3*i:NaN}function m(e){return e&&parseFloat(e.replace(",","."))||0}function v(e){if("Z"===e)return 0;var t=e.match(c);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,i)?n*(o*r.vh+i*r.yJ):NaN}var y=[31,null,31,30,31,30,31,31,30,31,30,31];function b(e){return e%400===0||e%4===0&&e%100!==0}},92311:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(71002),o=n(19013),i=n(16218),a=n(83946),s=n(13882);function u(e,t){if((0,s.Z)(2,arguments),"object"!==(0,r.Z)(t)||null===t)throw new RangeError("values parameter must be an object");var n=(0,o.Z)(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,i.Z)(n,t.month)),null!=t.date&&n.setDate((0,a.Z)(t.date)),null!=t.hours&&n.setHours((0,a.Z)(t.hours)),null!=t.minutes&&n.setMinutes((0,a.Z)(t.minutes)),null!=t.seconds&&n.setSeconds((0,a.Z)(t.seconds)),null!=t.milliseconds&&n.setMilliseconds((0,a.Z)(t.milliseconds)),n)}},34176:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);return n.setDate(a),n}},37042:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);return n.setHours(a),n}},4543:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);return n.setMinutes(a),n}},16218:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(83946),o=n(19013),i=n(13882);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}function s(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),s=(0,r.Z)(t),u=n.getFullYear(),l=n.getDate(),c=new Date(0);c.setFullYear(u,s,15),c.setHours(0,0,0,0);var d=a(c);return n.setMonth(s,Math.min(l,d)),n}},44749:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}},69119:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}},18717:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setSeconds(0,0),t}},43703:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},28366:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69119);function o(){return(0,r.Z)(Date.now())}},584:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(19013),o=n(83946),i=n(13882),a=n(84314);function s(e,t){var n,s,u,l,c,d,f,h;(0,i.Z)(1,arguments);var p=(0,a.j)(),g=(0,o.Z)(null!==(n=null!==(s=null!==(u=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(c=t.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==u?u:p.weekStartsOn)&&void 0!==s?s:null===(f=p.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,r.Z)(e),v=m.getDay(),y=(v<g?7:0)+v-g;return m.setDate(m.getDate()-y),m.setHours(0,0,0,0),m}},46038:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(71002),o=n(77349),i=n(13882),a=n(83946);function s(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(t);return(0,o.Z)(e,-n)}var u=n(11640);function l(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(t);
vendor: 16,261 bytes, line 1
1return(0,u.Z)(e,-n)}function c(e,t){if((0,i.Z)(2,arguments),!t||"object"!==(0,r.Z)(t))return new Date(NaN);var n=t.years?(0,a.Z)(t.years):0,o=t.months?(0,a.Z)(t.months):0,u=t.weeks?(0,a.Z)(t.weeks):0,c=t.days?(0,a.Z)(t.days):0,d=t.hours?(0,a.Z)(t.hours):0,f=t.minutes?(0,a.Z)(t.minutes):0,h=t.seconds?(0,a.Z)(t.seconds):0,p=l(e,o+12*n),g=s(p,c+7*u),m=f+60*d,v=h+60*m,y=1e3*v,b=new Date(g.getTime()-y);return b}},92234:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e).getTime(),a=(0,r.Z)(t);return new Date(n+a)}function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return a(e,-n)}},19013:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},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},n=-1;t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,r,o){"undefined"==typeof o&&(o=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=o;if(null==e||null==n)throw new Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];"undefined"==typeof r&&(r=!0);var a=r,s=this.diff_commonPrefix(e,n),u=e.substring(0,s);e=e.substring(s),n=n.substring(s),s=this.diff_commonSuffix(e,n);var l=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,i);return u&&c.unshift(new t.Diff(0,u)),l&&c.push(new t.Diff(0,l)),this.diff_cleanupMerge(c),c},t.prototype.diff_compute_=function(e,r,o,i){var a;if(!e)return[new t.Diff(1,r)];if(!r)return[new t.Diff(n,e)];var s=e.length>r.length?e:r,u=e.length>r.length?r:e,l=s.indexOf(u);if(-1!=l)return a=[new t.Diff(1,s.substring(0,l)),new t.Diff(0,u),new t.Diff(1,s.substring(l+u.length))],e.length>r.length&&(a[0][0]=a[2][0]=n),a;if(1==u.length)return[new t.Diff(n,e),new t.Diff(1,r)];var c=this.diff_halfMatch_(e,r);if(c){var d=c[0],f=c[1],h=c[2],p=c[3],g=c[4],m=this.diff_main(d,h,o,i),v=this.diff_main(f,p,o,i);return m.concat([new t.Diff(0,g)],v)}return o&&e.length>100&&r.length>100?this.diff_lineMode_(e,r,i):this.diff_bisect_(e,r,i)},t.prototype.diff_lineMode_=function(e,r,o){var i=this.diff_linesToChars_(e,r);e=i.chars1,r=i.chars2;var a=i.lineArray,s=this.diff_main(e,r,!1,o);this.diff_charsToLines_(s,a),this.diff_cleanupSemantic(s),s.push(new t.Diff(0,""));for(var u=0,l=0,c=0,d="",f="";u<s.length;){switch(s[u][0]){case 1:c++,f+=s[u][1];break;case n:l++,d+=s[u][1];break;case 0:if(l>=1&&c>=1){s.splice(u-l-c,l+c),u=u-l-c;for(var h=this.diff_main(d,f,!1,o),p=h.length-1;p>=0;p--)s.splice(u,0,h[p]);u+=h.length}c=0,l=0,d="",f=""}u++}return s.pop(),s},t.prototype.diff_bisect_=function(e,r,o){for(var i=e.length,a=r.length,s=Math.ceil((i+a)/2),u=s,l=2*s,c=new Array(l),d=new Array(l),f=0;f<l;f++)c[f]=-1,d[f]=-1;c[u+1]=0,d[u+1]=0;for(var h=i-a,p=h%2!=0,g=0,m=0,v=0,y=0,b=0;b<s&&!((new Date).getTime()>o);b++){for(var w=-b+g;w<=b-m;w+=2){for(var x=u+w,C=(j=w==-b||w!=b&&c[x-1]<c[x+1]?c[x+1]:c[x-1]+1)-w;j<i&&C<a&&e.charAt(j)==r.charAt(C);)j++,C++;if(c[x]=j,j>i)m+=2;else if(C>a)g+=2;else if(p){if((_=u+h-w)>=0&&_<l&&-1!=d[_])if(j>=(E=i-d[_]))return this.diff_bisectSplit_(e,r,j,C,o)}}for(var k=-b+v;k<=b-y;k+=2){for(var E,_=u+k,S=(E=k==-b||k!=b&&d[_-1]<d[_+1]?d[_+1]:d[_-1]+1)-k;E<i&&S<a&&e.charAt(i-E-1)==r.charAt(a-S-1);)E++,S++;if(d[_]=E,E>i)y+=2;else if(S>a)v+=2;else if(!p){if((x=u+h-k)>=0&&x<l&&-1!=c[x]){var j;C=u+(j=c[x])-x;if(j>=(E=i-E))return this.diff_bisectSplit_(e,r,j,C,o)}}}}return[new t.Diff(n,e),new t.Diff(1,r)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,o){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),u=t.substring(r),l=this.diff_main(i,a,!1,o),c=this.diff_main(s,u,!1,o);return l.concat(c)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function o(e){for(var t="",o=0,a=-1,s=n.length;a<e.length-1;){-1==(a=e.indexOf("\n",o))&&(a=e.length-1);var u=e.substring(o,a+1);(r.hasOwnProperty?r.hasOwnProperty(u):void 0!==r[u])?t+=String.fromCharCode(r[u]):(s==i&&(u=e.substring(o),a=e.length),t+=String.fromCharCode(s),r[u]=s,n[s++]=u),o=a+1}return t}n[0]="";var i=4e4,a=o(e);return i=65535,{chars1:a,chars2:o(t),lineArray:n}},t.prototype.diff_charsToLines_=function(e,t){for(var n=0;n<e.length;n++){for(var r=e[n][1],o=[],i=0;i<r.length;i++)o[i]=t[r.charCodeAt(i)];e[n][1]=o.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),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},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),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},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 o=Math.min(n,r);if(e==t)return o;for(var i=0,a=1;;){var s=e.substring(o-a),u=t.indexOf(s);if(-1==u)return i;a+=u,0!=u&&e.substring(o-a)!=t.substring(0,a)||(i=a,a++)}},t.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;var o=this;function i(e,t,n){for(var r,i,a,s,u=e.substring(n,n+Math.floor(e.length/4)),l=-1,c="";-1!=(l=t.indexOf(u,l+1));){var d=o.diff_commonPrefix(e.substring(n),t.substring(l)),f=o.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),a=t.substring(0,l-f),s=t.substring(l+d))}return 2*c.length>=e.length?[r,i,a,s,c]:null}var a,s,u,l,c,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));return d||f?(a=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(s=a[0],u=a[1],l=a[2],c=a[3]):(l=a[0],c=a[1],s=a[2],u=a[3]),[s,u,l,c,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var r=!1,o=[],i=0,a=null,s=0,u=0,l=0,c=0,d=0;s<e.length;)0==e[s][0]?(o[i++]=s,u=c,l=d,c=0,d=0,a=e[s][1]):(1==e[s][0]?c+=e[s][1].length:d+=e[s][1].length,a&&a.length<=Math.max(u,l)&&a.length<=Math.max(c,d)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,s=--i>0?o[i-1]:-1,u=0,l=0,c=0,d=0,a=null,r=!0)),s++;for(r&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),s=1;s<e.length;){if(e[s-1][0]==n&&1==e[s][0]){var f=e[s-1][1],h=e[s][1],p=this.diff_commonOverlap_(f,h),g=this.diff_commonOverlap_(h,f);p>=g?(p>=f.length/2||p>=h.length/2)&&(e.splice(s,0,new t.Diff(0,h.substring(0,p))),e[s-1][1]=f.substring(0,f.length-p),e[s+1][1]=h.substring(p),s++):(g>=f.length/2||g>=h.length/2)&&(e.splice(s,0,new t.Diff(0,f.substring(0,g))),e[s-1][0]=1,e[s-1][1]=h.substring(0,h.length-g),e[s+1][0]=n,e[s+1][1]=f.substring(g),s++),s++}s++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),o=n.charAt(0),i=r.match(t.nonAlphaNumericRegex_),a=o.match(t.nonAlphaNumericRegex_),s=i&&r.match(t.whitespaceRegex_),u=a&&o.match(t.whitespaceRegex_),l=s&&r.match(t.linebreakRegex_),c=u&&o.match(t.linebreakRegex_),d=l&&e.match(t.blanklineEndRegex_),f=c&&n.match(t.blanklineStartRegex_);return d||f?5:l||c?4:i&&!s&&u?3:s||u?2:i||a?1:0}for(var r=1;r<e.length-1;){if(0==e[r-1][0]&&0==e[r+1][0]){var o=e[r-1][1],i=e[r][1],a=e[r+1][1],s=this.diff_commonSuffix(o,i);if(s){var u=i.substring(i.length-s);o=o.substring(0,o.length-s),i=u+i.substring(0,i.length-s),a=u+a}for(var l=o,c=i,d=a,f=n(o,i)+n(i,a);i.charAt(0)===a.charAt(0);){o+=i.charAt(0),i=i.substring(1)+a.charAt(0),a=a.substring(1);var h=n(o,i)+n(i,a);h>=f&&(f=h,l=o,c=i,d=a)}e[r-1][1]!=l&&(l?e[r-1][1]=l:(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 r=!1,o=[],i=0,a=null,s=0,u=!1,l=!1,c=!1,d=!1;s<e.length;)0==e[s][0]?(e[s][1].length<this.Diff_EditCost&&(c||d)?(o[i++]=s,u=c,l=d,a=e[s][1]):(i=0,a=null),c=d=!1):(e[s][0]==n?d=!0:c=!0,a&&(u&&l&&c&&d||a.length<this.Diff_EditCost/2&&u+l+c+d==3)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,a=null,u&&l?(c=d=!0,i=0):(s=--i>0?o[i-1]:-1,c=d=!1),r=!0)),s++;r&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var r,o=0,i=0,a=0,s="",u="";o<e.length;)switch(e[o][0]){case 1:a++,u+=e[o][1],o++;break;case n:i++,s+=e[o][1],o++;break;case 0:i+a>1?(0!==i&&0!==a&&(0!==(r=this.diff_commonPrefix(u,s))&&(o-i-a>0&&0==e[o-i-a-1][0]?e[o-i-a-1][1]+=u.substring(0,r):(e.splice(0,0,new t.Diff(0,u.substring(0,r))),o++),u=u.substring(r),s=s.substring(r)),0!==(r=this.diff_commonSuffix(u,s))&&(e[o][1]=u.substring(u.length-r)+e[o][1],u=u.substring(0,u.length-r),s=s.substring(0,s.length-r))),o-=i+a,e.splice(o,i+a),s.length&&(e.splice(o,0,new t.Diff(n,s)),o++),u.length&&(e.splice(o,0,new t.Diff(1,u)),o++),o++):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,a=0,i=0,s="",u=""}""===e[e.length-1][1]&&e.pop();var l=!1;for(o=1;o<e.length-1;)0==e[o-1][0]&&0==e[o+1][0]&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)==e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),l=!0):e[o][1].substring(0,e[o+1][1].length)==e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),l=!0)),o++;l&&this.diff_cleanupMerge(e)},t.prototype.diff_xIndex=function(e,t){var r,o=0,i=0,a=0,s=0;for(r=0;r<e.length&&(1!==e[r][0]&&(o+=e[r][1].length),e[r][0]!==n&&(i+=e[r][1].length),!(o>t));r++)a=o,s=i;return e.length!=r&&e[r][0]===n?s:s+(t-a)},t.prototype.diff_prettyHtml=function(e){for(var t=[],r=/&/g,o=/</g,i=/>/g,a=/\n/g,s=0;s<e.length;s++){var u=e[s][0],l=e[s][1].replace(r,"&").replace(o,"<").replace(i,">").replace(a,"¶<br>");switch(u){case 1:t[s]='<ins style="background:#e6ffe6;">'+l+"</ins>";break;case n:t[s]='<del style="background:#ffe6e6;">'+l+"</del>";break;case 0:t[s]="<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=[],r=0;r<e.length;r++)e[r][0]!==n&&(t[r]=e[r][1]);return t.join("")},t.prototype.diff_levenshtein=function(e){for(var t=0,r=0,o=0,i=0;i<e.length;i++){var a=e[i][0],s=e[i][1];switch(a){case 1:r+=s.length;break;case n:o+=s.length;break;case 0:t+=Math.max(r,o),r=0,o=0}}return t+=Math.max(r,o)},t.prototype.diff_toDelta=function(e){for(var t=[],r=0;r<e.length;r++)switch(e[r][0]){case 1:t[r]="+"+encodeURI(e[r][1]);break;case n:t[r]="-"+e[r][1].length;break;case 0:t[r]="="+e[r][1].length}return t.join("\t").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(e,r){for(var o=[],i=0,a=0,s=r.split(/\t/g),u=0;u<s.length;u++){var l=s[u].substring(1);switch(s[u].charAt(0)){case"+":try{o[i++]=new t.Diff(1,decodeURI(l))}catch(f){throw new Error("Illegal escape in diff_fromDelta: "+l)}break;case"-":case"=":var c=parseInt(l,10);if(isNaN(c)||c<0)throw new Error("Invalid number in diff_fromDelta: "+l);var d=e.substring(a,a+=c);"="==s[u].charAt(0)?o[i++]=new t.Diff(0,d):o[i++]=new t.Diff(n,d);break;default:if(s[u])throw new Error("Invalid diff operation in diff_fromDelta: "+s[u])}}if(a!=e.length)throw new Error("Delta length ("+a+") does not equal source text length ("+e.length+").");return o},t.prototype.match_main=function(e,t,n){if(null==e||null==t||null==n)throw new 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 new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),o=this;function i(e,r){var i=e/t.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=e.indexOf(t,n);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=e.lastIndexOf(t,n+t.length))&&(a=Math.min(i(0,s),a)));var u,l,c=1<<t.length-1;s=-1;for(var d,f=t.length+e.length,h=0;h<t.length;h++){for(u=0,l=f;u<l;)i(h,n+l)<=a?u=l:f=l,l=Math.floor((f-u)/2+u);f=l;var p=Math.max(1,n-l+1),g=Math.min(n+l,e.length)+t.length,m=Array(g+2);m[g+1]=(1<<h)-1;for(var v=g;v>=p;v--){var y=r[e.charAt(v-1)];if(m[v]=0===h?(m[v+1]<<1|1)&y:(m[v+1]<<1|1)&y|(d[v+1]|d[v])<<1|1|d[v+1],m[v]&c){var b=i(h,v-1);if(b<=a){if(a=b,!((s=v-1)>n))break;p=Math.max(1,2*n-s)}}}if(i(h+1,n)>a)break;d=m}return s},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=0;for(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),o=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)o+=this.Patch_Margin,r=n.substring(e.start2-o,e.start2+e.length1+o);o+=this.Patch_Margin;var i=n.substring(e.start2-o,e.start2);i&&e.diffs.unshift(new t.Diff(0,i));var a=n.substring(e.start2+e.length1,e.start2+e.length1+o);a&&e.diffs.push(new t.Diff(0,a)),e.start1-=i.length,e.start2-=i.length,e.length1+=i.length+a.length,e.length2+=i.length+a.length}},t.prototype.patch_make=function(e,r,o){var i,a;if("string"==typeof e&&"string"==typeof r&&"undefined"==typeof o)i=e,(a=this.diff_main(i,r,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(e&&"object"==typeof e&&"undefined"==typeof r&&"undefined"==typeof o)a=e,i=this.diff_text1(a);else if("string"==typeof e&&r&&"object"==typeof r&&"undefined"==typeof o)i=e,a=r;else{if("string"!=typeof e||"string"!=typeof r||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=e,a=o}if(0===a.length)return[];for(var s=[],u=new t.patch_obj,l=0,c=0,d=0,f=i,h=i,p=0;p<a.length;p++){var g=a[p][0],m=a[p][1];switch(l||0===g||(u.start1=c,u.start2=d),g){case 1:u.diffs[l++]=a[p],u.length2+=m.length,h=h.substring(0,d)+m+h.substring(d);break;case n:u.length1+=m.length,u.diffs[l++]=a[p],h=h.substring(0,d)+h.substring(d+m.length);break;case 0:m.length<=2*this.Patch_Margin&&l&&a.length!=p+1?(u.diffs[l++]=a[p],u.length1+=m.length,u.length2+=m.length):m.length>=2*this.Patch_Margin&&l&&(this.patch_addContext_(u,f),s.push(u),u=new t.patch_obj,l=0,f=h,c=d)}1!==g&&(c+=m.length),g!==n&&(d+=m.length)}return l&&(this.patch_addContext_(u,f),s.push(u)),s},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=new t.patch_obj;i.diffs=[];for(var a=0;a<o.diffs.length;a++)i.diffs[a]=new t.Diff(o.diffs[a][0],o.diffs[a][1]);i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,n[r]=i}return n},t.prototype.patch_apply=function(e,t){if(0==e.length)return[t,[]];e=this.patch_deepCopy(e);var r=this.patch_addPadding(e);t=r+t+r,this.patch_splitMax(e);for(var o=0,i=[],a=0;a<e.length;a++){var s,u,l=e[a].start2+o,c=this.diff_text1(e[a].diffs),d=-1;if(c.length>this.Match_MaxBits?-1!=(s=this.match_main(t,c.substring(0,this.Match_MaxBits),l))&&(-1==(d=this.match_main(t,c.substring(c.length-this.Match_MaxBits),l+c.length-this.Match_MaxBits))||s>=d)&&(s=-1):s=this.match_main(t,c,l),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-l,c==(u=-1==d?t.substring(s,s+c.length):t.substring(s,d+this.Match_MaxBits)))t=t.
1substring(0,s)+this.diff_text2(e[a].diffs)+t.substring(s+c.length);else{var f=this.diff_main(c,u,!1);if(c.length>this.Match_MaxBits&&this.diff_levenshtein(f)/c.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(f);for(var h,p=0,g=0;g<e[a].diffs.length;g++){var m=e[a].diffs[g];0!==m[0]&&(h=this.diff_xIndex(f,p)),1===m[0]?t=t.substring(0,s+h)+m[1]+t.substring(s+h):m[0]===n&&(t=t.substring(0,s+h)+t.substring(s+this.diff_xIndex(f,p+m[1].length))),m[0]!==n&&(p+=m[1].length)}}}}return[t=t.substring(r.length,t.length-r.length),i]},t.prototype.patch_addPadding=function(e){for(var n=this.Patch_Margin,r="",o=1;o<=n;o++)r+=String.fromCharCode(o);for(o=0;o<e.length;o++)e[o].start1+=n,e[o].start2+=n;var i=e[0],a=i.diffs;if(0==a.length||0!=a[0][0])a.unshift(new t.Diff(0,r)),i.start1-=n,i.start2-=n,i.length1+=n,i.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],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(0==(a=(i=e[e.length-1]).diffs).length||0!=a[a.length-1][0])a.push(new t.Diff(0,r)),i.length1+=n,i.length2+=n;else if(n>a[a.length-1][1].length){s=n-a[a.length-1][1].length;a[a.length-1][1]+=r.substring(0,s),i.length1+=s,i.length2+=s}return r},t.prototype.patch_splitMax=function(e){for(var r=this.Match_MaxBits,o=0;o<e.length;o++)if(!(e[o].length1<=r)){var i=e[o];e.splice(o--,1);for(var a=i.start1,s=i.start2,u="";0!==i.diffs.length;){var l=new t.patch_obj,c=!0;for(l.start1=a-u.length,l.start2=s-u.length,""!==u&&(l.length1=l.length2=u.length,l.diffs.push(new t.Diff(0,u)));0!==i.diffs.length&&l.length1<r-this.Patch_Margin;){var d=i.diffs[0][0],f=i.diffs[0][1];1===d?(l.length2+=f.length,s+=f.length,l.diffs.push(i.diffs.shift()),c=!1):d===n&&1==l.diffs.length&&0==l.diffs[0][0]&&f.length>2*r?(l.length1+=f.length,a+=f.length,c=!1,l.diffs.push(new t.Diff(d,f)),i.diffs.shift()):(f=f.substring(0,r-l.length1-this.Patch_Margin),l.length1+=f.length,a+=f.length,0===d?(l.length2+=f.length,s+=f.length):c=!1,l.diffs.push(new t.Diff(d,f)),f==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(f.length))}u=(u=this.diff_text2(l.diffs)).substring(u.length-this.Patch_Margin);var h=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==h&&(l.length1+=h.length,l.length2+=h.length,0!==l.diffs.length&&0===l.diffs[l.diffs.length-1][0]?l.diffs[l.diffs.length-1][1]+=h:l.diffs.push(new t.Diff(0,h))),c||e.splice(++o,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 r=[];if(!e)return r;for(var o=e.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var s=o[i].match(a);if(!s)throw new Error("Invalid patch string: "+o[i]);var u=new t.patch_obj;for(r.push(u),u.start1=parseInt(s[1],10),""===s[2]?(u.start1--,u.length1=1):"0"==s[2]?u.length1=0:(u.start1--,u.length1=parseInt(s[2],10)),u.start2=parseInt(s[3],10),""===s[4]?(u.start2--,u.length2=1):"0"==s[4]?u.length2=0:(u.start2--,u.length2=parseInt(s[4],10)),i++;i<o.length;){var l=o[i].charAt(0);try{var c=decodeURI(o[i].substring(1))}catch(d){throw new Error("Illegal escape in patch_fromText: "+c)}if("-"==l)u.diffs.push(new t.Diff(n,c));else if("+"==l)u.diffs.push(new t.Diff(1,c));else if(" "==l)u.diffs.push(new t.Diff(0,c));else{if("@"==l)break;if(""!==l)throw new Error('Invalid patch mode "'+l+'" in: '+c)}i++}}return r},(t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var e,t=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(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:e="+";break;case n:e="-";break;case 0:e=" "}t[r+1]=e+encodeURI(this.diffs[r][1])+"\n"}return t.join("").replace(/%20/g," ")},e.exports=t,e.exports.diff_match_patch=t,e.exports.DIFF_DELETE=n,e.exports.DIFF_INSERT=1,e.exports.DIFF_EQUAL=0},6907:function(e){"use strict";e.exports=function(e){if(e=String(e||""),r.test(e))return"rtl";if(o.test(e))return"ltr";return"neutral"};var t="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",n="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",r=new RegExp("^[^"+n+"]*["+t+"]"),o=new 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,o=t.getAllTags(),i={};for(var a in o)i[(n=a,n.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,""))]=o[a].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)}
1,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 new Error("Invalid image format");if(this._parseAppMarkers(e),!this._hasExifData())throw new 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))break;n=e.getUint16(t+this._APP_MARKER_SIZE,!1)}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 new 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,o,i;for(n=this._getShortAt(t),t+=2,i=[],o=0;0<=n?o<n:o>n;0<=n?++o:--o)r=this._readTag(e,t),this._tags[r.name]={value:r.value,description:r.description},i.push(t+=12);return i},e.prototype._readTag=function(e,t){var n,r,o,i,a,s,u;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):(u=this._getLongAt(t+8),s=this._getTagValue(this._tiffHeaderOffset+u,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?(i=this._tagNames[e][n].name,o=this._tagNames[e][n].description(s)):(i=this._tagNames[e][n],o=s instanceof Array?s.join(", "):s),{name:i,value:s,description:o}):{name:"undefined-"+n,value:s,description:s}},e.prototype._getTagValue=function(e,t,n){var r,o;return 1===(o=function(){var o,i;for(i=[],o=0;0<=n?o<n:o>n;0<=n?++o:--o)r=this._getTagValueAt[t](e),e+=this._typeSizes[t],i.push(r);return i}.call(this)).length?o=o[0]:t===this._tagTypes.ASCII&&(o=this._getAsciiValue(o)),o},e.prototype._getAsciiValue=function(e){var t;return function(){var n,r,o;for(o=[],n=0,r=e.length;n<r;n++)t=e[n],o.push(String.fromCharCode(t));return o}()},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,o,i;for(r=[],n=0,o=0,i=e.length;o<i;o++)"\0"!==(t=e[o])?(null==r[n]&&(r[n]=""),r[n]+=t):n++;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"}}}
1,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,o;for(n="",r=0,o=e.length;r<o;r++)t=e[r],n+=String.fromCharCode(t);return n}},36867:"DateTimeOriginal",36868:"DateTimeDigitized",37121:{name:"ComponentsConfiguration",description:function(e){var t,n,r;for(t="",n=0,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 \u2013 7100K)";case 13:return"Day white fluorescent (N 4600 \u2013 5400K)";case 14:return"Cool white fluorescent (W 3900 \u2013 4500K)";case 15:return"White fluorescent (WW 3200 \u2013 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"Flash 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";
1case 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,o;for(n="",r=0,o=e.length;r<o;r++)t=e[r],n+=String.fromCharCode(t);return n}},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){var t;return t=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},e.map(t).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";
1case 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)},56755:function(e){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}var t="array",n="bits",r="byte",o="bytes",i="",a="exponent",s="function",u="iec",l="Invalid number",c="Invalid rounding method",d="jedec",f="object",h=".",p="round",g="kbit",m="string",v={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function y(y){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},w=b.bits,x=void 0!==w&&w,C=b.pad,k=void 0!==C&&C,E=b.base,_=void 0===E?-1:E,S=b.round,j=void 0===S?2:S,M=b.locale,O=void 0===M?i:M,A=b.localeOptions,T=void 0===A?{}:A,R=b.separator,L=void 0===R?i:R,D=b.spacer,P=void 0===D?" ":D,I=b.symbols,F=void 0===I?{}:I,Z=b.standard,N=void 0===Z?i:Z,H=b.output,B=void 0===H?m:H,V=b.fullform,z=void 0!==V&&V,U=b.fullforms,W=void 0===U?[]:U,$=b.exponent,q=void 0===$?-1:$,G=b.roundingMethod,Y=void 0===G?p:G,K=b.precision,X=void 0===K?0:K,J=q,Q=Number(y),ee=[],te=0,ne=i;-1===_&&0===N.length?(_=10,N=d):-1===_&&N.length>0?_=(N=N===u?u:d)===u?2:10:N=10===(_=2===_?2:10)||N===d?d:u;var re=10===_?1e3:1024,oe=!0===z,ie=Q<0,ae=Math[Y];if(isNaN(y))throw new TypeError(l);if(e(ae)!==s)throw new TypeError(c);if(ie&&(Q=-Q),(-1===J||isNaN(J))&&(J=Math.floor(Math.log(Q)/Math.log(re)))<0&&(J=0),J>8&&(X>0&&(X+=8-J),J=8),B===a)return J;if(0===Q)ee[0]=0,ne=ee[1]=v.symbol[N][x?n:o][J];else{te=Q/(2===_?Math.pow(2,10*J):Math.pow(1e3,J)),x&&(te*=8)>=re&&J<8&&(te/=re,J++);var se=Math.pow(10,J>0?j:0);ee[0]=ae(te*se)/se,ee[0]===re&&J<8&&-1===q&&(ee[0]=1,J++),ne=ee[1]=10===_&&1===J?x?g:"kB":v.symbol[N][x?n:o][J]}if(ie&&(ee[0]=-ee[0]),X>0&&(ee[0]=ee[0].toPrecision(X)),ee[1]=F[ee[1]]||ee[1],!0===O?ee[0]=ee[0].toLocaleString():O.length>0?ee[0]=ee[0].toLocaleString(O,T):L.length>0&&(ee[0]=ee[0].toString().replace(h,L)),k&&!1===Number.isInteger(ee[0])&&j>0){var ue=L||h,le=ee[0].toString().split(ue),ce=le[1]||i,de=ce.length,fe=j-de;ee[0]="".concat(le[0]).concat(ue).concat(ce.padEnd(de+fe,"0"))}return oe&&(ee[1]=W[J]?W[J]:v.fullform[N][J]+(x?"bit":r)+(1===ee[0]?i:"s")),B===t?ee:B===f?{value:ee[0],symbol:ee[1],exponent:J,unit:ne}:ee.join(P)}return y.partial=function(e){return function(t){return y(t,e)}},y}()},78892:function(e){"use strict";e.exports=function(e,n){var r,o,i,a=e||"",s=n||"div",u={},l=0;for(;l<a.length;)t.lastIndex=l,i=t.exec(a),(r=a.slice(l,i?i.index:a.length))&&(o?"#"===o?u.id=r:u.className?u.className.push(r):u.className=[r]:s=r,l+=r.length),i&&(o=i[0],l++);return{type:"element",tagName:s,properties:u,children:[]}};var t=/[#.]/g},62502:function(e,t,n){"use strict";var r=n(99560),o=n(66632),i=n(78892),a=n(36582).Q,s=n(56851).Q;e.exports=function(e,t,n){var o=n?function(e){var t,n=e.length,r=-1,o={};for(;++r<n;)o[(t=e[r]).toLowerCase()]=t;return o}(n):null;return function(e,n){var r,a=i(e,t),s=Array.prototype.slice.call(arguments,2),d=a.tagName.toLowerCase();a.tagName=o&&u.call(o,d)?o[d]:d,n&&l(n,a)&&(s.unshift(n),n=null);if(n)for(r in n)f(a.properties,r,n[r]);c(a.children,s),"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]);return a};function f(t,n,o){var i,u,l;null!==o&&void 0!==o&&o===o&&(u=(i=r(e,n)).property,"string"===typeof(l=o)&&(i.spaceSeparated?l=a(l):i.commaSeparated?l=s(l):i.commaOrSpaceSeparated&&(l=a(s(l).join(" ")))),"style"===u&&"string"!==typeof o&&(l=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(l)),"className"===u&&t.className&&(l=t.className.concat(l)),t[u]=function(e,t,n){var r,o,i;if("object"!==typeof n||!("length"in n))return d(e,t,n);o=n.length,r=-1,i=[];for(;++r<o;)i[r]=d(e,t,n[r]);return i}(i,u,l))}};var u={}.hasOwnProperty;function l(e,t){return"string"===typeof e||"length"in e||function(e,t){var n=t.type;if("input"===e||!n||"string"!==typeof n)return!1;if("object"===typeof t.children&&"length"in t.children)return!0;
1if(n=n.toLowerCase(),"button"===e)return"menu"!==n&&"submit"!==n&&"reset"!==n&&"button"!==n;return"value"in t}(t.tagName,e)}function c(e,t){var n,r;if("string"!==typeof t&&"number"!==typeof t)if("object"===typeof t&&"length"in t)for(n=-1,r=t.length;++n<r;)c(e,t[n]);else{if("object"!==typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");e.push(t)}else e.push({type:"text",value:String(t)})}function d(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&&o(n)!==o(t)||(r=!0)),r}},52579:function(e,t,n){"use strict";var r=n(97247),o=n(62502)(r,"div");o.displayName="html",e.exports=o},31742:function(e,t,n){"use strict";e.exports=n(52579)},55648:function(e,t,n){"use strict";n.d(t,{PP:function(){return l},lX:function(){return u}});var r,o=n(87462);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(r||(r={}));var i=function(e){return e};var a="beforeunload",s="popstate";function u(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,u=n.history;function l(){var e=n.location,t=e.pathname,r=e.search,o=e.hash,a=u.state||{};return[a.idx,i({pathname:t,search:r,hash:o,state:a.usr||null,key:a.key||"default"})]}var c=null;n.addEventListener(s,(function(){if(c)x.call(c),c=null;else{var e=r.Pop,t=l(),n=t[0],o=t[1];if(x.length){if(null!=n){var i=y-n;i&&(c={action:e,location:o,retry:function(){j(-1*i)}},j(i))}}else S(e)}}));var m=r.Pop,v=l(),y=v[0],b=v[1],w=f(),x=f();function C(e){return"string"===typeof e?e:p(e)}function k(e,t){return void 0===t&&(t=null),i((0,o.Z)({pathname:b.pathname,hash:"",search:""},"string"===typeof e?g(e):e,{state:t,key:h()}))}function E(e,t){return[{usr:e.state,key:e.key,idx:t},C(e)]}function _(e,t,n){return!x.length||(x.call({action:e,location:t,retry:n}),!1)}function S(e){m=e;var t=l();y=t[0],b=t[1],w.call({action:m,location:b})}function j(e){u.go(e)}null==y&&(y=0,u.replaceState((0,o.Z)({},u.state,{idx:y}),""));var M={get action(){return m},get location(){return b},createHref:C,push:function e(t,o){var i=r.Push,a=k(t,o);if(_(i,a,(function(){e(t,o)}))){var s=E(a,y+1),l=s[0],c=s[1];try{u.pushState(l,"",c)}catch(d){n.location.assign(c)}S(i)}},replace:function e(t,n){var o=r.Replace,i=k(t,n);if(_(o,i,(function(){e(t,n)}))){var a=E(i,y),s=a[0],l=a[1];u.replaceState(s,"",l),S(o)}},go:j,back:function(){j(-1)},forward:function(){j(1)},listen:function(e){return w.push(e)},block:function(e){var t=x.push(e);return 1===x.length&&n.addEventListener(a,d),function(){t(),x.length||n.removeEventListener(a,d)}}};return M}function l(e){void 0===e&&(e={});var t=e,n=t.initialEntries,a=void 0===n?["/"]:n,s=t.initialIndex,u=a.map((function(e){return i((0,o.Z)({pathname:"/",search:"",hash:"",state:null,key:h()},"string"===typeof e?g(e):e))})),l=c(null==s?u.length-1:s,0,u.length-1),d=r.Pop,m=u[l],v=f(),y=f();function b(e,t){return void 0===t&&(t=null),i((0,o.Z)({pathname:m.pathname,search:"",hash:""},"string"===typeof e?g(e):e,{state:t,key:h()}))}function w(e,t,n){return!y.length||(y.call({action:e,location:t,retry:n}),!1)}function x(e,t){d=e,m=t,v.call({action:d,location:m})}function C(e){var t=c(l+e,0,u.length-1),n=r.Pop,o=u[t];w(n,o,(function(){C(e)}))&&(l=t,x(n,o))}var k={get index(){return l},get action(){return d},get location(){return m},createHref:function(e){return"string"===typeof e?e:p(e)},push:function e(t,n){var o=r.Push,i=b(t,n);w(o,i,(function(){e(t,n)}))&&(l+=1,u.splice(l,u.length,i),x(o,i))},replace:function e(t,n){var o=r.Replace,i=b(t,n);w(o,i,(function(){e(t,n)}))&&(u[l]=i,x(o,i))},go:C,back:function(){C(-1)},forward:function(){C(1)},listen:function(e){return v.push(e)},block:function(e){return y.push(e)}};return k}function c(e,t,n){return Math.min(Math.max(e,t),n)}function d(e){e.preventDefault(),e.returnValue=""}function f(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function h(){return Math.random().toString(36).substr(2,8)}function p(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function g(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}},8679:function(e,t,n){"use strict";var r=n(21296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=u(t),g=u(n),m=0;m<a.length;++m){var v=a[m];if(!i[v]&&(!r||!r[v])&&(!g||!g[v])&&(!s||!s[v])){var y=f(n,v);try{l(t,v,y)}catch(b){}}}}return t}},96103:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case m:case g:case u:return e;default:return t}}case o:return t}}}function C(e){return x(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||x(e)===c},t.isConcurrentMode=C,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},21296:function(e,t,n){"use strict";e.exports=n(96103)},60308:function(e){"use strict";e.exports=function(e,t){if(!Array.isArray(e))throw new 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="",o=0;o<n;o++)o===n-1?(t.oxfordComma&&(r+=","),r+=" "+t.conjunction+" "):0!==o&&(r+=", "),r+=e[o];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),o=n(46195);e.exports=function(e){return r(e)||o(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"},o={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"},i={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++)i["f"+a]=111+a;function s(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return u(e,t)})),o=function(e){return r.some((function(t){return l(t,e)}))};return null==n?o:o(n)}function u(e,t){var n=t&&t.byKey,o={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in r)o[r[s]]=!1;var u=!0,l=!1,f=void 0;try{for(var h,p=i[Symbol.iterator]();!(u=(h=p.next()).done);u=!0){var g=h.value,m=g.endsWith("?")&&g.length>1;m&&(g=g.slice(0,-1));var v=d(g),y=r[v];1!==a&&y||(n?o.key=v:o.which=c(g)),y&&(o[y]=!m||null)}}catch(b){l=!0,f=b}finally{try{!u&&p.return&&p.return()}finally{if(l)throw f}}return o}function l(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}
1function c(e){return e=d(e),i[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=o[e]||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,o=!1,i=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(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new 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},r(e)}function o(e,t,n){return t}function i(e){return Array.isArray(e)?"array":null===e?"null":r(e)}t.u4=h;var a={_:"SKIP_MARKER"};function s(e){return[a,e]}function u(e,t,n,r){var o=t(e,n,r);return o===s?[!0,e]:Array.isArray(o)&&o[0]===a?[!0,o[1]]:[!1,o]}function l(e,t,r,o){return n(u(e,t,r,o),2)[1]}function c(e,t,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:o,s=u(e,t,r,i),l=n(s,2),c=l[0],d=l[1];return c?d:Object.keys(r).reduce((function(e,n){return f(e,t,r[n],i.concat(a(r[n],n,r)),a)}),d)}function d(e,t,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:o,s=u(e,t,r,i),l=n(s,2),c=l[0],d=l[1];return c?d:r.reduce((function(e,n,o){return f(e,t,n,i.concat(a(n,o,r)),a)}),d)}function f(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:o,s=i(n);return"object"===s?c(e,t,n,r,a):"array"===s?d(e,t,n,r,a):l(e,t,n,r)}function h(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o;return f(n,t,e,[],r)}},12937:function(e){"use strict";const t=[],n=[],r=(e,r)=>{if(e===r)return 0;const o=e;e.length>r.length&&(e=r,r=o);let i=e.length,a=r.length;for(;i>0&&e.charCodeAt(~-i)===r.charCodeAt(~-a);)i--,a--;let s,u,l,c,d=0;for(;d<i&&e.charCodeAt(d)===r.charCodeAt(d);)d++;if(i-=d,a-=d,0===i)return a;let f=0,h=0;for(;f<i;)n[f]=e.charCodeAt(d+f),t[f]=++f;for(;h<a;)for(s=r.charCodeAt(d+h),l=h++,u=h,f=0;f<i;f++)c=s===n[f]?l:l+1,l=t[f],u=t[f]=l>u?c>u?u+1:c:c>l?l+1:c;return u};e.exports=r,e.exports.default=r},14461:function(e,t,n){var r="[object Symbol]",o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,i="object"==typeof self&&self&&self.Object===Object&&self,a=o||i||Function("return this")(),s=Object.prototype,u=0,l=s.toString,c=a.Symbol,d=c?c.prototype:void 0,f=d?d.toString:void 0;function h(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&l.call(e)==r}(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}e.exports=function(e){var t,n=++u;return(null==(t=e)?"":h(t))+n}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),o=n(80401),i=n(57667),a=n(21327),s=n(81866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},96425:function(e,t,n){var r=n(3118),o=n(9435);function i(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}i.prototype=r(o.prototype),i.prototype.constructor=i,e.exports=i},38407:function(e,t,n){var r=n(27040),o=n(14125),i=n(82117),a=n(67518),s=n(54705);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},7548:function(e,t,n){var r=n(3118),o=n(9435);function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}i.prototype=r(o.prototype),i.prototype.constructor=i,e.exports=i},57071:function(e,t,n){var r=n(10852)(n(55639),"Map");e.exports=r},83369:function(e,t,n){var r=n(24785),o=n(11285),i=n(96e3),a=n(49916),s=n(95265);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},53818:function(e,t,n){var r=n(10852)(n(55639),"Promise");e.exports=r},58525:function(e,t,n){var r=n(10852)(n(55639),"Set");e.exports=r},88668:function(e,t,n){var r=n(83369),o=n(90619),i=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},46384:function(e,t,n){var r=n(38407),o=n(37465),i=n(63779),a=n(67599),s=n(44758),u=n(34309);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),"WeakMap");e.exports=r},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 o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];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;
1++n<r&&!1!==t(e[n],n,e););return e}},34963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},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,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},14636:function(e,t,n){var r=n(22545),o=n(35694),i=n(1469),a=n(44144),s=n(65776),u=n(36719),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),d=!n&&!c&&a(e),f=!n&&!c&&!d&&u(e),h=n||c||d||f,p=h?r(e.length,String):[],g=p.length;for(var m in e)!t&&!l.call(e,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||p.push(m);return p}},29932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},62488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},62663:function(e){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},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}},82908:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},44286:function(e){e.exports=function(e){return e.split("")}},49029:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},86556:function(e,t,n){var r=n(89465),o=n(77813);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},34865:function(e,t,n){var r=n(89465),o=n(77813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;
vendor: 4,504 bytes, line 1
1)if(r(e[n][0],t))return n;return-1}},81119:function(e,t,n){var r=n(89881);e.exports=function(e,t,n,o){return r(e,(function(e,r,i){t(o,e,n(e),i)})),o}},44037:function(e,t,n){var r=n(98363),o=n(3674);e.exports=function(e,t){return e&&r(t,o(t),e)}},63886:function(e,t,n){var r=n(98363),o=n(81704);e.exports=function(e,t){return e&&r(t,o(t),e)}},89465:function(e,t,n){var r=n(38777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},85990:function(e,t,n){var r=n(46384),o=n(77412),i=n(34865),a=n(44037),s=n(63886),u=n(64626),l=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),b=n(44144),w=n(56688),x=n(13218),C=n(72928),k=n(3674),E=n(81704),_="[object Arguments]",S="[object Function]",j="[object Object]",M={};M[_]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object DataView]"]=M["[object Boolean]"]=M["[object Date]"]=M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Map]"]=M["[object Number]"]=M[j]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object Symbol]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Error]"]=M[S]=M["[object WeakMap]"]=!1,e.exports=function e(t,n,O,A,T,R){var L,D=1&n,P=2&n,I=4&n;if(O&&(L=T?O(t,A,T,R):O(t)),void 0!==L)return L;if(!x(t))return t;var F=y(t);if(F){if(L=g(t),!D)return l(t,L)}else{var Z=p(t),N=Z==S||"[object GeneratorFunction]"==Z;if(b(t))return u(t,D);if(Z==j||Z==_||N&&!T){if(L=P||N?{}:v(t),!D)return P?d(t,s(L,t)):c(t,a(L,t))}else{if(!M[Z])return T?t:{};L=m(t,Z,D)}}R||(R=new r);var H=R.get(t);if(H)return H;R.set(t,L),C(t)?t.forEach((function(r){L.add(e(r,n,O,r,t,R))})):w(t)&&t.forEach((function(r,o){L.set(o,e(r,n,O,o,t,R))}));var B=F?void 0:(I?P?h:f:P?E:k)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),i(L,o,e(r,n,O,o,t,R))})),L}},3118:function(e,t,n){var r=n(13218),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},20731:function(e,t,n){var r=n(88668),o=n(47443),i=n(1196),a=n(29932),s=n(7518),u=n(74757);e.exports=function(e,t,n,l){var c=-1,d=o,f=!0,h=e.length,p=[],g=t.length;if(!h)return p;n&&(t=a(t,s(n))),l?(d=i,f=!1):t.length>=200&&(d=u,f=!1,t=new r(t));e:for(;++c<h;){var m=e[c],v=null==n?m:n(m);if(m=l||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,l)||p.push(m)}return p}},89881:function(e,t,n){var r=n(47816),o=n(99291)(r);e.exports=o},56029:function(e,t,n){var r=n(33448);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],s=t(a);if(null!=s&&(void 0===u?s===s&&!r(s):n(s,u)))var u=s,l=a}return l}},41848:function(e){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},21078:function(e,t,n){var r=n(62488),o=n(37285);e.exports=function e(t,n,i,a,s){var u=-1,l=t.length;for(i||(i=o),s||(s=[]);++u<l;){var c=t[u];n>0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},28483:function(e,t,n){var r=n(25063)();e.exports=r},47816:function(e,t,n){var r=n(28483),o=n(3674);e.exports=function(e,t){return e&&r(e,t,o)}},97786:function(e,t,n){var r=n(71811),o=n(40327);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},68866:function(e,t,n){var r=n(62488),o=n(1469);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},44239:function(e,t,n){var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},53325:function(e){e.exports=function(e,t){return e>t}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},42118:function(e,t,n){var r=n(41848),o=n(62722),i=n(42351);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},47556:function(e,t,n){var r=n(88668),o=n(47443),i=n(1196),a=n(29932),s=n(7518),u=n(74757),l=Math.min;e.exports=function(e,t,n){for(var c=n?i:o,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=l(v.length,g),p[h]=!n&&(t||d>=120&&v.length>=120)?new r(h&&v):void 0}v=e[0];var y=-1,b=p[0];e:for(;++y<d&&m.length<g;){var w=v[y],x=t?t(w):w;if(w=n||0!==w?w:0,!(b?u(b,x):c(m,x,n))){for(h=f;--h;){var C=p[h];if(!(C?u(C,x):c(e[h],x,n)))continue e}
vendor: 4,096 bytes, line 1
1b&&b.push(x),m.push(w)}}return m}},9454:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},90939:function(e,t,n){var r=n(2492),o=n(37005);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},2492:function(e,t,n){var r=n(46384),o=n(67114),i=n(18351),a=n(16096),s=n(64160),u=n(1469),l=n(44144),c=n(36719),d="[object Arguments]",f="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,v){var y=u(e),b=u(t),w=y?f:s(e),x=b?f:s(t),C=(w=w==d?h:w)==h,k=(x=x==d?h:x)==h,E=w==x;if(E&&l(e)){if(!l(t))return!1;y=!0,C=!1}if(E&&!C)return v||(v=new r),y||c(e)?o(e,t,n,g,m,v):i(e,t,w,n,g,m,v);if(!(1&n)){var _=C&&p.call(e,"__wrapped__"),S=k&&p.call(t,"__wrapped__");if(_||S){var j=_?e.value():e,M=S?t.value():t;return v||(v=new r),m(j,M,n,g,v)}}return!!E&&(v||(v=new r),a(e,t,n,g,m,v))}},25588:function(e,t,n){var r=n(64160),o=n(37005);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},2958:function(e,t,n){var r=n(46384),o=n(90939);e.exports=function(e,t,n,i){var a=n.length,s=a,u=!i;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var c=(l=n[a])[0],d=e[c],f=l[1];if(u&&l[2]){if(void 0===d&&!(c in e))return!1}else{var h=new r;if(i)var p=i(d,f,c,e,t,h);if(!(void 0===p?o(f,d,3,i,h):p))return!1}}return!0}},62722:function(e){e.exports=function(e){return e!==e}},28458:function(e,t,n){var r=n(23560),o=n(15346),i=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},29221:function(e,t,n){var r=n(64160),o=n(37005);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},38749:function(e,t,n){var r=n(44239),o=n(41780),i=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},67206:function(e,t,n){var r=n(91573),o=n(16432),i=n(6557),a=n(1469),s=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},280:function(e,t,n){var r=n(25726),o=n(86916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},10313:function(e,t,n){var r=n(13218),o=n(25726),i=n(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(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),o=n(98612);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},91573:function(e,t,n){var r=n(2958),o=n(1499),i=n(42634);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:function(e,t,n){var r=n(90939),o=n(27361),i=n(79095),a=n(15403),s=n(89162),u=n(42634),l=n(40327);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},42980:function(e,t,n){var r=n(46384),o=n(86556),i=n(28483),a=n(59783),s=n(13218),u=n(81704),l=n(36390);e.exports=function e(t,n,c,d,f){t!==n&&i(n,(function(i,u){if(f||(f=ne
vendor: 5,843 bytes, line 1
1w r),s(i))a(t,n,u,c,e,d,f);else{var h=d?d(l(t,u),i,u+"",t,n,f):void 0;void 0===h&&(h=i),o(t,u,h)}}),u)}},59783:function(e,t,n){var r=n(86556),o=n(64626),i=n(77133),a=n(278),s=n(38517),u=n(35694),l=n(1469),c=n(29246),d=n(44144),f=n(23560),h=n(13218),p=n(68630),g=n(36719),m=n(36390),v=n(59881);e.exports=function(e,t,n,y,b,w,x){var C=m(e,n),k=m(t,n),E=x.get(k);if(E)r(e,n,E);else{var _=w?w(C,k,n+"",e,t,x):void 0,S=void 0===_;if(S){var j=l(k),M=!j&&d(k),O=!j&&!M&&g(k);_=k,j||M||O?l(C)?_=C:c(C)?_=a(C):M?(S=!1,_=o(k,!0)):O?(S=!1,_=i(k,!0)):_=[]:p(k)||u(k)?(_=C,u(C)?_=v(C):h(C)&&!f(C)||(_=s(k))):S=!1}S&&(x.set(k,_),b(_,k,y,w,x),x.delete(k)),r(e,n,_)}}},82689:function(e,t,n){var r=n(29932),o=n(97786),i=n(67206),a=n(69199),s=n(71131),u=n(7518),l=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 o(t,1===e.length?e[0]:e)}:e})):[c];var f=-1;t=r(t,u(i));var h=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++f,value:e}}));return s(h,(function(e,t){return l(e,t,n)}))}},25970:function(e,t,n){var r=n(63012),o=n(79095);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},63012:function(e,t,n){var r=n(97786),o=n(10611),i=n(71811);e.exports=function(e,t,n){for(var a=-1,s=t.length,u={};++a<s;){var l=t[a],c=r(e,l);n(c,l)&&o(u,i(l,e),c)}return u}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,n){var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},18674:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},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,o,i){for(var a=-1,s=n(t((r-e)/(o||1)),0),u=Array(s);s--;)u[i?s:++a]=e,e+=o;return u}},5976:function(e,t,n){var r=n(6557),o=n(45357),i=n(30061);e.exports=function(e,t){return i(o(e,t,r),e+"")}},84992:function(e,t,n){var r=n(94311),o=n(52628);e.exports=function(e){return r(o(e))}},10611:function(e,t,n){var r=n(34865),o=n(71811),i=n(65776),a=n(13218),s=n(40327);e.exports=function(e,t,n,u){if(!a(e))return e;for(var l=-1,c=(t=o(t,e)).length,d=c-1,f=e;null!=f&&++l<c;){var h=s(t[l]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=d){var g=f[h];void 0===(p=u?u(g,h,f):void 0)&&(p=a(g)?g:i(t[l+1])?[]:{})}r(f,h,p),f=f[h]}return e}},56560:function(e,t,n){var r=n(75703),o=n(38777),i=n(6557),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},14259:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},71131:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},22545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},80531:function(e,t,n){var r=n(62705),o=n(29932),i=n(1469),a=n(33448),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},45652:function(e,t,n){var r=n(88668),o=n(47443),i=n(1196),a=n(74757),s=n(23593),u=n(21814);e.exports=function(e,t,n){var l=-1,c=o,d=e.length,f=!0,h=[],p=h;if(n)f=!1,c=i;else if(d>=200){var g=t?null:s(e);if(g)return u(g);f=!1,c=a,p=new r}else p=t?[]:h;e:for(;++l<d;){var m=e[l],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)}else c(p,v,n)||(p!==h&&p.push(v),h.push(m))}return h}},57406:function(e,t,n){var r=n(71811),o=n(10928),i=n(40292),a=n(40327);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(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),o=n(21078),i=n(45652);e.exports=function(e,t,n){var a=e.length;if(a<2)return a?i(e[0]):[];for(var s=-1,u=Array(a);++s<a;)for(var l=e[s],c=-1;++c<a;)c!=s&&(u[s]=r(u[s]||l,e[c],t,n));return i(o(u,1),t,n)}},74757:function(e){e.exports=function(e,t){return e.has(t)}},24387:function(e,t,n){var r=n(29246);e.exports=function(e){return r(e)?e:[]}},54290:function(e,t,n){var r=n(6557);e.exports=function(e){return"function"==typeof e?e:r}},71811:function(e,t,n){var r=n(1469),o=n(15403),i=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},40180:function(e,t,n){var r=n(14259);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},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,o=e.length;++n<o&&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),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?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),o=r?r.prototype:void 0,i=o?o.valueOf
1:void 0;e.exports=function(e){return i?Object(i.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,o=null===e,i=e===e,a=r(e),s=void 0!==t,u=null===t,l=t===t,c=r(t);if(!u&&!c&&!a&&e>t||a&&s&&l&&!u&&!c||o&&s&&l||!n&&l||!i)return 1;if(!o&&!a&&!c&&e<t||c&&n&&i&&!o&&!a||u&&n&&i||!s&&i||!l)return-1}return 0}},85022:function(e,t,n){var r=n(26393);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,u=n.length;++o<s;){var l=r(i[o],a[o]);if(l)return o>=u?l:l*("desc"==n[o]?-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),o=n(89465);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=i?i(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),a?o(n,l,c):r(n,l,c)}return n}},18805:function(e,t,n){var r=n(98363),o=n(99551);e.exports=function(e,t){return r(e,o(e),t)}},1911:function(e,t,n){var r=n(98363),o=n(51442);e.exports=function(e,t){return r(e,o(e),t)}},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},55189:function(e,t,n){var r=n(44174),o=n(81119),i=n(67206),a=n(1469);e.exports=function(e,t){return function(n,s){var u=a(n)?r:o,l=t?t():{};return u(n,e,i(s,2),l)}}},21463:function(e,t,n){var r=n(5976),o=n(16612);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t}))}},99291:function(e,t,n){var r=n(98612);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},25063:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}},98805:function(e,t,n){var r=n(40180),o=n(62689),i=n(83140),a=n(79833);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return s[e]()+u}}},35393:function(e,t,n){var r=n(62663),o=n(53816),i=n(58748),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},67740:function(e,t,n){var r=n(67206),o=n(98612),i=n(3674);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!o(t)){var u=r(n,3);t=i(t),n=function(e){return u(s[e],e,s)}}var l=e(t,n,a);return l>-1?s[u?t[l]:l]:void 0}}},23468:function(e,t,n){var r=n(7548),o=n(99021),i=n(66833),a=n(97658),s=n(1469),u=n(86528);e.exports=function(e){return o((function(t){var n=t.length,o=n,l=r.prototype.thru;for(e&&t.reverse();o--;){var c=t[o];if("function"!=typeof c)throw new TypeError("Expected a function");if(l&&!d&&"wrapper"==a(c))var d=new r([],!0)}for(o=d?o:n;++o<n;){c=t[o];var f=a(c),h="wrapper"==f?i(c):void 0;d=h&&u(h[0])&&424==h[1]&&!h[4].length&&1==h[9]?d[a(h[0])].apply(d,h[3]):1==c.length&&u(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 o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}},47445:function(e,t,n){var r=n(40098),o=n(16612),i=n(18601);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},23593:function(e,t,n){var r=n(58525),o=n(50308),i=n(21814),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},60696:function(e,t,n){var r=n(68630);e.exports=function(e){return r(e)?void 0:e}},69389:function(e,t,n){var r=n(18674)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"
1c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},38777:function(e,t,n){var r=n(10852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},67114:function(e,t,n){var r=n(88668),o=n(82908),i=n(74757);e.exports=function(e,t,n,a,s,u){var l=1&n,c=e.length,d=t.length;if(c!=d&&!(l&&d>c))return!1;var f=u.get(e),h=u.get(t);if(f&&h)return f==t&&h==e;var p=-1,g=!0,m=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p<c;){var v=e[p],y=t[p];if(a)var b=l?a(y,v,p,t,e,u):a(v,y,p,e,t,u);if(void 0!==b){if(b)continue;g=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(v===e||s(v,e,n,a,u)))return m.push(t)}))){g=!1;break}}else if(v!==y&&!s(v,y,n,a,u)){g=!1;break}}return u.delete(e),u.delete(t),g}},18351:function(e,t,n){var r=n(62705),o=n(11149),i=n(77813),a=n(67114),s=n(68776),u=n(21814),l=r?r.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var p=1&r;if(h||(h=u),e.size!=t.size&&!p)return!1;var g=f.get(e);if(g)return g==t;r|=2,f.set(e,t);var m=a(h(e),h(t),r,l,d,f);return f.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},16096:function(e,t,n){var r=n(58234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var u=1&n,l=r(e),c=l.length;if(c!=r(t).length&&!u)return!1;for(var d=c;d--;){var f=l[d];if(!(u?f in t:o.call(t,f)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=u;++d<c;){var v=e[f=l[d]],y=t[f];if(i)var b=u?i(y,v,f,t,e,s):i(v,y,f,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(g=!1)}return s.delete(e),s.delete(t),g}},99021:function(e,t,n){var r=n(85564),o=n(45357),i=n(30061);e.exports=function(e){return i(o(e,void 0,r),e+"")}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:function(e,t,n){var r=n(68866),o=n(99551),i=n(3674);e.exports=function(e){return r(e,i,o)}},46904:function(e,t,n){var r=n(68866),o=n(51442),i=n(81704);e.exports=function(e){return r(e,i,o)}},66833:function(e,t,n){var r=n(89250),o=n(50308),i=r?function(e){return r.get(e)}:o;e.exports=i},97658:function(e,t,n){var r=n(52060),o=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",n=r[t],i=o.call(r,t)?n.length:0;i--;){var a=n[i],s=a.func;
vendor: 6,458 bytes, line 1
1if(null==s||s==e)return a.name}return t}},45050:function(e,t,n){var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:function(e,t,n){var r=n(89162),o=n(3674);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},10852:function(e,t,n){var r=n(28458),o=n(47801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},85924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:function(e,t,n){var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(u){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},99551:function(e,t,n){var r=n(34963),o=n(70479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},51442:function(e,t,n){var r=n(62488),o=n(85924),i=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},64160:function(e,t,n){var r=n(18552),o=n(57071),i=n(53818),a=n(58525),s=n(70577),u=n(44239),l=n(80346),c="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",g=l(r),m=l(o),v=l(i),y=l(a),b=l(s),w=u;(r&&w(new r(new ArrayBuffer(1)))!=p||o&&w(new o)!=c||i&&w(i.resolve())!=d||a&&w(new a)!=f||s&&w(new s)!=h)&&(w=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case g:return p;case m:return c;case v:return d;case y:return f;case b:return h}return t}),e.exports=w},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,n){var r=n(71811),o=n(35694),i=n(1469),a=n(65776),s=n(41780),u=n(40327);e.exports=function(e,t,n){for(var l=-1,c=(t=r(t,e)).length,d=!1;++l<c;){var f=u(t[l]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++l!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(i(e)||o(e))}},62689:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},93157:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},51789:function(e,t,n){var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},81866:function(e,t,n){var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},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),o=n(57157),i=n(93147),a=n(40419),s=n(77133);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(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 u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},38517:function(e,t,n){var r=n(3118),o=n(85924),i=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},37285:function(e,t,n){var r=n(62705),o=n(35694),i=n(1469),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},65776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},16612:function(e,t,n){var r=n(77813),o=n(98612),i=n(65776),a=n(13218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},15403:function(e,t,n){var r=n(1469),o=n(33448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},86528:function(e,t,n){var r=n(96425),o=n(66833),i=n(97658),a=n(8111);e.exports=function(e){var t=i(e),n=a[t];if("function"!=typeof n||!(t in r.prototype))return!1;if(e===n)return!0;var s=o(n);return!!s&&e===s[0]}},15346:function(e,t,n){var r=n(14429),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},25726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},89162:function(e,t,n){var r=n(13218);e.exports=function(e){return e===e&&!r(e)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var r=n(18470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),str
vendor: 7,947 bytes, line 1
1ing:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},89250:function(e,t,n){var r=n(70577),o=r&&new r;e.exports=o},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},45357:function(e,t,n){var r=n(96874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),u=Array(s);++a<s;)u[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(u),r(e,this,l)}}},40292:function(e,t,n){var r=n(97786),o=n(14259);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},52060:function(e){e.exports={}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},36390:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},30061:function(e,t,n){var r=n(56560),o=n(21275)(r);e.exports=o},21275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},42351:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},83140:function(e,t,n){var r=n(44286),o=n(62689),i=n(676);e.exports=function(e){return o(e)?i(e):r(e)}},55514:function(e,t,n){var r=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},40327:function(e,t,n){var r=n(33448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},676:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",l=u+s+("(?:\\u200d(?:"+[o,i,a].join("|")+")"+u+s+")*"),c="(?:"+[o+n+"?",n,i,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+c+l,"g");e.exports=function(e){return e.match(d)||[]}},2757:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+o+"]",a="\\d+",s="[\\u2700-\\u27bf]",u="["+n+"]",l="[^\\ud800-\\udfff"+o+a+t+n+r+"]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+r+"]",h="(?:"+u+"|"+l+")",p="(?:"+f+"|"+l+")",g="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",m="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",b=y+v+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,d].join("|")+")"+y+v+")*"),w="(?:"+[s,c,d].join("|")+")"+b,x=RegExp([f+"?"+u+"+"+g+"(?="+[i,f,"$"].join("|")+")",p+"+"+m+"(?="+[i,f+h,"$"].join("|")+")",f+"?"+h+"+"+g,f+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,w].join("|"),"g");e.exports=function(e){return e.match(x)||[]}},21913:function(e,t,n){var r=n(96425),o=n(7548),i=n(278);e.exports=function(e){if(e instanceof r)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=i(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},63706:function(e,t,n){var r=n(98363),o=n(21463),i=n(3674),a=o((function(e,t,n,o){r(t,i(t),e,o)}));e.exports=a},68929:function(e,t,n){var r=n(48403),o=n(35393)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},48403:function(e,t,n){var r=n(79833),o=n(11700);e.exports=function(e){return o(r(e).toLowerCase())}},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,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}},75703:function(e){e.exports=function(e){return function(){return e}}},23279:function(e,t,n){var r=n(13218),o=n(7771),i=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,l,c,d,f,h,p=0,g=!1,m=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=u,r=l;return u=l=void 0,p=t,d=e.apply(r,n)}function b(e){return p=e,f=setTimeout(x,t),g?y(e):d}function w(e){var n=e-h;return void 0===h||n>=t||n<0||m&&e-p>=c}function x(){var e=o();if(w(e))return C(e);f=setTimeout(x,function(e){var n=t-(e-h);return m?s(n,c-(e-p)):n}(e))}function C(e){return f=void 0,v&&u?y(e):(u=l=void 0,d)}function k(){var e=o(),n=w(e);if(u=arguments,l=this,h=e,n){if(void 0===f)return b(h);if(m)return clearTimeout(f),f=setTimeout(x,t),y(h)}return void 0===f&&(f=setTimeout(x,t)),d}return t=i(t)||0,r(n)&&(g=!!n.leading,c=(m="maxWait"in n)?a(i(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==f&&clearTimeout(f),p=0,u=h=l=f=void 0},k.flush=function(){return void 0===f?d:C(o())},k}},53816:function(e,t,n){var r=n(69389),o=n(79833),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
17f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},91966:function(e,t,n){var r=n(20731),o=n(21078),i=n(5976),a=n(29246),s=i((function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]}));e.exports=s},66073:function(e,t,n){e.exports=n(84486)},77813:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},3522:function(e,t,n){var r=n(79833),o=/[\\^$.*+?()[\]{}|]/g,i=RegExp(o.source);e.exports=function(e){return(e=r(e))&&i.test(e)?e.replace(o,"\\$&"):e}},13311:function(e,t,n){var r=n(67740)(n(30998));e.exports=r},30998:function(e,t,n){var r=n(41848),o=n(67206),i=n(40554),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:i(n);return u<0&&(u=a(s+u,0)),r(e,o(t,3),u)}},94654:function(e,t,n){var r=n(21078),o=n(35161);e.exports=function(e,t){return r(o(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},84486:function(e,t,n){var r=n(77412),o=n(89881),i=n(54290),a=n(1469);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},2525:function(e,t,n){var r=n(47816),o=n(54290);e.exports=function(e,t){return e&&r(e,o(t))}},27361:function(e,t,n){var r=n(97786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},7739:function(e,t,n){var r=n(89465),o=n(55189),i=Object.prototype.hasOwnProperty,a=o((function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=a},79095:function(e,t,n){var r=n(13),o=n(222);e.exports=function(e,t){return null!=e&&o(e,t,r)}},6557:function(e){e.exports=function(e){return e}},25325:function(e,t,n){var r=n(29932),o=n(47556),i=n(5976),a=n(24387),s=i((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},29246:function(e,t,n){var r=n(98612),o=n(37005);e.exports=function(e){return o(e)&&r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u},41609:function(e,t,n){var r=n(280),o=n(64160),i=n(35694),a=n(1469),s=n(98612),u=n(44144),l=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||u(e)||c(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(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)}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:function(e,t,n){var r=n(25588),o=n(7518),i=n(31167),a=i&&i.isMap,s=a?o(a):r;e.exports=s},81763:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},68630:function(e,t,n){var r=n(44239),o=n(85924),i=n(37005),a=Function.prototype,s=Object.prototype,u=a.toString,l=s.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},72928:function(e,t,n){var r=n(29221),o=n(7518),i=n(31167),a=i&&i.isSet,s=a?o(a):r;e.exports=s},47037:function(e,t,n){var r=n(44239),o=n(1469),i=n(37005);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},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),o=n(55189)((function(e,t,n){r(e,n,t)}));e.exports=o},3674:function(e,t,n){var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},81704:function(e,t,n){var r=n(14636),o=n(10313),i=n(98612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},10928: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),o=n(67206),i=n(69199),a=n(1469);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},6162:function(e,t,n){var r=n(56029),o=n(53325),i=n(6557);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},88306:function(e,t,n){var r=n(83369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},82492:function(e,t,n){var r=n(42980),o=n(21463)((function(e,t,n){r(e,t,n)}));e.exports=o},53632:function(e,t,n){var r=n(56029),o=n(70433),i=n(6557);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},94885:function(e){e.exports=function(e){if("function"!=typeof e)throw new 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),o=n(85990),i=n(57406),a=n(71811),s=n(98363),u=n(60696),l=n(99021),c=n(46904),d=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=r(t,(function(t){return t=a(t,e),l||(l=t.length>1),t})),s(e,c(e),n),l&&(n=o(n,7,u));for(var d=t.length;d--;)i(n,t[d]);return n}));e.exports=d},14176:function(e,t,n){var r=n(67206),o=n(94885),i=n(35937);e.exports=function(e,t){return i(e,o(r(t)))}},75472:function(e,t,n){var r=n(82689),o=n(1469);e.exports=function(e,t,n,i){return null==e?[]:(o(t)||(t=null==t?[]:[t]),o(n=i?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),o=n(99021)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},35937:function(e,t,n){var r=n(29932),o=n(67206),i=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=o(t),i(e,n,(function(e,n){return t(e,n[0])}))}},39601:function(e,t,n){var r=n(40371),o=n(79152),i=n(15403),a=n(40327);e.exports=function(e){return i(e)?r(a(e)):o(e)}},96026:function(e,t,n){var r=n(47445)();e.exports=r},95534:function(e,t,n){var r=n(94311),o=n(84992),i=n(1469);e.exports=function(e){return(i(e)?r:o)(e)}},89734:function(e,t,n){var r=n(21078),o=n(82689),i=n(5976),a=n(16612),s=i((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]]),o(e,r(t,1),[])}));e.exports=s},18029:function(e,t,n){var r=n(35393),o=n(11700),i=r((function(e,t,n){return e+(n?" ":"")+o(t)}));e.exports=i},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},23493:function(e,t,n){var r=n(23279),o=n(13218);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},18601:function(e,t,n){var r=n(14841),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):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),o=n(13218),i=n(33448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},30084:function(e,t,n){var r=n(29932),o=n(278),i=n(1469),a=n(33448),s=n(55514),u=n(40327),l=n(79833);e.exports=function(e){return i(e)?r(e,u):a(e)?[e]:o(s(l(e)))}},59881:function(e,t,n){var r=n(98363),o=n(81704);e.exports=function(e){return r(e,o(e))}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},92742:function(e,t,n){var r=n(80531),o=n(27561),i=n(40180),a=n(5512),s=n(89817),u=n(83140),l=n(79833);
1e.exports=function(e,t,n){if((e=l(e))&&(n||void 0===t))return o(e);if(!e||!(t=r(t)))return e;var c=u(e),d=u(t),f=s(c,d),h=a(c,d)+1;return i(c,f,h).join("")}},93386:function(e,t,n){var r=n(21078),o=n(5976),i=n(45652),a=n(29246),s=o((function(e){return i(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),o=n(45652);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},73955:function(e,t,n){var r=n(79833),o=0;e.exports=function(e){var t=++o;return r(e)+t}},11700:function(e,t,n){var r=n(98805)("toUpperCase");e.exports=r},52628:function(e,t,n){var r=n(47415),o=n(3674);e.exports=function(e){return null==e?[]:r(e,o(e))}},58748:function(e,t,n){var r=n(49029),o=n(93157),i=n(79833),a=n(2757);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},8111:function(e,t,n){var r=n(96425),o=n(7548),i=n(9435),a=n(1469),s=n(37005),u=n(21913),l=Object.prototype.hasOwnProperty;function c(e){if(s(e)&&!a(e)&&!(e instanceof r)){if(e instanceof o)return e;if(l.call(e,"__wrapped__"))return u(e)}return new o(e)}c.prototype=i.prototype,c.prototype.constructor=c,e.exports=c},76566:function(e,t,n){var r=n(34963),o=n(5976),i=n(36128),a=n(29246),s=o((function(e){return i(r(e,a))}));e.exports=s},25874:function(e,t,n){"use strict";n.d(t,{ZI:function(){return l},af:function(){return c},oL:function(){return u},re:function(){return a}});var r=n(16496),o=n(47438),i=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 o=r[n],i=o[0],a=o[1];t[i]=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,o.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,r=e;n<r.length;n++){r[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,o=e.elements;r<o.length;r++){(s=o[r]).content&&s.endMeta!==this.meta&&this.updateEndMeta(s.content),s.endMeta=this.meta}else for(var i=0,a=Object.values(e.fields);i<a.length;i++){var s;(s=a[i]).content&&s.endMeta!==this.meta&&this.updateEndMeta(s.content),s.endMeta=this.meta}},e.prototype.copyString=function(e){if(e){var t=this.asString(e);return this.stringFromParts(t.parts.slice())}return{type:"string",parts:[]}},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 o,i,a=this.asArray(t),s=a.elements.length===n;if((o=e.elements).push.apply(o,a.elements.slice(n,r)),s)(i=e.metas).push.apply(i,a.metas.slice(n,r));else for(var u=n;u<r;u++)e.metas.push(this.meta)},e.prototype.stringAppendValue=function(e,t){for(var n=0,r=this.asString(t).parts;n<r.length;n++){var o=r[n];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 o=e.parts[r];if(n===o.utf8size)return r+1;if(n<o.utf8size)return this.splitString(o,n),r+1;n-=o.utf8size}throw new Error("splitting string out of bounds")},e.prototype.splitString=function(e,t){var n,r=t,i=e.utf8size-r;if(e.utf8size!==e.value.length){var a=0;for(t=0;a<r;t++){var s=e.value.codePointAt(t),u=(0,o.rO)(s);4===u&&t++,a+=u}}n=e.value.slice(0,t);var l={value:e.value.slice(t),utf8size:i,uses:e.uses.slice(),startMeta:e.startMeta,endMeta:e.endMeta};e.value=n,e.utf8size=r;
1for(var c=0,d=e.uses;c<d.length;c++){var f=d[c],h=f.parts.indexOf(e);if(-1===h)throw new Error("bug: mismatch between string parts and use.");f.parts.splice(h+1,0,l)}},e.prototype.stringAppendSlice=function(e,t,n,r){for(var o=this.asString(t),i=this.resolveStringPart(o,0,n),a=this.resolveStringPart(o,i,r-n),s=i;s<a;s++){var u=o.parts[s];this.stringAppendPart(e,u)}},e}();function a(e,t){return{data:e,startMeta:t,endMeta:t}}function s(e){if("undefined"!==typeof 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,o=Object.entries(n.fields);r<o.length;r++){var i=o[r],a=i[0],u=i[1];t[a]=s(u)}}return e.data=t,t}function u(e){return e.content?e.content.type:Array.isArray(e.data)?"array":null===e.data?"null":typeof e.data}function l(e,t){var n=u(e);if(n!==u(t))return t;var r=new i(e.endMeta),a=new i(t.endMeta);switch(n){case"object":for(var c=r.asObject(e),d=a.asObject(t),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],b=v[1],w=c.fields[y];w&&(d.fields[y]=l(w,b),d.fields[y]===w&&f++)}return h===p&&h===f?e:t;case"array":var x=r.asArray(e),C=a.asArray(t);if(x.elements.length!==C.elements.length)break;for(var k=0,E=0;E<C.elements.length;E++)C.elements[E]=l(x.elements[E],C.elements[E]),C.elements[E]!==x.elements[E]&&k++;return 0===k?e:t;case"null":case"boolean":case"number":if(s(e)===s(t))return e;break;case"string":var _=s(e),S=s(t);if(_===S)return e;var j=a.copyString(null),M=(0,o.lK)(_,S),O=(0,o.zA)(_,S,M),A=(0,o.W)(S),T=(0,o.W)(_);0<M&&a.stringAppendSlice(j,e,0,M),M<A-O&&a.stringAppendSlice(j,t,M,A-O),T-O<T&&a.stringAppendSlice(j,e,T-O,T);var R=a.finalize(j);if(s(R)!==S)throw new Error("incorrect string rebase");return R}return t}function c(e,t,n){var o=new i(n);return new r.t(o,e,t).process()}},47252: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.d(t,{Z:function(){return r}})},70631:function(e,t,n){var r="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"===typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"===typeof u.get?u.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,b=String.prototype.replace,w=String.prototype.toUpperCase,x=String.prototype.toLowerCase,C=RegExp.prototype.test,k=Array.prototype.concat,E=Array.prototype.join,_=Array.prototype.slice,S=Math.floor,j="function"===typeof BigInt?BigInt.prototype.valueOf:null,M=Object.getOwnPropertySymbols,O="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,A="function"===typeof Symbol&&"object"===typeof Symbol.iterator,T="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===A||"symbol")?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,L=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function D(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?-S(-e):S(e);if(r!==e){var o=String(r),i=y.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var P=n(24654),I=P.custom,F=V(I)?I:null;function Z(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function N(e){return b.call(String(e),/"/g,""")}function H(e){return"[object Array]"===W(e)&&(!T||!("object"===typeof e&&T in e))}function B(e){return"[object RegExp]"===W(e)&&(!T||!("object"===typeof e&&T in e))}function V(e){if(A)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;
1if(!e||"object"!==typeof e||!O)return!1;try{return O.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(U(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new 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 new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!U(s,"customInspect")||s.customInspect;if("boolean"!==typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(U(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(U(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var g=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return q(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return g?D(t,w):w}if("bigint"===typeof t){var C=String(t)+"n";return g?D(t,C):C}var S="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof r&&(r=0),r>=S&&S>0&&"object"===typeof t)return H(t)?"[Array]":"[Object]";var M=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(t+1),n)}}(s,r);if("undefined"===typeof o)o=[];else if($(o,t)>=0)return"[Circular]";function I(t,n,i){if(n&&(o=_.call(o)).push(n),i){var a={depth:s.depth};return U(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"===typeof t&&!B(t)){var z=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=Q(t,I);return"[Function"+(z?": "+z:" (anonymous)")+"]"+(G.length>0?" { "+E.call(G,", ")+" }":"")}if(V(t)){var ee=A?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!==typeof t||A?ee:Y(ee)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var te="<"+x.call(String(t.nodeName)),ne=t.attributes||[],re=0;re<ne.length;re++)te+=" "+ne[re].name+"="+Z(N(ne[re].value),"double",s);return te+=">",t.childNodes&&t.childNodes.length&&(te+="..."),te+="</"+x.call(String(t.nodeName))+">"}if(H(t)){if(0===t.length)return"[]";var oe=Q(t,I);return M&&!function(e){for(var t=0;t<e.length;t++)if($(e[t],"\n")>=0)return!1;return!0}(oe)?"["+J(oe,M)+"]":"[ "+E.call(oe,", ")+" ]"}if(function(e){return"[object Error]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t)){var ie=Q(t,I);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+E.call(ie,", ")+" }":"{ ["+String(t)+"] "+E.call(k.call("[cause]: "+I(t.cause),ie),", ")+" }"}if("object"===typeof t&&u){if(F&&"function"===typeof t[F]&&P)return P(t,{depth:S-r});if("symbol"!==u&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==typeof e)return!1;try{i.call(e);try{l.call(e)}catch(te){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ae=[];return a&&a.call(t,(function(e,n){ae.push(I(n,t,!0)+" => "+I(e,t))})),X("Map",i.call(t),ae,M)}if(function(e){if(!l||!e||"object"!==typeof e)return!1;try{l.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var se=[];return c&&c.call(t,(function(e){se.push(I(e,t))})),X("Set",l.call(t),se,M)}if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(te){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return K("WeakMap");if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(te){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return K("WeakSet");if(function(e){if(!h||!e||"object"!==typeof e)return!1;try{return h.call(e),!0}catch(t){}return!1}(t))return K("WeakRef");if(function(e){return"[object Number]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t))return Y(I(Number(t)));if(function(e){if(!e||"object"!==typeof e||!j)return!1;try{return j.call(e),!0}catch(t){}return!1}(t))return Y(I(j.call(t)));if(function(e){return"[object Boolean]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t))return Y(p.call(t));if(function(e){return"[object String]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t))return Y(I(String(t)));if(!function(e){return"[object Date]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t)&&!B(t)){var ue=Q(t,I),le=L?L(t)===Object.prototype:t instanceof Object||t.constructor===Object,ce=t instanceof Object?"":"null prototype",de=!le&&T&&Object(t)===t&&T in t?y.call(W
1(t),8,-1):ce?"Object":"",fe=(le||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||ce?"["+E.call(k.call([],de||[],ce||[]),": ")+"] ":"");return 0===ue.length?fe+"{}":M?fe+"{"+J(ue,M)+"}":fe+"{ "+E.call(ue,", ")+" }"}return String(t)};var z=Object.prototype.hasOwnProperty||function(e){return e in this};function U(e,t){return z.call(e,t)}function W(e){return g.call(e)}function $(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 q(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return q(y.call(e,0,t.maxStringLength),t)+r}return Z(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}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":"")+w.call(t.toString(16))}function Y(e){return"Object("+e+")"}function K(e){return e+" { ? }"}function X(e,t,n,r){return e+" ("+t+") {"+(r?J(n,r):E.call(n,", "))+"}"}function J(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+E.call(e,","+n)+"\n"+t.prev}function Q(e,t){var n=H(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=U(e,o)?t(e[o],e):""}var i,a="function"===typeof M?M(e):[];if(A){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)U(e,u)&&(n&&String(Number(u))===u&&u<e.length||A&&i["$"+u]instanceof Symbol||(C.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"===typeof M)for(var l=0;l<a.length;l++)R.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}},21827:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(82649),o=function(e){return e};function i(e){void 0===e&&(e=o);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+";";if((t=t||document.createElement("i")).innerHTML=r,59===(n=t.textContent).charCodeAt(n.length-1)&&"semi"!==e)return!1;return n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(37452),o=n(93580),i=n(46195),a=n(79480),s=n(7961),u=n(89435);e.exports=function(e,t){var n,i,a={};t||(t={});for(i in f)n=t[i],a[i]=null===n||void 0===n?f[i]:n;(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start);return function(e,t){var n,i,a,f,x,C,k,E,_,S,j,M,O,A,T,R,L,D,P,I=t.additional,F=t.nonTerminated,Z=t.text,N=t.reference,H=t.warning,B=t.textContext,V=t.referenceContext,z=t.warningContext,U=t.position,W=t.indent||[],$=e.length,q=0,G=-1,Y=U.column||1,K=U.line||1,X="",J=[];"string"===typeof I&&(I=I.charCodeAt(0));R=Q(),E=H?ee:d,q--,$++;for(;++q<$;)if(10===x&&(Y=W[G]||1),38===(x=e.charCodeAt(q))){if(9===(k=e.charCodeAt(q+1))||10===k||12===k||32===k||38===k||60===k||k!==k||I&&k===I){X+=c(x),Y++;continue}for(M=O=q+1,P=O,35===k?(P=++M,88===(k=e.charCodeAt(P))||120===k?(A=p,P=++M):A=g):A=h,n="",j="",f="",T=v[A],P--;++P<$&&T(k=e.charCodeAt(P));)f+=c(k),A===h&&l.call(r,f)&&(n=f,j=r[f]);(a=59===e.charCodeAt(P))&&(P++,(i=A===h&&u(f))&&(n=f,j=i)),D=1+P-O,(a||F)&&(f?A===h?(a&&!j?E(5,1):(n!==f&&(D=1+(P=M+n.length)-M,a=!1),a||(_=n?1:3,t.attribute?61===(k=e.charCodeAt(P))?(E(_,D),j=null):s(k)?j=null:E(_,D):E(_,D))),C=j):(a||E(2,D),b(C=parseInt(f,m[A]))?(E(7,D),C=c(65533)):C in o?(E(6,D),C=o[C]):(S="",w(C)&&E(6,D),C>65535&&(S+=c((C-=65536)>>>10|55296),C=56320|1023&C),C=S+c(C))):A!==h&&E(4,D)),C?(te(),R=Q(),q=P-1,Y+=P-O+1,J.push(C),(L=Q()).offset++,N&&N.call(V,C,{start:R,end:L},e.slice(O-1,P)),R=L):(f=e.slice(O-1,P),X+=f,Y+=f.length,q=P-1)}else 10===x&&(K++,G++,Y=0),x===x?(X+=c(x),Y++):te();return J.join("");function Q(){return{line:K,column:Y,offset:q+(U.offset||0)}}function ee(e,t){var n=Q();n.column+=t,n.offset+=t,H.call(z,y[e],n,e)}function te(){X&&(J.push(X),Z&&Z.call(B,X,{start:R,end:Q()}),X="")}}(e,a)};var l={}.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={hexadecimal:16,decimal
1:10},v={};v.named=s,v[g]=i,v[p]=a;var y={};function b(e){return e>=55296&&e<=57343||e>1114111}function w(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}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,o,i,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof r&&null!==r&&r.hrtime?(e.exports=function(){return(t()-a)/1e6},n=r.hrtime,i=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),s=1e9*r.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)},23450:function(e){e.exports=function(){var e=[],t=[],n={},r={},o={};function i(e){return"string"===typeof e?new RegExp("^"+e+"$","i"):e}function a(e,t){return 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()}function s(e,t){return e.replace(/\$(\d{1,2})/g,(function(e,n){return t[n]||""}))}function u(e,t){return e.replace(t[0],(function(n,r){var o=s(t[1],arguments);return a(""===n?e[r-1]:n,o)}))}function l(e,t,r){if(!e.length||n.hasOwnProperty(e))return t;for(var o=r.length;o--;){var i=r[o];if(i[0].test(t))return u(t,i)}return t}function c(e,t,n){return function(r){var o=r.toLowerCase();return t.hasOwnProperty(o)?a(r,o):e.hasOwnProperty(o)?a(r,e[o]):l(o,r,n)}}function d(e,t,n,r){return function(r){var o=r.toLowerCase();return!!t.hasOwnProperty(o)||!e.hasOwnProperty(o)&&l(o,o,n)===o}}function f(e,t,n){return(n?t+" ":"")+(1===t?f.singular(e):f.plural(e))}return f.plural=c(o,r,e),f.isPlural=d(o,r,e),f.singular=c(r,o,t),f.isSingular=d(r,o,t),f.addPluralRule=function(t,n){e.push([i(t),n])},f.addSingularRule=function(e,n){t.push([i(e),n])},f.addUncountableRule=function(e){"string"!==typeof e?(f.addPluralRule(e,"$0"),f.addSingularRule(e,"$0")):n[e.toLowerCase()]=!0},f.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),o[e]=t,r[t]=e},[["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"],["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"]].forEach((function(e){return f.addIrregularRule(e[0],e[1])})),[[/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"]].forEac
vendor: 8,192 bytes, line 1
1h((function(e){return f.addPluralRule(e[0],e[1])})),[[/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"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|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"]].forEach((function(e){return f.addSingularRule(e[0],e[1])})),["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","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[e\xe9]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(f.addUncountableRule),f}()},28325:function(e,t,n){var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(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,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=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 new 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 o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var u in n)n.hasOwnProperty(u)&&(a[u]=n[u]);n.hasOwnProperty(s)||(a[s]=i[s])}var l=r[e];return r[e]=a,o.languages.DFS(o.languages,(function(t,n){n===l&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var u=t[s],l=o.util.type(u);"Object"!==l||i[a(u)]?"Array"!==l||i[a(u)]||(i[a(u)]=!0,e(u,n,s,i)):(i[a(u)]=!0,e(u,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.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'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=o.util.getLanguage(t),a=o.languages[i];o.util.setLanguage(t,i);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&o.util.setLanguage(s,i);var u={element:t,language:i,grammar:a,code:t.textContent};function l(e){u.highlightedCode=e,o.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,o.hooks.run("after-highlight",u),o.hooks.run("complete",u),r&&r.call(u.element)}if(o.hooks.run("before-sanity-check",u),(s=u.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!u.code)return o.hooks.run("complete",u),void(r&&r.call(u.element));if(o.hooks.run("before-highlight",u),u.grammar)if(n&&e.Worker){var c=new Worker(o.filename);c.onmessage=function(e){l(e.data)},c.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else l(o.highlight(u.code,u.grammar,u.language));else l(o.util.encode(u.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.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 o=new u;return l(o,o.head,e),s(e,o,t,o.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(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 o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function s(e,t,n,r,u,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var h=n[f];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(d&&d.cause==f+","+p)return;var g=h[p],m=g.inside,v=!!g.lookbehind,y=!!g.greedy,b=g.alias;if(y&&!g.pattern.global){var w=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,w+"g")}for(var x=g.pattern||g,C=r.next,k=u;C!==t.tail&&!(d&&k>=d.reach);k+=C.value.length,C=C.next){var E=C.value;if(t.length>e.length)return;if(!(E instanceof i)){var _,S=1;if(y){if(!(_=a(x,k,e,v))||_.index>=e.length)break;var j=_.index,M=_.index+_[0].length,O=k;for(O+=C.value.length;j>=O;)O+=(C=C.next).value.length;if(k=O-=C.value.length,C.value instanceof i)continue;for(var A=C;A!==t.tail&&(O<M||"string"===typeof A.value);A=A.next)S++,O+=A.value.length;S--,E=e.slice(k,O),_.index-=k}else if(!(_=a(x,0,E,v)))continue;j=_.index;var T=_[0],R=E.slice(0,j),L=E.slice(j+T.length),D=k+E.length;d&&D>d.reach&&(d.reach=D);var P=C.prev;if(R&&(P=l(t,P,R),k+=R.length),c(t,P,S),C=l(t,P,new i(f,m?o.tokenize(T,m):T,b,T)),L&&l(t,C,L),S>1){var I={cause:f+","+p,reach:D};s(e,t,n,C.prev,k,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function u(){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,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}
1function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.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 i={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(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var s="";for(var u in i.attributes)s+=" "+u+'="'+(i.attributes[u]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()}),!1),o):o;var d=o.util.currentScript();function f(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return o}("undefined"!==typeof window?window:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),"undefined"!==typeof n.g&&(n.g.Prism=r)},99560:function(e,t,n){"use strict";var r=n(66632),o=n(81674),i=n(57643),a="data";e.exports=function(e,t){var n=r(t),f=t,h=i;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&n.slice(0,4)===a&&s.test(t)&&("-"===t.charAt(4)?f=function(e){var t=e.slice(5).replace(u,d);return a+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(u.test(t))return e;"-"!==(t=t.replace(l,c)).charAt(0)&&(t="-"+t);return a+t}(t),h=o);return new h(f,t)};var s=/^data[-\w.:]+$/i,u=/-[a-z]/g,l=/[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),o=n(8289),i=n(5812),a=n(94397),s=n(67716),u=n(61805);e.exports=r([i,o,a,s,u])},67716:function(e,t,n){"use strict";var r=n(17e3),o=n(17596),i=r.booleanish,a=r.number,s=r.spaceSeparated;e.exports=o({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:a,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:i,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),o=n(17596),i=n(10855),a=r.boolean,s=r.overloadedBoolean,u=r.booleanish,l=r.number,c=r.spaceSeparated,d=r.commaSeparated;e.exports=o({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,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:l,colSpan:null,content:null,contentEditable:u,controls:a,controlsList:c,coords:l|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:l,hidden:a,high:l,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:l,manifest:null,max:null,maxLength:l,media:null,method:null,min:null,minLength:l,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxCl
1ick: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:l,pattern:null,ping:c,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:l,rowSpan:l,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:l,sizes:null,slot:null,span:l,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:d,start:l,step:null,style:null,tabIndex:l,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:u,width:l,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:l,borderColor:null,bottomMargin:l,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:l,leftMargin:l,link:null,longDesc:null,lowSrc:null,marginHeight:l,marginWidth:l,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:l,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:l,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:l,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),o=n(99607),i=n(81674);e.exports=function(e){var t,n,a=e.space,s=e.mustUseProperty||[],u=e.attributes||{},l=e.properties,c=e.transform,d={},f={};for(t in l)n=new i(t,c(u,t),l[t],a),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,f[r(t)]=t,f[r(n.attribute)]=t;return new o(d,f,a)}},81674:function(e,t,n){"use strict";var r=n(57643),o=n(17e3);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=i.length;function s(e,t,n,s){var l,c=-1;for(u(this,"space",s),r.call(this,e,t);++c<a;)u(this,l=i[c],(n&o[l])===o[l])}function u(e,t,n){n&&(e[t]=n)}},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),o=n(99607);e.exports=function(e){var t,n,i=e.length,a=[],s=[],u=-1;for(;++u<i;)t=e[u],a.push(t.property),s.push(t.normal),n=t.space;return new o(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);
1e.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),o=n(10855);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:o,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),o="undefined"===typeof window?n.g:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],u=o["cancel"+a]||o["cancelRequest"+a],l=0;!s&&l<i.length;l++)s=o[i[l]+"Request"+a],u=o[i[l]+"Cancel"+a]||o[i[l]+"CancelRequest"+a];if(!s||!u){var c=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,16.666666666666668-(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))}return f.push({handle:++d,callback:e,cancelled:!1}),d},u=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(o,e)},e.exports.cancel=function(){u.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=u}},57319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var r=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},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(67294),a=c(i),s=c(n(79941)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(66713)),l=c(n(34349));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var h=t.Alpha=function(e){function t(){var e,n,r;d(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=u.calculateChange(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},f(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),o(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,s.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:r({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return a.default.createElement("div",{style:n.alpha},a.default.createElement("div",{style:n.checkboard},a.default.createElement(l.default,{renderers:this.props.renderers})),a.default.createElement("div",{style:n.gradient}),a.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("div",{style:n.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:n.slider}))))}}]),t}(i.PureComponent||i.Component);t.default=h},34349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var r=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},o=n(67294),i=u(o),a=u(n(79941)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(45704));function u(e){return e&&e.__esModule?e:{default:e}}var l=t.Checkboard=function(e){var t=e.white,n=e.grey,u=e.size,l=e.renderers,c=e.borderRadius,d=e.boxShadow,f=e.children,h=(0,a.default)({default:{grid:{borderRadius:c,boxShadow:d,absolute:"0px 0px 0px 0px",background:"url("+s.get(t,n,u,l.canvas)+") center left"}}});return(0,o.isValidElement)(f)?i.default.cloneElement(f,r({},f.props,{style:r({},f.props.style,h.grid)})):i.default.createElement("div",{style:h.grid})};l.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=l},88288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var r=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},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(67294),a=l(i),s=l(n(23279)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(64809));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.ColorWrap=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(u.simpleCheckForValidColor(e)){var r=u.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(u.simpleCheckForValidColor(e)){var r=u.toState(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=r({},u.toState(e.color,0)),t.debounce=(0,s.default)((function(e,t,n){e(t,n)}),100),t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),a.default.createElement(e,r({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return r({},u.toState(e.color,t.oldHue))}}]),n}(i.PureComponent||i.Component);return t.propTypes=r({},e.propTypes),t.defaultProps=r({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=c},27747:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(67294),i=s(o),a=s(n(79941));function s(e){return e&&e.__esModule?e:{default:e}}var u=[38,40],l=1,c=t.EditableInput=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(t=e.keyCode,u.indexOf(t)>-1)){var o=n.getArrowOffset(),i=38===e.keyCode?r+o:r-o;n.setUpdatedValue(i,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n.inputId="rc-editable-input-"+l++,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,a.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return i.default.createElement("div",{style:t.wrap},i.default.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?i.default.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(o.PureComponent||o.Component);t.default=c},26358:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(67294),i=u(o),a=u(n(79941)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(33716));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var d=t.Hue=function(e){function t(){var e,n,r;l(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=s.calculateChange(e,r.props.direction,r.props.hsl,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},c(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,a.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return i.default.createElement("div",{style:r.hue},i.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),i.default.createElement("div",{style:r.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:r.slider}))))}}]),t}(o.PureComponent||o.Component);t.default=d},96207:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var r=s(n(67294)),o=s(n(45697)),i=s(n(79941)),a=s(n(82492));function s(e){return e&&e.__esModule?e:{default:e}}var u=t.Raised=function(e){var t=e.zDepth,n=e.radius,o=e.background,s=e.children,u=e.styles,l=void 0===u?{}:u,c=(0,i.default)((0,a.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},l),{"zDepth-1":1===t});return r.default.createElement("div",{style:c.wrap},r.default.createElement("div",{style:c.bg}),r.default.createElement("div",{style:c.content},s))};u.propTypes={background:o.default.string,zDepth:o.default.oneOf([0,1,2,3,4,5]),radius:o.default.number,styles:o.default.object},u.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},t.default=u},76659:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(67294),i=l(o),a=l(n(79941)),s=l(n(23493)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(37599));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Saturation=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e){"function"===typeof n.props.onChange&&n.throttle(n.props.onChange,u.calculateChange(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,s.default)((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,o=t.black,s=t.pointer,u=t.circle,l=(0,a.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:o,pointer:s,circle:u}},{custom:!!this.props.style});return i.default.createElement("div",{style:l.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),i.default.createElement("div",{style:l.white,className:"saturation-white"},i.default.createElement("div",{style:l.black,className:"saturation-black"}),i.default.createElement("div",{style:l.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:l.circle}))))}}]),t}(o.PureComponent||o.Component);t.default=c},62489:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var r=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},o=u(n(67294)),i=u(n(79941)),a=n(82538),s=u(n(34349));
1function u(e){return e&&e.__esModule?e:{default:e}}var l=t.Swatch=function(e){var t=e.color,n=e.style,a=e.onClick,u=void 0===a?function(){}:a,l=e.onHover,c=e.title,d=void 0===c?t:c,f=e.children,h=e.focus,p=e.focusStyle,g=void 0===p?{}:p,m="transparent"===t,v=(0,i.default)({default:{swatch:r({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,h?g:{})}}),y={};return l&&(y.onMouseOver=function(e){return l(t,e)}),o.default.createElement("div",r({style:v.swatch,onClick:function(e){return u(t,e)},title:d,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&u(t,e)}},y),f,m&&o.default.createElement(s.default,{borderRadius:v.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,a.handleFocus)(l)},1150:function(e,t,n){"use strict";var r=n(57319);Object.defineProperty(t,"xV",{enumerable:!0,get:function(){return d(r).default}});var o=n(34349);Object.defineProperty(t,"QN",{enumerable:!0,get:function(){return d(o).default}});var i=n(27747);Object.defineProperty(t,"Vm",{enumerable:!0,get:function(){return d(i).default}});var a=n(26358);Object.defineProperty(t,"PS",{enumerable:!0,get:function(){return d(a).default}});var s=n(96207);var u=n(76659);Object.defineProperty(t,"OQ",{enumerable:!0,get:function(){return d(u).default}});var l=n(88288);var c=n(62489);function d(e){return e&&e.__esModule?e:{default:e}}},66713:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r,o){var i=o.clientWidth,a=o.clientHeight,s="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(o.getBoundingClientRect().left+window.pageXOffset),c=u-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var d=void 0;if(d=c<0?0:c>a?1:Math.round(100*c/a)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var f=void 0;if(r!==(f=l<0?0:l>i?1:Math.round(100*l/i)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null}},45704:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},r=t.render=function(e,t,n,r){if("undefined"===typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null};t.get=function(e,t,o,i){var a=e+"-"+t+"-"+o+(i?"-server":"");if(n[a])return n[a];var s=r(e,t,o,i);return n[a]=s,s}},64809:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isvalidColorString=t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var r=i(n(66073)),o=i(n(68207));function i(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=0,n=0;return(0,r.default)(["r","g","b","a","h","s","l","v"],(function(r){if(e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)){/^\d+%$/.test(e[r])&&(n+=1)}})),t===n&&e};var a=t.toState=function(e,t){var n=e.hex?(0,o.default)(e.hex):(0,o.default)(e),r=n.toHsl(),i=n.toHsv(),a=n.toRgb(),s=n.toHex();return 0===r.s&&(r.h=t||0,i.h=t||0),{hsl:r,hex:"000000"===s&&0===a.a?"transparent":"#"+s,rgb:a,hsv:i,oldHue:e.h||t||r.h,source:e.source}};t.isValidHex=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,o.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=a(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},t.isvalidColorString=function(e,t){var n=e.replace("\xb0","");return(0,o.default)(t+" ("+n+")")._ok}},33716:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r){var o=r.clientWidth,i=r.clientHeight,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,u=a-(r.getBoundingClientRect().left+window.pageXOffset),l=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var c=void 0;if(l<0)c=359;else if(l>i)c=0;else{c=360*(-100*l/i+100)/100}if(n.h!==c)return{h:c,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var d=void 0;if(u<0)d=0;else if(u>o)d=359;else{d=360*(100*u/o)/100}if(n.h!==d)return{h:d,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}},82538:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var r,o=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},i=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(67294),s=(r=a)&&r.__esModule?r:{default:r};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var e,t,n;u(this,r);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=n=l(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(i))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},l(n,t)}return c(r,n),i(r,[{key:"render",value:function(){return s.default.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},s.default.createElement(e,o({},this.props,this.state)))}}]),r}(s.default.Component)}},37599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n){var r=n.getBoundingClientRect(),o=r.width,i=r.height,a="number"===typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"===typeof e.pageY?e.pageY:e.touches[0].pageY,u=a-(n.getBoundingClientRect().left+window.pageXOffset),l=s-(n.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>o&&(u=o),l<0?l=0:l>i&&(l=i);var c=u/o,d=1-l/i;return{h:t.h,s:c,v:d,a:t.a,source:"hsv"}}},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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=s(n(67294)),i=s(n(20640)),a=["text","onCopy","options","children"];function s(e){return e&&e.__esModule?e:{default:e}}function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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 h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function p(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new 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&&h(e,t)}(u,e);var t,n,r,s=p(u);function u(){var e;d(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(m(e=s.call.apply(s,[this].concat(n))),"onClick",(function(t){var n=e.props,r=n.text,a=n.onCopy,s=n.children,u=n.options,l=o.default.Children.only(s),c=(0,i.default)(r,u);a&&a(r,c),l&&l.props&&"function"===typeof l.props.onClick&&l.props.onClick(t)})),e}return t=u,(n=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=c(e,a),r=o.default.Children.only(t);return o.default.cloneElement(r,l(l({},n),{},{onClick:this.onClick}))}}])&&f(t.prototype,n),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.default.PureComponent);t.CopyToClipboard=b,y(b,"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},32512:function(e,t,n){"use strict";n.d(t,{uI:function(){return ce}});var r=n(67294),o=n(45697),i=n.n(o),a=n(97582),s=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function u(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=s.get(n);
vendor: 9,721 bytes, line 1
1r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!==typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof t?t:"string"===typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var l=[".DS_Store","Thumbs.db"];function c(e){return"object"===typeof e&&null!==e}function d(e){return g(e.target.files).map((function(e){return u(e)}))}function f(e){return(0,a.mG)(this,void 0,void 0,(function(){return(0,a.Jh)(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return u(e)}))]}}))}))}function h(e,t){return(0,a.mG)(this,void 0,void 0,(function(){var n;return(0,a.Jh)(this,(function(r){switch(r.label){case 0:return null===e?[2,[]]:e.items?(n=g(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(m))]):[3,2];case 1:return[2,p(v(r.sent()))];case 2:return[2,p(g(e.files).map((function(e){return u(e)})))]}}))}))}function p(e){return e.filter((function(e){return-1===l.indexOf(e.name)}))}function g(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function m(e){if("function"!==typeof e.webkitGetAsEntry)return y(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?w(t):y(e)}function v(e){return e.reduce((function(e,t){return(0,a.fl)(e,Array.isArray(t)?v(t):[t])}),[])}function y(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=u(t);return Promise.resolve(n)}function b(e){return(0,a.mG)(this,void 0,void 0,(function(){return(0,a.Jh)(this,(function(t){return[2,e.isDirectory?w(e):x(e)]}))}))}function w(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var i=this;t.readEntries((function(t){return(0,a.mG)(i,void 0,void 0,(function(){var i,s,u;return(0,a.Jh)(this,(function(a){switch(a.label){case 0:if(t.length)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=a.sent(),e(i),[3,4];case 3:return s=a.sent(),n(s),[3,4];case 4:return[3,6];case 5:u=Promise.all(t.map(b)),r.push(u),o(),a.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function x(e){return(0,a.mG)(this,void 0,void 0,(function(){return(0,a.Jh)(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=u(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var C=n(58363);function k(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(u){s=!0,o=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M="file-invalid-type",O="file-too-large",A="file-too-small",T="too-many-files",R=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:M,message:"File type must be ".concat(t)}},L=function(e){return{code:O,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},D=function(e){return{code:A,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},P={code:T,message:"Too many files"};function I(e,t){var n="application/x-moz-file"===e.type||(0,C.Z)(e,t);return[n,n?null:R(t)]}function F(e,t,n){if(Z(e.size))if(Z(t)&&Z(n)){if(e.size>n)return[!1,L(n)];if(e.size<t)return[!1,D(t)]}else{if(Z(t)&&e.size<t)return[!1,D(t)];if(Z(n)&&e.size>n)return[!1,L(n)]}return[!0,null]}function Z(e){return void 0!==e&&null!==e}function N(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles;return!(!i&&t.length>1||i&&a>=1&&t.length>a)&&t.every((function(e){var t=S(I(e,n),1)[0],i=S(F(e,r,o),1)[0];return t&&i}))}function H(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function B(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function V(e){e.preventDefault()}function z(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function U(e){return-1!==e.indexOf("Edge/")}function W(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return z(e)||U(e)}function $(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!H(e)&&t&&t.apply(void 0,[e].concat(r)),H(e)}))}}function q(){return"showOpenFilePicker"in window}function G(e){return e="string"===typeof e?e.split(","):e,[{description:"everything",accept:Array.isArray(e)?e.filter((function(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)})).reduce((function(e,t){return E(E({},e),{},_({},t,[]))}),{}):{}}]}var Y=["children"],K=["open"],X=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],J=["refKey","onChange","onClick"];function Q(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(u){s=!0,o=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){if(e){if("string"===typeof e)return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function re(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 oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var se=(0,r.forwardRef)((function(e,t){var n=e.children,o=ce(ae(e,Y)),i=o.open,a=ae(o,K);return(0,r.useImperativeHandle)(t,(function(){return{open:i}}),[i]),r.createElement(r.Fragment,null,n(oe(oe({},a),{},{open:i})))}));se.displayName="Dropzone";var ue={disabled:!1,getFilesFromEvent:function(e){return(0,a.mG)(this,void 0,void 0,(function(){return(0,a.Jh)(this,(function(t){return c(e)&&c(e.dataTransfer)?[2,h(e.dataTransfer,e.type)]:function(e){return c(e)&&c(e.target)}(e)?[2,d(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"===typeof e.getFile}))?[2,f(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1};
1se.defaultProps=ue,se.propTypes={children:i().func,accept:i().oneOfType([i().string,i().arrayOf(i().string)]),multiple:i().bool,preventDropOnDocument:i().bool,noClick:i().bool,noKeyboard:i().bool,noDrag:i().bool,noDragEventsBubbling:i().bool,minSize:i().number,maxSize:i().number,maxFiles:i().number,disabled:i().bool,getFilesFromEvent:i().func,onFileDialogCancel:i().func,onFileDialogOpen:i().func,useFsAccessApi:i().bool,onDragEnter:i().func,onDragLeave:i().func,onDragOver:i().func,onDrop:i().func,onDropAccepted:i().func,onDropRejected:i().func,validator:i().func};var le={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=oe(oe({},ue),e),n=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,s=t.minSize,u=t.multiple,l=t.maxFiles,c=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,h=t.onDrop,p=t.onDropAccepted,g=t.onDropRejected,m=t.onFileDialogCancel,v=t.onFileDialogOpen,y=t.useFsAccessApi,b=t.preventDropOnDocument,w=t.noClick,x=t.noKeyboard,C=t.noDrag,k=t.noDragEventsBubbling,E=t.validator,_=(0,r.useMemo)((function(){return"function"===typeof v?v:fe}),[v]),S=(0,r.useMemo)((function(){return"function"===typeof m?m:fe}),[m]),j=(0,r.useRef)(null),M=(0,r.useRef)(null),O=(0,r.useReducer)(de,le),A=ee(O,2),T=A[0],R=A[1],L=T.isFocused,D=T.isFileDialogActive,Z=T.draggedFiles,z=function(){D&&setTimeout((function(){M.current&&(M.current.files.length||(R({type:"closeDialog"}),S()))}),300)};(0,r.useEffect)((function(){return y&&q()?function(){}:(window.addEventListener("focus",z,!1),function(){window.removeEventListener("focus",z,!1)})}),[M,D,S,y]);var U=(0,r.useRef)([]),Y=function(e){j.current&&j.current.contains(e.target)||(e.preventDefault(),U.current=[])};(0,r.useEffect)((function(){return b&&(document.addEventListener("dragover",V,!1),document.addEventListener("drop",Y,!1)),function(){b&&(document.removeEventListener("dragover",V),document.removeEventListener("drop",Y))}}),[j,b]);var K=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),we(e),U.current=[].concat(Q(U.current),[e.target]),B(e)&&Promise.resolve(i(e)).then((function(t){H(e)&&!k||(R({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),c&&c(e))}))}),[i,c,k]),te=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),we(e);var t=B(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(n){}return t&&f&&f(e),!1}),[f,k]),ne=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),we(e);var t=U.current.filter((function(e){return j.current&&j.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),U.current=t,t.length>0||(R({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),B(e)&&d&&d(e))}),[j,d,k]),re=(0,r.useCallback)((function(e,t){var r=[],o=[];e.forEach((function(e){var t=ee(I(e,n),2),i=t[0],u=t[1],l=ee(F(e,s,a),2),c=l[0],d=l[1],f=E?E(e):null;if(i&&c&&!f)r.push(e);else{var h=[u,d];f&&(h=h.concat(f)),o.push({file:e,errors:h.filter((function(e){return e}))})}})),(!u&&r.length>1||u&&l>=1&&r.length>l)&&(r.forEach((function(e){o.push({file:e,errors:[P]})})),r.splice(0)),R({acceptedFiles:r,fileRejections:o,type:"setFiles"}),h&&h(r,o,t),o.length>0&&g&&g(o,t),r.length>0&&p&&p(r,t)}),[R,u,n,s,a,l,h,p,g,E]),se=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),we(e),U.current=[],B(e)&&Promise.resolve(i(e)).then((function(t){H(e)&&!k||re(t,e)})),R({type:"reset"})}),[i,re,k]),ce=(0,r.useCallback)((function(){if(y&&q()){R({type:"openDialog"}),_();var e={multiple:u,types:G(n)};window.showOpenFilePicker(e).then((function(e){return i(e)})).then((function(e){return re(e,null)})).catch((function(e){return S(e)})).finally((function(){return R({type:"closeDialog"})}))}else M.current&&(R({type:"openDialog"}),_(),M.current.value=null,M.current.click())}),[R,_,S,y,re,n,u]),he=(0,r.useCallback)((function(e){j.current&&j.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),ce()))}),[j,M,ce]),pe=(0,r.useCallback)((function(){R({type:"focus"})}),[]),ge=(0,r.useCallback)((function(){R({type:"blur"})}),[]),me=(0,r.useCallback)((function(){w||(W()?setTimeout(ce,0):ce())}),[M,w,ce]),ve=function(e){return o?null:e},ye=function(e){return x?null:ve(e)},be=function(e){return C?null:ve(e)},we=function(e){k&&e.stopPropagation()},xe=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,i=e.onKeyDown,a=e.onFocus,s=e.onBlur,u=e.onClick,l=e.onDragEnter,c=e.onDragOver,d=e.onDragLeave,f=e.onDrop,h=ae(e,X);return oe(oe(ie({onKeyDown:ye($(i,he)),onFocus:ye($(a,pe)),onBlur:ye($(s,ge)),onClick:ve($(u,me)),onDragEnter:be($(l,K)),onDragOver:be($(c,te)),onDragLeave:be($(d,ne)),onDrop:be($(f,se)),role:"string"===typeof r&&""!==r?r:"button"},n,j),o||x?{}:{tabIndex:0}),h)}}),[j,he,pe,ge,me,K,te,ne,se,x,C,o]),Ce=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),ke=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,o=e.onChange,i=e.onClick,a=ae(e,J),s=ie({accept:n,multiple:u,type:"file",style:{display:"none"},onChange:ve($(o,se)),onClick:ve($(i,Ce)),autoComplete:"off",tabIndex:-1},r,M);return oe(oe({},s),a)}}),[M,n,u,se,o]),Ee=Z.length,_e=Ee>0&&N({files:Z,accept:n,minSize:s,maxSize:a,multiple:u,maxFiles:l}),Se=Ee>0&&!_e;return oe(oe({},T),{},{isDragAccept:_e,isDragReject:Se,isFocused:L&&!o,getRootProps:xe,getInputProps:ke,rootRef:j,inputRef:M,open:ve(ce)})}function de(e,t){switch(t.type){case"focus":return oe(oe({},e),{},{isFocused:!0});case"blur":return oe(oe({},e),{},{isFocused:!1});case"openDialog":return oe(oe({},le),{},{isFileDialogActive:!0});case"closeDialog":return oe(oe({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return oe(oe({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return oe(oe({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return oe({},le);default:return e}}function fe(){}},60769:function(e,t,n){"use strict";n.d(t,{a:function(){return V},j:function(){return z}});var r=n(67294),o=n(45697),i=n.n(o),a={grad:.9,turn:360,rad:360/(2*Math.PI)},s=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},u=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},l=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},c=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},d=function(e){return{r:l(e.r,0,255),g:l(e.g,0,255),b:l(e.b,0,255),a:l(e.a)}},f=function(e){return{r:u(e.r),g:u(e.g),b:u(e.b),a:u(e.a,3)}},h=/^#([0-9a-f]{3,8})$/i,p=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},g=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),a=i-Math.min(t,n,r),s=a?i===t?(n-r)/a:i===n?2+(r-t)/a:4+(t-n)/a:0;return{h:60*(s<0?s+6:s),s:i?a/i*100:0,v:i/255*100,a:o}},m=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),a=r*(1-n),s=r*(1-(t-i)*n),u=r*(1-(1-t+i)*n),l=i%6;return{r:255*[r,s,a,a,u,r][l],g:255*[u,r,r,s,a,a][l],b:255*[a,a,u,r,r,s][l],a:o}},v=function(e){return{h:c(e.h),s:l(e.s,0,100),l:l(e.l,0,100),a:l(e.a)}},y=function(e){return{h:u(e.h),s:u(e.s),l:u(e.l),a:u(e.a,3)}},b=function(e){return m((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},w=function(e){return{h:(t=g(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},x=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,C=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,k=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\
1s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,E=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_={string:[[function(e){var t=h.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?u(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?u(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=k.exec(e)||E.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:d({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=x.exec(e)||C.exec(e);if(!t)return null;var n,r,o=v({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(a[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return b(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=void 0===o?1:o;return s(t)&&s(n)&&s(r)?d({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,i=void 0===o?1:o;if(!s(t)||!s(n)||!s(r))return null;var a=v({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return b(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=void 0===o?1:o;if(!s(t)||!s(n)||!s(r))return null;var a=function(e){return{h:c(e.h),s:l(e.s,0,100),v:l(e.v,0,100),a:l(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return m(a)},"hsv"]]},S=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},j=function(e){return"string"==typeof e?S(e.trim(),_.string):"object"==typeof e&&null!==e?S(e,_.object):[null,void 0]},M=function(e,t){var n=w(e);return{h:n.h,s:l(n.s+100*t,0,100),l:n.l,a:n.a}},O=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},A=function(e,t){var n=w(e);return{h:n.h,s:n.s,l:l(n.l+100*t,0,100),a:n.a}},T=function(){function e(e){this.parsed=j(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return u(O(this.rgba),2)},e.prototype.isDark=function(){return O(this.rgba)<.5},e.prototype.isLight=function(){return O(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=f(this.rgba)).r,n=e.g,r=e.b,i=(o=e.a)<1?p(u(255*o)):"","#"+p(t)+p(n)+p(r)+i;var e,t,n,r,o,i},e.prototype.toRgb=function(){return f(this.rgba)},e.prototype.toRgbString=function(){return t=(e=f(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return y(w(this.rgba))},e.prototype.toHslString=function(){return t=(e=y(w(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=g(this.rgba),{h:u(e.h),s:u(e.s),v:u(e.v),a:u(e.a,3)};var e},e.prototype.invert=function(){return R({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),R(M(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),R(M(this.rgba,-e))},e.prototype.grayscale=function(){return R(M(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),R(A(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),R(A(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?R({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):u(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=w(this.rgba);return"number"==typeof e?R({h:e,s:t.s,l:t.l,a:t.a}):u(t.h)},e.prototype.isEqual=function(e){return this.toHex()===R(e).toHex()},e}(),R=function(e){return e instanceof T?e:new T(e)},L=[];var D=n(14461),P=n.n(D),I={"3d":r.createElement("path",{d:"M18 14.625V3.375L9 0 0 3.375v11.25L9 18l9-3.375zM9 2.136l5.918 2.22-5.98 2.242-5.919-2.22L9 2.137zM2 13.239V5.065l6.438 2.414v8.174L2 13.24zM9.438 15.7L16 13.239V5.018l-6.563 2.46V15.7z",transform:"translate(15 10)",fillRule:"evenodd"}),acrobat:r.createElement("path",{d:"M10.15 1.095C9.938.33 9.42-.051 8.984.005c-.528.068-1.09.382-1.314.876-.63 1.416.685 5.582.887 6.279-1.28 3.863-5.66 11.5-7.806 12.017-.045-.505.225-1.965 3.055-3.785.146-.157.315-.348.393-.472-2.392 1.168-5.492 3.044-3.628 4.448.102.079.259.146.439.213 1.426.528 3.425-1.201 5.435-5.121 2.213-.73 3.999-1.28 6.526-1.662 2.762 1.875 4.616 2.257 5.874 1.774.348-.135.898-.573 1.055-1.145-1.022 1.258-3.414.382-5.323-.82 1.763-.191 3.582-.303 4.369-.056 1 .314.965.808.954.876.079-.27.191-.708-.022-1.056-.842-1.37-4.706-.573-6.11-.427-2.212-1.336-3.74-3.717-4.358-5.436.573-2.212 1.19-3.818.742-5.413zm-.954 4.638C8.826 4.42 8.309 1.5 9.14.556c1.628.932.618 3.144.056 5.177zm3.044 6.514c-2.134.393-3.583.944-5.66 1.764.617-1.202 1.785-4.268 2.346-6.29.787 1.573 1.741 3.111 3.314 4.526z",transform:"translate(14 9)",fillRule:"evenodd"}),audio:r.createElement("path",{d:"M.25 4.75v4.5h3L7 13V1L3.25 4.75h-3zM10.375 7A3.375 3.375 0 0 0 8.5 3.977v6.037A3.355 3.355 0 0 0 10.375 7zM8.5.421v1.545A5.254 5.254 0 0 1 12.25 7a5.254 5.254 0 0 1-3.75 5.032v1.545A6.747 6.747 0 0 0 13.75 7 6.747 6.747 0 0 0 8.5.421z",transform:"translate(17 12)",fillRule:"evenodd"}),binary:r.createElement("path",{d:"M2.338 6.112c1.192 0 1.928-1.072 1.928-2.68 0-1.56-.576-2.504-1.8-2.504C1.274.928.538 2 .538 3.608c0 1.56.576 2.504 1.8 2.504zM1.61 3.408c0-1.008.24-1.568.776-1.568.376 0 .616.336.728.888l-1.504.776v-.096zM2.418 5.2c-.368 0-.608-.32-.72-.856l1.496-.768v.056c0 1.008-.24 1.568-.776 1.568zm7.03.8l.088-.944H8.36V.896L7.272.984v.592l-1.184.112.024.824h1.16v2.544h-1.32V6zm5.199 0l.088-.944h-1.176V.896L12.47.984v.592l-1.184.112.024.824h1.16v2.544h-1.32V6zM4.25 14l.088-.944H3.162v-4.16l-1.088.088v.592L.89 9.688l.024.824h1.16v2.544H.754V14zm5.198 0l.088-.944H8.36v-4.16l-1.088.088v.592l-1.184.112.024.824h1.16v2.544h-1.32V14zm3.287.112c1.192 0 1.928-1.072 1.928-2.68 0-1.56-.576-2.504-1.8-2.504-1.192 0-1.928 1.072-1.928 2.68 0 1.56.576 2.504 1.8 2.504zm-.728-2.704c0-1.008.24-1.568.776-1.568.376 0 .616.336.728.888l-1.504.776v-.096zm.808 1.792c-.368 0-.608-.32-.72-.856l1.496-.768v.056c0 1.008-.24 1.568-.776 1.568z",transform:"translate(16 11)",fillRule:"evenodd"}),code:r.createElement("path",{d:"M4.078 13.67c-1.875-.527-2.812-1.738-2.812-3.634V9.49C1.266 8.437.844 7.911 0 7.911V6.138c.844 0 1.266-.529 1.266-1.586v-.64c.015-.938.257-1.696.726-2.274C2.466 1.06 3.162.64 4.078.38l.492 1.375c-.656.25-.997.95-1.023 2.102v.695c0 1.167-.482 1.99-1.445 2.469.963.479 1.445 1.304 1.445 2.476v.688c.026 1.15.367 1.851 1.023 2.101l-.492 1.383zm7.844 0c1.875-.527 2.812-1.738 2.812-3.634V9.49c0-1.052.422-1.578 1.266-1.578V6.138c-.844 0-1.266-.529-1.266-1.586v-.64c-.015-.938-.257-1.696-.726-2.274-.474-.578-1.17-.998-2.086-1.258l-.492 1.375c.656.25.997.95 1.023 2.102v.695c0 1.167.482 1.99 1.445 2.469-.963.479-1.445 1.304-1.445 2.476v.688c-.026 1.15-.367 1.851-1.023 2.101l.492
11.383z",transform:"translate(16 13)",fillRule:"evenodd"}),code2:r.createElement("path",{d:"M7.4 10.6L2.8 6l4.6-4.6L6 0 0 6l6 6 1.4-1.4zm5.2 0L17.2 6l-4.6-4.6L14 0l6 6-6 6-1.4-1.4z",transform:"translate(14 14)",fillRule:"evenodd"}),compressed:r.createElement("path",{d:"M.25 0A.25.25 0 0 0 0 .25v1.5c0 .138.112.25.25.25h1.5A.25.25 0 0 0 2 1.75V.25A.25.25 0 0 0 1.75 0H.25zM1 17a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1H1zm0 4v3h2v-3H1zM2 2.25A.25.25 0 0 1 2.25 2h1.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.5A.25.25 0 0 1 2 3.75v-1.5zM.25 4a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h1.5A.25.25 0 0 0 2 5.75v-1.5A.25.25 0 0 0 1.75 4H.25zM2 6.25A.25.25 0 0 1 2.25 6h1.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.5A.25.25 0 0 1 2 7.75v-1.5zM.25 8a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h1.5A.25.25 0 0 0 2 9.75v-1.5A.25.25 0 0 0 1.75 8H.25zM2 10.25a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5zM.25 12a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h1.5a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25H.25zM2 14.25a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5z",transform:"translate(15 1)",fillRule:"evenodd"}),document:r.createElement("path",{d:"M12 4H0v2h12V4zM0 10h18V8H0v2zM0 0v2h18V0H0z",transform:"translate(15 15)",fillRule:"evenodd"}),drive:r.createElement("path",{d:"M2.199.289A.5.5 0 0 1 2.652 0h8.696a.5.5 0 0 1 .453.289l1.867 4a.5.5 0 0 1-.453.711H.785a.5.5 0 0 1-.453-.711l1.867-4zM13 6H1a.752.752 0 0 0-.75.75v4.5c0 .412.338.75.75.75h12c.412 0 .75-.338.75-.75v-4.5A.752.752 0 0 0 13 6zm-9.75 4.5c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5 1.5.675 1.5 1.5-.675 1.5-1.5 1.5z",transform:"translate(17 13)",fillRule:"evenodd"}),font:r.createElement("path",{d:"M3.722 8.702l-.686 1.89c-.053.14-.094.28-.123.421-.03.135-.044.252-.044.352 0 .304.097.527.29.668.2.14.501.21.905.21h.414V13H.083v-.756h.343c.176 0 .325-.018.448-.053a.81.81 0 0 0 .334-.22c.1-.105.193-.249.281-.43.094-.182.197-.416.308-.704L5.787.15h1.406l4.07 11.136c.07.187.14.343.21.466.077.123.165.222.264.298.1.07.214.12.343.15.129.03.281.044.457.044h.237V13H7.826v-.756h.413c.72 0 1.081-.287 1.081-.862 0-.1-.014-.202-.044-.307a3.274 3.274 0 0 0-.105-.36l-.72-2.013H3.72zM7.009 4.65c-.188-.533-.36-1.031-.519-1.494a15.92 15.92 0 0 1-.378-1.354 7.12 7.12 0 0 1-.15.633 16.95 16.95 0 0 1-.395 1.283c-.082.229-.175.484-.28.765L4.063 7.796h4.061L7.009 4.65zm8.411 5.74c0 .562.117.984.351 1.265.24.275.61.413 1.108.413.363 0 .691-.059.984-.176.3-.117.551-.284.756-.5.211-.218.372-.481.483-.792.112-.31.168-.656.168-1.037V8.104l-1.152.053c-.51.023-.937.088-1.283.193-.34.1-.615.243-.826.43a1.546 1.546 0 0 0-.457.678c-.088.27-.132.58-.132.931zm2.18-6.32c-.346 0-.627.05-.844.15a1.182 1.182 0 0 0-.501.404 1.594 1.594 0 0 0-.237.624c-.041.24-.062.5-.062.782-.498 0-.879-.085-1.143-.255-.257-.17-.386-.463-.386-.879 0-.31.085-.574.255-.79.17-.218.401-.393.694-.528.299-.14.644-.243 1.037-.308a7.76 7.76 0 0 1 1.257-.097c.55 0 1.031.056 1.441.167.41.106.753.282 1.029.528.275.246.48.568.615.967.14.392.21.876.21 1.45v4.667c0 .252.021.46.062.624a.928.928 0 0 0 .194.395c.088.1.202.17.343.211.146.041.319.062.518.062h.053V13H19.7l-.281-1.547h-.15c-.187.252-.369.483-.544.694-.176.211-.37.393-.58.545-.211.152-.452.27-.721.352a3.053 3.053 0 0 1-.958.131c-.399 0-.77-.058-1.116-.175a2.369 2.369 0 0 1-.888-.519 2.516 2.516 0 0 1-.58-.896c-.14-.364-.211-.791-.211-1.284 0-.955.34-1.664 1.02-2.127.68-.462 1.707-.714 3.084-.755l1.495-.053V6.285a6.93 6.93 0 0 0-.053-.888 1.778 1.778 0 0 0-.229-.703 1.14 1.14 0 0 0-.51-.457c-.216-.111-.51-.167-.878-.167z",transform:"translate(13 12)",fillRule:"evenodd"}),image:r.createElement("path",{d:"M13 0L9.25 5l2.85 3.8-1.6 1.2C8.81 7.75 6 4 6 4l-6 8h22L13 0z",transform:"translate(13 14)",fillRule:"evenodd"}),presentation:r.createElement("path",{d:"M2 4H0v10c0 1.1.9 2 2 2h14v-2H2V4zm16-4H6C4.9 0 4 .9 4 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 10H6V2h12v8z",transform:"matrix(-1 0 0 1 34 12)",fillRule:"evenodd"}),settings:r.createElement("path",{d:"M13.572 8.735c.03-.24.053-.48.053-.735s-.023-.495-.053-.735l1.583-1.237a.378.378 0 0 0 .09-.48l-1.5-2.595a.377.377 0 0 0-.457-.165l-1.868.75a5.48 5.48 0 0 0-1.268-.735L9.868.815A.366.366 0 0 0 9.5.5h-3a.366.366 0 0 0-.367.315l-.285 1.988a5.762 5.762 0 0 0-1.268.735l-1.868-.75a.366.366 0 0 0-.457.165l-1.5 2.595a.37.37 0 0 0 .09.48l1.583 1.237c-.03.24-.053.488-.053.735 0 .248.022.495.053.735L.845 9.973a.378.378 0 0 0-.09.48l1.5 2.595c.09.165.292.225.458.165l1.867-.75c.39.3.81.547 1.268.735l.285 1.987c.022.18.18.315.367.315h3a.366.366 0 0 0 .367-.315l.285-1.988a5.762 5.762 0 0 0 1.268-.734l1.867.75c.173.067.368 0 .458-.165l1.5-2.595a.378.378 0 0 0-.09-.48l-1.582-1.238zM8 10.625A2.628 2.628 0 0 1 5.375 8 2.628 2.628 0 0 1 8 5.375 2.628 2.628 0 0 1 10.625 8 2.628 2.628 0 0 1 8 10.625z",transform:"translate(16 11)",fillRule:"evenodd"}),spreadsheet:r.createElement("path",{d:"M0 8h6V5H0v3zm0 5h6v-3H0v3zM0 3h6V0H0v3zm8 5h12V5H8v3zm0 5h12v-3H8v3zM8 0v3h12V0H8z",transform:"translate(14 14)",fillRule:"evenodd"}),vector:r.createElement("path",{d:"M14.5 2V1a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v1H3.937a2 2 0 1 0 0 1h3.936A9 9 0 0 0 3 11v1h2v-1a7.003 7.003 0 0 1 4.594-6.5
176A1 1 0 0 0 10.5 5h3a1 1 0 0 0 .906-.576A7.003 7.003 0 0 1 19 11v1h2v-1a9 9 0 0 0-4.873-8h3.936a2 2 0 1 0 0-1H14.5zm-1-1h-3v3h3V1zM2 1.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm19 1a1 1 0 1 0 2 0 1 1 0 0 0-2 0z",transform:"translate(12 14)",fillRule:"evenodd"}),video:r.createElement("path",{d:"M10.75 3.875V1.25A.752.752 0 0 0 10 .5H1a.752.752 0 0 0-.75.75v7.5c0 .412.338.75.75.75h9c.412 0 .75-.338.75-.75V6.125l3 3V.875l-3 3z",transform:"translate(17 14)"})};!function(e){e.forEach((function(e){L.indexOf(e)<0&&(e(T,_),L.push(e))}))}([function(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var i={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,a,s=r[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var u=this.toRgb(),l=1/0,c="black";if(!i.length)for(var d in n)i[d]=new e(n[d]).toRgb();for(var f in n){var h=(o=u,a=i[f],Math.pow(o.r-a.r,2)+Math.pow(o.g-a.g,2)+Math.pow(o.b-a.b,2));h<l&&(l=h,c=f)}return c}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}]);var F={color:i().string,extension:i().string,fold:i().bool,foldColor:i().string,glyphColor:i().string,gradientColor:i().string,gradientOpacity:i().number,labelColor:i().string,labelTextColor:i().string,labelUppercase:i().bool,radius:i().number,type:i().oneOf(["3d","acrobat","audio","binary","code","code2","compressed","document","drive","font","image","presentation","settings","spreadsheet","vector","video"])},Z=40,N=48,H={WIDTH:Z,HEIGHT:N,X_OFFSET:0},B=12,V=function(e){var t=e.color,n=void 0===t?"whitesmoke":t,o=e.extension,i=e.fold,a=void 0===i||i,s=e.foldColor,u=e.glyphColor,l=e.gradientColor,c=void 0===l?"white":l,d=e.gradientOpacity,f=void 0===d?.25:d,h=e.labelColor,p=e.labelTextColor,g=void 0===p?"white":p,m=e.labelUppercase,v=void 0!==m&&m,y=e.radius,b=void 0===y?4:y,w=e.type,x=P()();return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 "+Z+" "+N,width:"100%",style:{maxWidth:"100%"}},r.createElement("defs",null,r.createElement("clipPath",{id:"pageRadius"+x},r.createElement("rect",{x:H.X_OFFSET,y:"0",rx:b,ry:b,width:H.WIDTH,height:H.HEIGHT})),r.createElement("clipPath",{id:"foldCrop"},r.createElement("rect",{width:H.WIDTH,height:B,transform:"rotate(-45 0 "+B+")"})),r.createElement("linearGradient",{x1:"100%",y1:"0%",y2:"100%",id:"pageGradient"+x},r.createElement("stop",{stopColor:c,stopOpacity:f,offset:"0%"}),r.createElement("stop",{stopColor:c,stopOpacity:"0",offset:"66.67%"}))),r.createElement("g",{id:"file",clipPath:"url(#pageRadius"+x+")"},a?r.createElement(r.Fragment,null,r.createElement("path",{d:"M"+H.X_OFFSET+" 0 h "+(H.WIDTH-B)+" L "+(H.WIDTH+H.X_OFFSET)+" "+B+" v "+(H.HEIGHT-B)+" H "+H.X_OFFSET+" Z",fill:n}),r.createElement("path",{d:"M"+H.X_OFFSET+" 0 h "+(H.WIDTH-B)+" L "+(H.WIDTH+H.X_OFFSET)+" "+B+" v "+(H.HEIGHT-B)+" H "+H.X_OFFSET+" Z",fill:"url(#pageGradient"+x+")"})):r.createElement(r.Fragment,null,r.createElement("rect",{x:H.X_OFFSET,y:"0",width:H.WIDTH,height:H.HEIGHT,fill:n}),r.createElement("rect",{x:H.X_OFFSET,y:"0",width:H.WIDTH,height:H.HEIGHT,fill:"url(#pageGradient"+x+")"}))),a&&r.createElement("g",{transform:"translate(28 "+B+") rotate(-90)"},r.createElement("rect",{width:H.WIDTH,height:H.HEIGHT,fill:s||R(n).darken(.1).toHex(),rx:b,ry:b,clipPath:"url(#foldCrop)"})),o&&r.createElement(r.Fragment,null,r.createElement("g",{id:"label"},r.createElement("rect",{fill:h||R(n).darken(.3).toHex(),x:H.X_OFFSET,y:H.HEIGHT-14,width:H.WIDTH,height:14,clipPath:"url(#pageRadius"+x+")"})),r.createElement("g",{id:"labelText",transform:"translate("+H.X_OFFSET+" 34)"},r.createElement("text",{x:H.WIDTH/2,y:"10",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",fontSize:"9",fill:g,textAnchor:"middle",style:{fontWeight:"bold",textAlign:"center",pointerEvents:"none",textTransform:v?"uppercase":"none",userSelect:"none"}},o))),w&&r.createElement("g",{transform:"translate(-4 "+(o?0:6)+")",fill:u||R(n).darken(.15).toHex()},I[w]))};V.propTypes=F;var z={"3dm":{labelColor:"#8D1A11",type:"3d"},"3ds":{labelColor:"#5FB9AD",type:"3d"},"3g2":{type:"video"},"3gp":{type:"video"},"7zip":{type:"compressed"},aac:{type:"audio"},aep:{type:"video"},ai:{color:"#423325",gradientOpacity:0,labelColor:"#423325",labelTextColor:"#FF7F18",labelUppercase:!0,foldColor:"#FF7F18",radiu
1s:2},aif:{type:"audio"},aiff:{type:"audio"},asf:{type:"video"},asp:{type:"code"},aspx:{type:"code"},avi:{type:"video"},bin:{type:"binary"},bmp:{type:"image"},c:{type:"code"},cpp:{type:"code"},cs:{type:"code"},css:{type:"code"},csv:{type:"spreadsheet"},cue:{type:"document"},dll:{type:"settings"},dmg:{type:"drive"},doc:{color:"#2C5898",foldColor:"#254A80",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#2C5898",labelUppercase:!0,type:"document"},docx:{color:"#2C5898",foldColor:"#254A80",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#2C5898",labelUppercase:!0,type:"document"},dwg:{type:"vector"},dxf:{type:"vector"},eot:{type:"font"},eps:{type:"vector"},exe:{type:"settings"},flac:{type:"audio"},flv:{type:"video"},fnt:{type:"font"},fodp:{type:"presentation"},fods:{type:"spreadsheet"},fodt:{type:"document"},fon:{type:"font"},gif:{type:"image"},gz:{type:"compressed"},htm:{type:"code"},html:{type:"code"},indd:{color:"#4B2B36",gradientOpacity:0,labelColor:"#4B2B36",labelTextColor:"#FF408C",labelUppercase:!0,foldColor:"#FF408C",radius:2},ini:{type:"settings"},java:{type:"code"},jpeg:{type:"image"},jpg:{type:"image"},js:{labelColor:"#F7DF1E",type:"code"},json:{type:"code"},jsx:{labelColor:"#00D8FF",type:"code"},m4a:{type:"audio"},m4v:{type:"video"},max:{labelColor:"#5FB9AD",type:"3d"},md:{type:"document"},mid:{type:"audio"},mkv:{type:"video"},mov:{type:"video"},mp3:{type:"audio"},mp4:{type:"video"},mpeg:{type:"video"},mpg:{type:"video"},obj:{type:"3d"},odp:{type:"presentation"},ods:{type:"spreadsheet"},odt:{type:"document"},ogg:{type:"audio"},ogv:{type:"video"},otf:{type:"font"},pdf:{labelColor:"#D93831",type:"acrobat"},php:{labelColor:"#8892BE",type:"code"},pkg:{type:"3d"},plist:{type:"settings"},png:{type:"image"},ppt:{color:"#D14423",foldColor:"#AB381D",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#D14423",labelUppercase:!0,type:"presentation"},pptx:{color:"#D14423",foldColor:"#AB381D",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#D14423",labelUppercase:!0,type:"presentation"},pr:{type:"video"},ps:{type:"vector"},psd:{color:"#34364E",gradientOpacity:0,labelColor:"#34364E",labelTextColor:"#31C5F0",labelUppercase:!0,foldColor:"#31C5F0",radius:2},py:{labelColor:"#FFDE57",type:"code"},rar:{type:"compressed"},rb:{labelColor:"#BB271A",type:"code"},rm:{type:"video"},rtf:{type:"document"},scss:{labelColor:"#C16A98",type:"code"},sitx:{type:"compressed"},svg:{type:"vector"},swf:{type:"video"},sys:{type:"settings"},tar:{type:"compressed"},tex:{type:"document"},tif:{type:"image"},tiff:{type:"image"},ts:{labelColor:"#3478C7",type:"code"},ttf:{type:"font"},txt:{type:"document"},wav:{type:"audio"},webm:{type:"video"},wmv:{type:"video"},woff:{type:"font"},wpd:{type:"document"},wps:{type:"document"},xlr:{type:"spreadsheet"},xls:{color:"#1A754C",foldColor:"#16613F",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#1A754C",labelUppercase:!0,type:"spreadsheet"},xlsx:{color:"#1A754C",foldColor:"#16613F",glyphColor:"rgba(255,255,255,0.4)",labelColor:"#1A754C",labelUppercase:!0,type:"spreadsheet"},yml:{type:"code"},zip:{type:"compressed"},zipx:{type:"compressed"}}},54522:function(e,t,n){"use strict";n.d(t,{ZP:function(){return De}});var r=n(63366),o=n(87462),i=n(67294),a="data-focus-lock",s="data-focus-lock-disabled";function u(e,t){return function(e,t){var n=(0,i.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}var l={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},c=function(e){var t=e.children;return i.createElement(i.Fragment,null,i.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:l}),t,t&&i.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:l}))};c.propTypes={},c.defaultProps={children:null};var d=n(97582);function f(e){return e}function h(e,t){void 0===t&&(t=f);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;
1t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function p(e,t){return void 0===t&&(t=f),h(e,t)}var g=p({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),m=p(),v=p(),y=function(e){void 0===e&&(e={});var t=h(null);return t.options=(0,d.pi)({async:!0,ssr:!1},e),t}({async:!0}),b=[],w=i.forwardRef((function(e,t){var n,r=i.useState(),c=r[0],d=r[1],f=i.useRef(),h=i.useRef(!1),p=i.useRef(null),v=e.children,w=e.disabled,x=e.noFocusGuards,C=e.persistentFocus,k=e.crossFrame,E=e.autoFocus,_=(e.allowTextSelection,e.group),S=e.className,j=e.whiteList,M=e.hasPositiveIndices,O=e.shards,A=void 0===O?b:O,T=e.as,R=void 0===T?"div":T,L=e.lockProps,D=void 0===L?{}:L,P=e.sideCar,I=e.returnFocus,F=e.focusOptions,Z=e.onActivation,N=e.onDeactivation,H=i.useState({})[0],B=i.useCallback((function(){p.current=p.current||document&&document.activeElement,f.current&&Z&&Z(f.current),h.current=!0}),[Z]),V=i.useCallback((function(){h.current=!1,N&&N(f.current)}),[N]);(0,i.useEffect)((function(){w||(p.current=null)}),[]);var z=i.useCallback((function(e){var t=p.current;if(t&&t.focus){var n="function"===typeof I?I(t):I;if(n){var r="object"===typeof n?n:void 0;p.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[I]),U=i.useCallback((function(e){h.current&&g.useMedium(e)}),[]),W=m.useMedium,$=i.useCallback((function(e){f.current!==e&&(f.current=e,d(e))}),[]);var q=(0,o.Z)(((n={})[s]=w&&"disabled",n[a]=_,n),D),G=!0!==x,Y=G&&"tail"!==x,K=u([t,$]);return i.createElement(i.Fragment,null,G&&[i.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:w?-1:0,style:l}),M?i.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:w?-1:1,style:l}):null],!w&&i.createElement(P,{id:H,sideCar:y,observed:c,disabled:w,persistentFocus:C,crossFrame:k,autoFocus:E,whiteList:j,shards:A,onActivation:B,onDeactivation:V,returnFocus:z,focusOptions:F}),i.createElement(R,(0,o.Z)({ref:K},q,{className:S,onBlur:W,onFocus:U}),v),Y&&i.createElement("div",{"data-focus-guard":!0,tabIndex:w?-1:0,style:l}))}));w.propTypes={},w.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var x=w,C=n(94578),k=n(4942);var E=function(e,t){return function(n){var r,o=[];function a(){r=e(o.map((function(e){return e.props}))),t(r)}var s=function(e){function t(){return e.apply(this,arguments)||this}(0,C.Z)(t,e),t.peek=function(){return r};var s=t.prototype;return s.componentDidMount=function(){o.push(this),a()},s.componentDidUpdate=function(){a()},s.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),a()},s.render=function(){return i.createElement(n,this.props)},t}(i.PureComponent);return(0,k.Z)(s,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),s}},_=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},S=function(e){return Array.isArray(e)?e:[e]},j=function(e){return Array.isArray(e)?e[0]:e},M=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},O=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},A=function(e,t){return!e||O(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue)&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))}(e)&&t(M(e))},T=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=A(t,T.bind(void 0,e));return e.set(t,r),r},R=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!(e&&!O(e))||!!I(e)&&t(M(e))}(t,R.bind(void 0,e));return e.set(t,r),r},L=function(e){return e.dataset},D=function(e){return"INPUT"===e.tagName},P=function(e){return D(e)&&"radio"===e.type},I=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},F=function(e){var t;return Boolean(e&&(null===(t=L(e))||void 0===t?void 0:t.focusGuard))},Z=function(e){return!F(e)},N=function(e){return Boolean(e)},H=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},B=function(e,t,n){return _(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(H)},V=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),z="".concat(V,", [data-focus-guard]"),U=function(e,t){return _((e.shadowRoot||e).children).reduce((function(e,n){return e.concat(n.matches(t?z:V)?[n]:[],U(n))}),[])},W=function(e,t){return e.reduce((function(e,n){var r,o=U(n,t),i=(r=[]).concat.apply(r,o.map((function(e){return function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?W([e.contentDocument.body],t):[e]}(e,t)})));return e.concat(i,n.parentNode?_(n.parentNode.querySelectorAll(V)).filter((function(e){return e===n})):[])}),[])},$=function(e,t){return _(e).filter((function(e){return T(t,e)})).filter((function(e){return function(e){return!((D(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},q=function(e,t){return void 0===t&&(t=new Map),_(e).filter((function(e){return R(t,e)}))},G=function(e,t,n){return B($(W(e,n),t),!0,n)},Y=function(e,t){return B($(W(e),t),!1)},K=function(e,t){return $(function(e){var t=e.querySelectorAll("[".concat("data-autofocus-inside","]"));return _(t).map((function(e){return W([e])})).reduce((function(e,t){return e.concat(t)}),[])}(e),t)},X=function(e,t){return e.shadowRoot?X(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||_(e.children).some((function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&X(r,t)}return X(e,t)}))},J=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?J(t.shadowRoot):t instanceof HTMLIFrameElement&&function(e){try{return e()}catch(t){return}}((function(){return t.contentWindow.document}))?J(t.contentWindow.document):t}},Q=function(e){return e.parentNode?Q(e.parentNode):e}
1,ee=function(e){return S(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(a);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(_(Q(t).querySelectorAll("[".concat(a,'="').concat(n,'"]:not([').concat(s,'="disabled"])')))):[t]),e}),[])},te=function(e,t){return void 0===t&&(t=J(j(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&ee(e).some((function(e){return X(e,t)||function(e,t){return Boolean(_(e.querySelectorAll("iframe")).some((function(e){return function(e,t){return e===t}(e,t)})))}(e,t)}))},ne=function(e,t){return P(e)&&e.name?function(e,t){return t.filter(P).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},re=function(e){return e[0]&&e.length>1?ne(e[0],e):e[0]},oe=function(e,t){return e.length>1?e.indexOf(ne(e[t],e)):t},ie="NEW_FOCUS",ae=function(e,t,n,r){var o=e.length,i=e[0],a=e[o-1],s=F(n);if(!(n&&e.indexOf(n)>=0)){var u=void 0!==n?t.indexOf(n):-1,l=r?t.indexOf(r):u,c=r?e.indexOf(r):-1,d=u-l,f=t.indexOf(i),h=t.indexOf(a),p=function(e){var t=new Set;return e.forEach((function(n){return t.add(ne(n,e))})),e.filter((function(e){return t.has(e)}))}(t),g=(void 0!==n?p.indexOf(n):-1)-(r?p.indexOf(r):u),m=oe(e,0),v=oe(e,o-1);return-1===u||-1===c?ie:!d&&c>=0?c:u<=f&&s&&Math.abs(d)>1?v:u>=h&&s&&Math.abs(d)>1?m:d&&Math.abs(g)>1?c:u<=f?v:u>h?m:d?Math.abs(d)>1?c:(o+c+d)%o:void 0}},se=function(e,t,n){var r,o=e.map((function(e){return e.node})),i=q(o.filter((r=n,function(e){var t,n=null===(t=L(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return i&&i.length?re(i):re(q(t))},ue=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&ue(e.parentNode.host||e.parentNode,t),t},le=function(e,t){for(var n=ue(e),r=ue(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},ce=function(e,t,n){var r=S(e),o=S(t),i=r[0],a=!1;
1return o.filter(Boolean).forEach((function(e){a=le(a||e,e)||a,n.filter(Boolean).forEach((function(e){var t=le(i,e);t&&(a=!a||X(t,a)?t:le(t,a))}))})),a},de=function(e,t){var n=J(S(e).length>0?document:j(e).ownerDocument),r=ee(e).filter(Z),o=ce(n||e,e,r),i=new Map,a=Y(r,i),s=G(r,i).filter((function(e){var t=e.node;return Z(t)}));if(s[0]||(s=a)[0]){var u=Y([o],i).map((function(e){return e.node})),l=function(e,t){var n=new Map;return t.forEach((function(e){return n.set(e.node,e)})),e.map((function(e){return n.get(e)})).filter(N)}(u,s),c=l.map((function(e){return e.node})),d=ae(c,u,n,t);if(d===ie){var f=se(a,c,function(e,t){return e.reduce((function(e,n){return e.concat(K(n,t))}),[])}(r,i));return f?{node:f}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===d?d:l[d]}},fe=0,he=!1,pe=function(e,t,n){void 0===n&&(n={});var r,o,i=de(e,t);if(!he&&i){if(fe>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),he=!0,void setTimeout((function(){he=!1}),1);fe++,r=i.node,o=n.focusOptions,"focus"in r&&r.focus(o),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),fe--}},ge=function(e){var t=ee(e).filter(Z),n=ce(e,e,t),r=new Map,o=G([n],r,!0),i=G(t,r).filter((function(e){var t=e.node;return Z(t)})).map((function(e){return e.node}));return o.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:F(t)}}))};function me(e){var t=window.setImmediate;"undefined"!==typeof t?t(e):setTimeout(e,1)}var ve=function(){return document&&document.activeElement===document.body||function(e){void 0===e&&(e=document);var t=J(e);return!!t&&_(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(e){return X(e,t)}))}()},ye=null,be=null,we=null,xe=!1,Ce=function(){return!0};function ke(e,t,n,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==e)return;o=null}}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var Ee=function(e){return e&&"current"in e?e.current:e},_e=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Se=function(){var e,t=!1;if(ye){var n=ye,r=n.observed,o=n.persistentFocus,i=n.autoFocus,a=n.shards,s=n.crossFrame,u=n.focusOptions,l=r||we&&we.portaledElement,c=document&&document.activeElement;if(l){var d=[l].concat(a.map(Ee).filter(Boolean));if(c&&!function(e){return(ye.whiteList||Ce)(e)}(c)||(o||(s?Boolean(xe):"meanwhile"===xe)||!ve()||!be&&i)&&(l&&!(te(d)||c&&function(e,t){return t.some((function(t){return _e(e,t,t)}))}(c,d)||(e=c,we&&we.portaledElement===e))&&(document&&!be&&c&&!i?(c.blur&&c.blur(),document.body.focus()):(t=pe(d,be,{focusOptions:u}),we={})),xe=!1,be=document&&document.activeElement),document){var f=document&&document.activeElement,h=ge(d),p=h.map((function(e){return e.node})).indexOf(f);p>-1&&(h.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),ke(p,h.length,1,h),ke(p,-1,-1,h))}}}return t},je=function(e){Se()&&e&&(e.stopPropagation(),e.preventDefault())},Me=function(){return me(Se)},Oe=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(we={observerNode:n,portaledElement:t})},Ae=function(){xe="just",setTimeout((function(){xe="meanwhile"}),0)};g.assignSyncMedium(Oe),m.assignMedium(Me),v.assignMedium((function(e){return e({moveFocusInside:pe,focusInside:te})}));var Te=E((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!ye&&(document.addEventListener("focusin",je),document.addEventListener("focusout",Me),window.addEventListener("blur",Ae));var n=ye,r=n&&t&&t.id===n.id;ye=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(be=null,r&&n.observed===t.observed||t.onActivation(),Se(),me(Se)):(document.removeEventListener("focusin",je),document.removeEventListener("focusout",Me),window.removeEventListener("blur",Ae),be=null)}))((function(){return null})),Re=i.forwardRef((function(e,t){return i.createElement(x,(0,o.Z)({sideCar:Te,ref:t},e))})),Le=x.propTypes||{};Le.sideCar,(0,r.Z)(Le,["sideCar"]);Re.propTypes={};var De=Re},69921:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function v(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case h:return e;default:switch(e=e&&e.$$typeof){case c:case l:case d:case g:case p:case u:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=p,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.SuspenseList=h,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===l},t.isContextProvider=function(e){return v(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===g},t.isMemo=function(e){return v(e)===p},t.isPortal=function(e){return v(e)===o},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===f},t.isSuspenseList=function(e){return v(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===s||e===a||e===f||e===h||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},59864:function(e,t,n){"use strict";e.exports=n(69921)},25617:function(e,t,n){"use strict";n.d(t,{zt:function(){return c},I0:function(){return g},v9:function(){return b}});var r=n(67294),o=r.createContext(null);var i=function(e){e()},a=function(){return i};var s={notify:function(){},get:function(){return[]}};function u(e,t){var n,r=s;function o(){u.onStateChange&&u.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=a(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var u={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=s)},getListeners:function(){return r}};return u}var l="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;var c=function(e){var t=e.store,n=e.context,i=e.children,a=(0,r.useMemo)((function(){var e=u(t);return{store:t,subscription:e}}),[t]),s=(0,r.useMemo)((function(){return t.getState()}),[t]);l((function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,s]);var c=n||o;return r.createElement(c.Provider,{value:a},i)};n(8679),n(72973);n(87462);function d(){return(0,r.useContext)(o)}function f(e){void 0===e&&(e=o);var t=e===o?d:function(){return(0,r.useContext)(e)};return function(){return t().store}}var h=f();function p(e){void 0===e&&(e=o);var t=e===o?h:f(e);return function(){return t().dispatch}}var g=p(),m=function(e,t){return e===t};function v(e){void 0===e&&(e=o);var t=e===o?d:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=m);var o=t(),i=function(e,t,n,o){var i,a=(0,r.useReducer)((function(e){return e+1}),0)[1],s=(0,r.useMemo)((function(){return u(n,o)}),[n,o]),c=(0,r.useRef)(),d=(0,r.useRef)(),f=(0,r.useRef)(),h=(0,r.useRef)(),p=n.getState();try{if(e!==d.current||p!==f.current||c.current){var g=e(p);i=void 0!==h.current&&t(g,h.current)?h.current:g}else i=h.current}catch(m){throw c.current&&(m.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),m}return l((function(){d.current=e,f.current=p,h.current=i,c.current=void 0})),l((function(){function e(){try{var e=n.getState();if(e===f.current)return;var r=d.current(e);
1if(t(r,h.current))return;h.current=r,f.current=e}catch(m){c.current=m}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),i}(e,n,o.store,o.subscription);return(0,r.useDebugValue)(i),i}}var y,b=v(),w=n(73935);y=w.unstable_batchedUpdates,i=y},88359:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,s=60109,u=60110,l=60112,c=60113,d=60120,f=60115,h=60116,p=60121,g=60122,m=60117,v=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),u=b("react.context"),l=b("react.forward_ref"),c=b("react.suspense"),d=b("react.suspense_list"),f=b("react.memo"),h=b("react.lazy"),p=b("react.block"),g=b("react.server.block"),m=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case d:return e;default:switch(e=e&&e.$$typeof){case u:case l:case h:case f:case s:return e;default:return t}}case r:return t}}}},72973:function(e,t,n){"use strict";n(88359)},18612:function(e,t,n){"use strict";var r=n(67294),o=n(45697),i=n(11215),a=n(7869),s=n(17378),u=r.createElement;function l(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 o=i.highlight(e.value,e.language);e.markers&&e.markers.length>0&&(o=s(o,{markers:e.markers}));var l=0===o.length?e.value:o.map(a.depth(0)),c=u("code",n,l);return e.inline?c:u("pre",r,c)}l.propTypes={className:o.string,inline:o.bool,language:o.string.isRequired,value:o.string.isRequired,markers:o.arrayOf(o.oneOfType([o.number,o.shape({line:o.number.isRequired,className:o.string,component:o.oneOfType([o.node,o.func])})]))},l.defaultProps={className:"refractor",inline:!1},l.registerLanguage=function(e){return i.register(e)},l.hasLanguage=function(e){return i.registered(e)},e.exports=l},17378:function(e,t,n){"use strict";var r=n(67365),o=n(99294),i=n(96662);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lineNumber:1};return e.reduce((function(e,n){var r=t.lineNumber;if("text"===n.type){if(-1===n.value.indexOf("\n"))return n.lineStart=r,n.lineEnd=r,e.nodes.push(n),e;for(var o=n.value.split("\n"),i=0;i<o.length;i++){var s=0===i?t.lineNumber:++t.lineNumber;e.nodes.push({type:"text",value:i===o.length-1?o[i]:"".concat(o[i],"\n"),lineStart:s,lineEnd:s})}return e.lineNumber=t.lineNumber,e}if(n.children){var u=a(n.children,t),l=u.nodes[0],c=u.nodes[u.nodes.length-1];return n.lineStart=l?l.lineStart:r,n.lineEnd=c?c.lineEnd:r,n.children=u.nodes,e.lineNumber=u.lineNumber,e.nodes.push(n),e}return e.nodes.push(n),e}),{nodes:[],lineNumber:t.lineNumber})}function s(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}}function u(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 i,s=new i,u=new i,l=[];function c(e,t,r){l.push(t),r.forEach((function(t){e.has(t)||(e.set(t,Object.assign({},t,{children:[]})),t!==n&&l.push(t))}));for(var o=r.length;o--;){var i=e.get(r[o]),a=r[o+1],s=e.get(a)||t;-1===i.children.indexOf(s)&&i.children.push(s)}}o(n,(function(t,n){t.children||(t.lineStart<e?c(a,t,n):t.lineStart!==e?t.lineEnd>e&&l.some((function(e){return-1!==n.indexOf(e)}))&&c(u,t,n):c(s,t,n))}));var d=r(n,(function(e){return-1===l.indexOf(e)})),f=function(e){var t=e.get(n);return t?(o(t,(function(e,t){if(e.children)return e.lineStart=0,void(e.lineEnd=0);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(u),d?d.children:[]);return a.clear(),s.clear(),u.clear(),h}(t.line,e)}),e),u=[],l=0,c=0;c<t.length;c++){for(var d=t[c],f=a[l];f&&f.lineEnd<d.line;f=a[++l])u.push(f);for(var h=[],p=a[l];p&&p.lineEnd===d.line;p=a[++l])h.push(p);h.length>0&&u.push(s(h,d,n))}for(;l<a.length;)u.push(a[l++]);return u}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 u(a(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);function o(e){return function(t,n){return function(e,t,n){if(e.tagName){var i=e.properties&&Array.isArray(e.properties.className)?e.properties.className.join(" "):e.properties.className;return r.createElement(e.tagName,Object.assign({key:"fract-".concat(n,"-").concat(t)},e.properties,{className:i}),e.children&&e.children.map(o(n+1)))}return e.value}(t,n,e)}}t.depth=o},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),o=n(67294),i=n(53741);function a(e,t){var n=(0,o.useCallback)((function(){var n=new r.X(e),o=n.asObservable().pipe((0,i.x)());return[t?o.pipe(t):o,n]}),[]),a=(0,o.useRef)();a.current||(a.current=n());var s=a.current[0];(0,o.useEffect)((function(){a.current&&a.current[1].next(e)}),[e,a]);var u=(0,o.useRef)(!1);return(0,o.useEffect)((function(){return u.current&&(a.current||(a.current=n()),u.current=!1),function(){a.current&&(u.current=!0,a.current[1].complete(),a.current=void 0)}}),[]),s}var s=n(61688),u=n(68515),l=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,u.d)({refCount:!0,bufferSize:1}),(0,l.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){return function(e,t){var n=(0,o.useMemo)((function(){var n=f(e,c(t));return n.subscription.closed&&(n.subscription=n.observable.subscribe()),[function(){return n.currentValue},function(e){var t=n.observable.subscribe(e);return function(){t.unsubscribe()}}]}),[e]),r=n[0],i=n[1],a=(0,o.useRef)(!1);return(0,o.useEffect)((function(){var n=f(e,c(t));return a.current&&(n.subscription.closed&&(n.subscription=n.observable.subscribe()),a.current=!1),function(){a.current=!n.subscription.closed,n.subscription.unsubscribe()}}),[e]),(0,s.useSyncExternalStore)(i,r)}((0,o.useMemo)((function(){return c(e)}),t),n)}var p=n(21827),g=[];function m(e,t){void 0===t&&(t=g);var n=(0,o.useRef)();n.current||(n.current=(0,p.E)());var r=n.current,i=r[0],a=r[1],s=(0,o.useCallback)(e,t);return(0,o.useEffect)((function(){var e=i.pipe(s).subscribe();return function(){e.unsubscribe()}}),[i,a,s]),a}},58620:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),o=n(67294),i=n(57117),a=n(65342),s=n(1413),u=n(41451),l=n(45987),c=n(75464),d=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],f=function(){var 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=String(e).toLowerCase(),o=String(n.getOptionValue(t)).toLowerCase(),i=String(n.getOptionLabel(t)).toLowerCase();return o===r||i===r},h={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some((function(t){return f(e,t,r)}))||n.some((function(t){return f(e,t,r)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};n(73935),n(73469);var p=(0,o.forwardRef)((function(e,t){var n=function(e){var t=e.allowCreateWhileLoading,n=void 0!==t&&t,r=e.createOptionPosition,a=void 0===r?"last":r,f=e.formatCreateLabel,p=void 0===f?h.formatCreateLabel:f,g=e.isValidNewOption,m=void 0===g?h.isValidNewOption:g,v=e.getNewOptionData,y=void 0===v?h.getNewOptionData:v,b=e.onCreateOption,w=e.options,x=void 0===w?[]:w,C=e.onCh
1ange,k=(0,l.Z)(e,d),E=k.getOptionValue,_=void 0===E?i.g:E,S=k.getOptionLabel,j=void 0===S?i.b:S,M=k.inputValue,O=k.isLoading,A=k.isMulti,T=k.value,R=k.name,L=(0,o.useMemo)((function(){return m(M,(0,c.H)(T),x,{getOptionValue:_,getOptionLabel:j})?y(M,p(M)):void 0}),[p,y,j,_,M,m,x,T]),D=(0,o.useMemo)((function(){return!n&&O||!L?x:"first"===a?[L].concat((0,u.Z)(x)):[].concat((0,u.Z)(x),[L])}),[n,a,O,L,x]),P=(0,o.useCallback)((function(e,t){if("select-option"!==t.action)return C(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==L)C(e,t);else if(b)b(M);else{var r=y(M,M),o={action:"create-option",name:R,option:r};C((0,c.D)(A,[].concat((0,u.Z)((0,c.H)(T)),[r]),r),o)}}),[y,M,A,R,L,b,C,T]);return(0,s.Z)((0,s.Z)({},k),{},{options:D,onChange:P})}((0,a.u)(e));return o.createElement(i.S,(0,r.Z)({ref:t},n))}))},57117:function(e,t,n){"use strict";n.d(t,{S:function(){return le},b:function(){return $},g:function(){return q}});var r=n(87462),o=n(1413),i=n(15671),a=n(43144),s=n(60136),u=n(73568),l=n(41451),c=n(67294),d=n(75464),f=n(8814),h=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function p(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||h(r)&&h(o)))return!1;var r,o;return!0}var g=n(45987);for(var m={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},v=function(e){return(0,f.tZ)("span",(0,r.Z)({css:m},e))},y={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(l(a,n),".");if("menu"===t){var c=s?" disabled":"",d="".concat(u?"selected":"focused").concat(c);return"option ".concat(i," ").concat(d,", ").concat(l(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},b=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,u=e.selectProps,l=e.id,d=u.ariaLiveMessages,h=u.getOptionLabel,p=u.inputValue,g=u.isMulti,m=u.isOptionDisabled,b=u.isSearchable,w=u.menuIsOpen,x=u.options,C=u.screenReaderStatus,k=u.tabSelectsValue,E=u["aria-label"],_=u["aria-live"],S=(0,c.useMemo)((function(){return(0,o.Z)((0,o.Z)({},y),d||{})}),[d]),j=(0,c.useMemo)((function(){var e,n="";if(t&&S.onChange){var r=t.option,i=t.options,a=t.removedValue,u=t.removedValues,l=t.value,c=a||r||(e=l,Array.isArray(e)?null:e),d=c?h(c):"",f=i||u||void 0,p=f?f.map(h):[],g=(0,o.Z)({isDisabled:c&&m(c,s),label:d,labels:p},t);n=S.onChange(g)}return n}),[t,S,m,s,h]),M=(0,c.useMemo)((function(){var e="",t=n||r,o=!!(n&&s&&s.includes(n));if(t&&S.onFocus){var a={focused:t,label:h(t),isDisabled:m(t,s),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:s};e=S.onFocus(a)}return e}),[n,r,h,m,S,i,s]),O=(0,c.useMemo)((function(){var e="";if(w&&x.length&&S.onFilter){var t=C({count:i.length});e=S.onFilter({inputValue:p,resultsMessage:t})}return e}),[i,p,w,S,x,C]),A=(0,c.useMemo)((function(){var e="";if(S.guidance){var t=r?"value":w?"menu":"input";e=S.guidance({"aria-label":E,context:t,isDisabled:n&&m(n,s),isMulti:g,isSearchable:b,tabSelectsValue:k})}return e}),[E,n,r,g,m,b,w,S,s,k]),T="".concat(M," ").concat(O," ").concat(A),R=(0,f.tZ)(c.Fragment,null,(0,f.tZ)("span",{id:"aria-selection"},j),(0,f.tZ)("span",{id:"aria-context"},T)),L="initial-input-focus"===(null===t||void 0===t?void 0:t.action);return(0,f.tZ)(c.Fragment,null,(0,f.tZ)(v,{id:l},L&&R),(0,f.tZ)(v,{"aria-live":_,"aria-atomic":"false","aria-relevant":"additions text"},a&&!L&&R))},w
vendor: 6,727 bytes, line 1
1=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],
vendor: 7,829 bytes, line 1
1x=new RegExp("["+w.map((function(e){return e.letters})).join("")+"]","g"),C={},k=0;k<w.length;k++)for(var E=w[k],_=0;_<E.letters.length;_++)C[E.letters[_]]=E.base;var S=function(e){return e.replace(x,(function(e){return C[e]}))},j=function(e,t){void 0===t&&(t=p);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(S),M=function(e){return e.replace(/^\s+|\s+$/g,"")},O=function(e){return"".concat(e.label," ").concat(e.value)},A=["innerRef"];function T(e){var t=e.innerRef,n=(0,g.Z)(e,A),o=(0,d.r)(n,"onExited","in","enter","exit","appear");return(0,f.tZ)("input",(0,r.Z)({ref:t},o,{css:(0,f.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var R=["boxSizing","height","overflow","paddingRight","position"],L={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function D(e){e.preventDefault()}function P(e){e.stopPropagation()}function I(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function F(){return"ontouchstart"in window||navigator.maxTouchPoints}var Z=!("undefined"===typeof window||!window.document||!window.document.createElement),N=0,H={capture:!1,passive:!1};var B=function(){return document.activeElement&&document.activeElement.blur()},V={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function z(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,c.useRef)(!1),s=(0,c.useRef)(!1),u=(0,c.useRef)(0),l=(0,c.useRef)(null),f=(0,c.useCallback)((function(e,t){if(null!==l.current){var u=l.current,c=u.scrollTop,d=u.scrollHeight,f=u.clientHeight,h=l.current,p=t>0,g=d-f-c,m=!1;g>t&&a.current&&(r&&r(e),a.current=!1),p&&s.current&&(i&&i(e),s.current=!1),p&&t>g?(n&&!a.current&&n(e),h.scrollTop=d,m=!0,a.current=!0):!p&&-t>c&&(o&&!s.current&&o(e),h.scrollTop=0,m=!0,s.current=!0),m&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),h=(0,c.useCallback)((function(e){f(e,e.deltaY)}),[f]),p=(0,c.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),g=(0,c.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;f(e,t)}),[f]),m=(0,c.useCallback)((function(e){if(e){var t=!!d.s&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",g,t)}}),[g,p,h]),v=(0,c.useCallback)((function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",g,!1))}),[g,p,h]);return(0,c.useEffect)((function(){if(t){var e=l.current;return m(e),function(){v(e)}}}),[t,m,v]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,c.useRef)({}),i=(0,c.useRef)(null),a=(0,c.useCallback)((function(e){if(Z){var t=document.body,n=t&&t.style;if(r&&R.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&N<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(L).forEach((function(e){var t=L[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&F()&&(t.addEventListener("touchmove",D,H),e&&(e.addEventListener("touchstart",I,H),e.addEventListener("touchmove",P,H))),N+=1}}),[r]),s=(0,c.useCallback)((function(e){if(Z){var t=document.body,n=t&&t.style;N=Math.max(N-1,0),r&&N<1&&R.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&F()&&(t.removeEventListener("touchmove",D,H),e&&(e.removeEventListener("touchstart",I,H),e.removeEventListener("touchmove",P,H)))}}),[r]);return(0,c.useEffect)((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return(0,f.tZ)(c.Fragment,null,n&&(0,f.tZ)("div",{onClick:B,css:V}),t((function(e){o(e),i(e)})))}var U={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},W=function(e){var t=e.name,n=e.onFocus;return(0,f.tZ)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:U,value:"",onChange:function(){}})},$=function(e){return e.label},q=function(e){return e.value},G={clearIndicator:d.a,container:d.b,control:d.d,dropdownIndicator:d.e,group:d.g,groupHeading:d.f,indicatorsContainer:d.i,indicatorSeparator:d.h,input:d.j,loadingIndicator:d.l,loadingMessage:d.k,menu:d.m,menuList:d.n,menuPortal:d.o,multiValue:d.p,multiValueLabel:d.q,multiValueRemove:d.t,noOptionsMessage:d.u,option:d.v,placeholder:d.w,singleValue:d.x,valueContainer:d.y};var Y,K={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},X={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,d.z)(),captureMenuScroll:!(0,d.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,o.Z)({ignoreCase:!0,ignoreAccents:!0,stringify:O,trim:!0,matchFrom:"any"},Y),r=n.ignoreCase,i=n.ignoreAccents,a=n.stringify,s=n.trim,u=n.matchFrom,l=s?M(t):t,c=s?M(a(e)):a(e);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),i&&(l=j(l),c=S(c)),"start"===u?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:$,getOptionValue:q,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,d.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function J(e,t,n,r){return{type:"option",data:t,isDisabled:oe(e,t,n),isSelected:ie(e,t,n),label:ne(e,t),value:re(e,t),index:r}}function Q(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return J(e,n,t,r)})).filter((function(t){return te(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=J(e,n,t,r);return te(e,i)?i:void 0})).filter(d.K)}function ee(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,l.Z)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function te(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!se(e)||!i)&&ae(e,{label:a,value:s,data:o},r)}var ne=function(e,t){return e.getOptionLabel(t)},re=function(e,t){return e.getOptionValue(t)};function oe(e,t,n){return"function"===typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ie(e,t,n){if(n.indexOf(t)>-1)return!0;
vendor: 1,562 bytes, line 1
1if("function"===typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=re(e,t);return n.some((function(t){return re(e,t)===r}))}function ae(e,t,n){return!e.filterOption||e.filterOption(t,n)}var se=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ue=1,le=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;if((0,i.Z)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.
vendor: 14,462 bytes, line 1
1state.selectValue,s=o&&r.isOptionSelected(e,a),u=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue((0,d.B)(a.filter((function(e){return r.getOptionValue(e)!==c}))),"deselect-option",e)}else{if(u)return void r.ariaOnChange((0,d.C)(e),{action:"select-option",option:e,name:i});o?r.setValue((0,d.B)([].concat((0,l.Z)(a),[e])),"select-option",e):r.setValue((0,d.C)(e),"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter((function(e){return r.getOptionValue(e)!==o})),a=(0,d.D)(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange((0,d.D)(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=(0,d.D)(e,o,o[0]||null);r.onChange(i,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.E.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return ne(r.props,e)},r.getOptionValue=function(e){return re(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=G[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return(0,d.F)(r.props)},r.buildCategorizedOptions=function(){return Q(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return ee(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:(0,o.Z)({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!r.props.isDisabled){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"===typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,d.G)(e.target)&&r.props.onMenuClose():"function"===typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return se(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,u=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,h=r.state,p=h.focusedOption,g=h.focusedValue,m=h.selectValue;if(!u&&("function"!==typeof c||(c(e),!e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)r.removeValue(g);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!l||!d||!p||f&&r.isOptionSelected(p,m))return;r.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(l){if(!p)return;if(r.isComposing)return;r.selectOption(p);break}return;case"Escape":l?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!l){r.openMenu("first");break}if(!p)return;r.selectOption(p);break;case"ArrowUp":l?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":l?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!l)return;r.focusOption("pageup");break;case"PageDown":if(!l)return;r.focusOption("pagedown");break;case"Home":if(!l)return;r.focusOption("first");break;case"End":if(!l)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++ue),r.state.selectValue=(0,d.H)(e.value),e.menuIsOpen&&r.state.selectValue.length){var a=r.buildFocusableOptions(),s=a.indexOf(r.state.selectValue[0]);r.state.focusedOption=a[s]}return r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,d.I)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,d.I)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(K):(0,o.Z)((0,o.Z)({},K),this.props.theme):K}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return oe(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ie(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ae(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,a=e.inputValue,s=e.tabIndex,u=e.form,l=e.menuIsOpen,f=e.required,h=this.getComponents().Input,p=this.state,g=p.inputIsHidden,m=p.ariaSelection,v=this.commonProps,y=i||this.getElementId("input"),b=(0,o.Z)((0,o.Z)((0,o.Z)({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox"},l&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null===m||void 0===m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?c.createElement(h,(0,r.Z)({},v,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:t,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:u,type:"text",value:a},b)):c.createElement(T,(0,r.Z)({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:d.J,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:u,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,u=t.Placeholder,l=this.commonProps,d=this.props,f=d.controlShouldRenderValue,h=d.isDisabled,p=d.isMulti,g=d.inputValue,m=d.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!f)return g?null:c.createElement(u,(0,r.Z)({},l,{key:"placeholder",isDisabled:h,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),m);if(p)return y.map((function(t,s){var u=t===b,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return c.createElement(n,(0,r.Z)({},l,{components:{Container:o,Label:i,Remove:a},isFocused:u,isDisabled:h,key:d,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(g)return null;var x=y[0];return c.createElement(s,(0,r.Z)({},l,{data:x,isDisabled:h}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().
vendor: 4,961 bytes, line 1
1ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,r.Z)({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return c.createElement(e,(0,r.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return c.createElement(n,(0,r.Z)({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,r.Z)({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,a=t.MenuList,s=t.MenuPortal,u=t.LoadingMessage,l=t.NoOptionsMessage,f=t.Option,h=this.commonProps,p=this.state.focusedOption,g=this.props,m=g.captureMenuScroll,v=g.inputValue,y=g.isLoading,b=g.loadingMessage,w=g.minMenuHeight,x=g.maxMenuHeight,C=g.menuIsOpen,k=g.menuPlacement,E=g.menuPosition,_=g.menuPortalTarget,S=g.menuShouldBlockScroll,j=g.menuShouldScrollIntoView,M=g.noOptionsMessage,O=g.onMenuScrollToTop,A=g.onMenuScrollToBottom;if(!C)return null;var T,R=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,u=t.label,l=t.value,d=p===i,g=a?void 0:function(){return e.onOptionHover(i)},m=a?void 0:function(){return e.selectOption(i)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:m,onMouseMove:g,onMouseOver:g,tabIndex:-1};return c.createElement(f,(0,r.Z)({},h,{innerProps:y,data:i,isDisabled:a,isSelected:s,key:v,label:u,type:o,value:l,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,a=t.options,s=t.index,u="".concat(e.getElementId("group"),"-").concat(s),l="".concat(u,"-heading");return c.createElement(n,(0,r.Z)({},h,{key:u,data:i,options:a,Heading:o,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return R(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return R(t,"".concat(t.index))}));else if(y){var L=b({inputValue:v});if(null===L)return null;T=c.createElement(u,h,L)}else{var D=M({inputValue:v});if(null===D)return null;T=c.createElement(l,h,D)}var P={minMenuHeight:w,maxMenuHeight:x,menuPlacement:k,menuPosition:E,menuShouldScrollIntoView:j},I=c.createElement(d.M,(0,r.Z)({},h,P),(function(t){var n=t.ref,o=t.placerProps,s=o.placement,u=o.maxHeight;return c.createElement(i,(0,r.Z)({},h,P,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:y,placement:s}),c.createElement(z,{captureEnabled:m,onTopArrive:O,onBottomArrive:A,lockEnabled:S},(function(t){return c.createElement(a,(0,r.Z)({},h,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:y,maxHeight:u,focusedOption:p}),T)})))}));return _||"fixed"===E?c.createElement(s,(0,r.Z)({},h,{appendTo:_,controlElement:this.controlRef,menuPlacement:k,menuPosition:E}),I):I}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return c.createElement(W,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return c.createElement("input",{name:i,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return c.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):c.createElement("input",{name:i,type:"hidden",value:""});return c.createElement("div",null,l)}var d=s[0]?this.getOptionValue(s[0]):"";return c.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,a=t.isFocused,s=t.selectValue,u=this.getFocusableOptions();return c.createElement(b,(0,r.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:u}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.
vendor: 4,845 bytes, line 1
1SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,u=a.id,l=a.isDisabled,d=a.menuIsOpen,f=this.state.isFocused,h=this.commonProps=this.getCommonProps();return c.createElement(o,(0,r.Z)({},h,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:f}),this.renderLiveRegion(),c.createElement(t,(0,r.Z)({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:f,menuIsOpen:d}),c.createElement(i,(0,r.Z)({},h,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),c.createElement(n,(0,r.Z)({},h,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,s=t.isFocused,u=t.prevWasFocused,l=e.options,c=e.value,f=e.menuIsOpen,h=e.inputValue,p=e.isMulti,g=(0,d.H)(c),m={};if(n&&(c!==n.value||l!==n.options||f!==n.menuIsOpen||h!==n.inputValue)){var v=f?function(e,t){return ee(Q(e,t))}(e,g):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,g):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,v);m={selectValue:g,focusedOption:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},x=a,C=s&&u;return s&&!C&&(x={value:(0,d.D)(p,g,g[0]||null),options:g,action:"initial-input-focus"},C=!u),"initial-input-focus"===(null===a||void 0===a?void 0:a.action)&&(x=null),(0,o.Z)((0,o.Z)((0,o.Z)({},m),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),n}(c.Component);le.defaultProps=X},75464:function(e,t,n){"use strict";n.d(t,{A:function(){return M},B:function(){return I},C:function(){return P},D:function(){return D},E:function(){return v},F:function(){return Ie},G:function(){return x},H:function(){return y},I:function(){return S},J:function(){return g},K:function(){return L},M:function(){return V},a:function(){return ce},b:function(){return J},c:function(){return Pe},d:function(){return me},e:function(){return le},f:function(){return we},g:function(){return be},h:function(){return de},i:function(){return ee},j:function(){return ke},k:function(){return q},l:function(){return he},m:function(){return H},n:function(){return U},o:function(){return X},p:function(){return je},q:function(){return Me},r:function(){return F},s:function(){return R},t:function(){return Oe},u:function(){return $},v:function(){return Re},w:function(){return Le},x:function(){return De},y:function(){return Q},z:function(){return j}});var r=n(1413),o=n(87462),i=n(8814),a=n(86854),s=n(45987),u=n(71002);var l=n(4942),c=n(67294),d=n(73935),f=n(55863),h=n(73469),p=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],g=function(){};function m(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function v(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(m(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var y=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,u.Z)(e)&&null!==e?[e]:[];var t},b=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,s.Z)(e,p);return(0,r.Z)({},t)},w=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!==n&&void 0!==n?n:{},i(t,e),a)}};function x(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function C(e){return x(e)?window.pageYOffset:e.scrollTop}function k(e,t){x(e)?window.scrollTo(0,t):e.scrollTop=t}function E(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g,o=C(e),i=t-o,a=10,s=0;function u(){var t=E(s+=a,o,i,n);k(e,t),s<n?window.requestAnimationFrame(u):r(e)}u()}function S(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?k(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&k(e,Math.max(t.offsetTop-o,0))}function j(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function M(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}
1var O=!1,A={get passive(){return O=!0}},T="undefined"!==typeof window?window:{};T.addEventListener&&T.removeEventListener&&(T.addEventListener("p",g,A),T.removeEventListener("p",g,!1));var R=O;function L(e){return null!=e}function D(e,t,n){return e?t:n}function P(e){return e}function I(e){return e}var F=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=(0,a.Z)(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=(0,a.Z)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})};function Z(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c,d=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),h=f.bottom,p=f.height,g=f.top,m=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:x(c=u)?window.innerHeight:c.clientHeight,y=C(u),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),E=m-w,S=v-g,j=E+y,M=d-y-g,O=h-v+y+b,A=y+g-w,T=160;switch(o){case"auto":case"bottom":if(S>=p)return{placement:"bottom",maxHeight:t};if(M>=p&&!a)return i&&_(u,O,T),{placement:"bottom",maxHeight:t};if(!a&&M>=r||a&&S>=r)return i&&_(u,O,T),{placement:"bottom",maxHeight:a?S-b:M-b};if("auto"===o||a){var R=t,L=a?E:j;return L>=r&&(R=Math.min(L-b-s,t)),{placement:"top",maxHeight:R}}if("bottom"===o)return i&&k(u,O),{placement:"bottom",maxHeight:t};break;case"top":if(E>=p)return{placement:"top",maxHeight:t};if(j>=p&&!a)return i&&_(u,A,T),{placement:"top",maxHeight:t};if(!a&&j>=r||a&&E>=r){var D=t;return(!a&&j>=r||a&&E>=r)&&(D=a?E-w:j-w),i&&_(u,A,T),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}var N=function(e){return"auto"===e?"bottom":e},H=function(e,t){var n,o=e.placement,i=e.theme,a=i.borderRadius,s=i.spacing,u=i.colors;return(0,r.Z)((n={label:"menu"},(0,l.Z)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),(0,l.Z)(n,"position","absolute"),(0,l.Z)(n,"width","100%"),(0,l.Z)(n,"zIndex",1),n),t?{}:{backgroundColor:u.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},B=(0,c.createContext)(null),V=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,u=e.menuShouldScrollIntoView,l=e.theme,d=((0,c.useContext)(B)||{}).setPortalPlacement,f=(0,c.useRef)(null),p=(0,c.useState)(o),g=(0,a.Z)(p,2),m=g[0],v=g[1],y=(0,c.useState)(null),b=(0,a.Z)(y,2),w=b[0],x=b[1],C=l.spacing.controlHeight;return(0,h.Z)((function(){var e=f.current;if(e){var t="fixed"===s,r=Z({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:u&&!t,isFixedPosition:t,controlHeight:C});v(r.maxHeight),x(r.placement),null===d||void 0===d||d(r.placement)}}),[o,i,s,u,n,d,C]),t({ref:f,placerProps:(0,r.Z)((0,r.Z)({},e),{},{placement:w||N(i),maxHeight:m})})},z=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"menu",{menu:!0}),{ref:n},r),t)},U=function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return(0,r.Z)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},W=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return(0,r.Z)({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},$=W,q=W,G=function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),t)};G.defaultProps={children:"No options"};var Y=function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),t)};Y.defaultProps={children:"Loading..."};var K,X=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},J=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}}
vendor: 8,649 bytes, line 1
1,Q=function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,r.Z)({alignItems:"center",display:o&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},ee=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},te=["size"];var ne,re,oe={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},ie=function(e){var t=e.size,n=(0,s.Z)(e,te);return(0,i.tZ)("svg",(0,o.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:oe},n))},ae=function(e){return(0,i.tZ)(ie,(0,o.Z)({size:20},e),(0,i.tZ)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},se=function(e){return(0,i.tZ)(ie,(0,o.Z)({size:20},e),(0,i.tZ)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ue=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return(0,r.Z)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*i,":hover":{color:n?a.neutral80:a.neutral40}})},le=ue,ce=ue,de=function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return(0,r.Z)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*i,marginTop:2*i})},fe=(0,i.F4)(K||(ne=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],re||(re=ne.slice(0)),K=Object.freeze(Object.defineProperties(ne,{raw:{value:Object.freeze(re)}})))),he=function(e,t){var n=e.isFocused,o=e.size,i=e.theme,a=i.colors,s=i.spacing.baseUnit;return(0,r.Z)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*s})},pe=function(e){var t=e.delay,n=e.offset;return(0,i.tZ)("span",{css:(0,i.iv)({animation:"".concat(fe," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},ge=function(e){var t=e.innerProps,n=e.isRtl;return(0,i.tZ)("div",(0,o.Z)({},w(e,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,i.tZ)(pe,{delay:0,offset:n}),(0,i.tZ)(pe,{delay:160,offset:!0}),(0,i.tZ)(pe,{delay:320,offset:!n}))};ge.defaultProps={size:4};var me=function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.theme,a=i.colors,s=i.borderRadius,u=i.spacing;return(0,r.Z)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:o?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},ve=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,a=e.innerRef,s=e.innerProps,u=e.menuIsOpen;return(0,i.tZ)("div",(0,o.Z)({ref:a},w(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":u}),s),t)},ye=["data"],be=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},we=function(e,t){var n=e.theme,o=n.colors,i=n.spacing;return(0,r.Z)({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},xe=function(e){var t=e.children,n=e.cx,r=e.getStyles,a=e.getClassNames,s=e.Heading,u=e.headingProps,l=e.innerProps,c=e.label,d=e.theme,f=e.selectProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"group",{group:!0}),l),(0,i.tZ)(s,(0,o.Z)({},u,{selectProps:f,theme:d,getStyles:r,getClassNames:a,cx:n}),c),(0,i.tZ)("div",null,t))},Ce=["innerRef","isDisabled","isHidden","inputClassName"],ke=function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,a=i.spacing,s=i.colors;return(0,r.Z)((0,r.Z)({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},_e),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},Ee={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},_e={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,r.Z)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ee)},Se=function(e){return(0,r.Z)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ee)},je=function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,a=n.colors;return(0,r.Z)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},Me=function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,a=e.cropWithEllipsis;return(0,r.Z)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Oe=function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,a=n.colors,s=e.isFocused;return(0,r.Z)({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},Ae=function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",n,t)};var Te=function(e){var t=e.children,n=e.components,o=e.data,a=e.innerProps,s=e.isDisabled,u=e.removeProps,l=e.selectProps,c=n.Container,d=n.Label,f=n.Remove;return(0,i.tZ)(c,{data:o,innerProps:(0,r.Z)((0,r.Z)({},w(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),a),selectProps:l},(0,i.tZ)(d,{data:o,innerProps:(0,r.Z)({},w(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),(0,i.tZ)(f,{data:o,innerProps:(0,r.Z)((0,r.Z)({},w(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},u),selectProps:l}))},Re=function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.theme,s=a.spacing,u=a.colors;return(0,r.Z)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?u.primary:o?u.primary25:"transparent",color:n?u.neutral20:i?u.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?u.primary:u.primary50}})},Le=function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return(0,r.Z)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},De=function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,a=o.colors;return(0,r.Z)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Pe={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,i.tZ)(ae,null))},Control:ve,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,i.tZ)(se,null))},DownChevron:se,CrossIcon:ae,Group:xe,GroupHeading:function(e){var t=b(e);t.data;var n=(0,s.Z)(t,ye);return(0,i.tZ)("div",(0,o.Z)({},w(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,i.tZ)("span",(0,o.Z)({},t,w(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=b(e),a=r.innerRef,u=r.isDisabled,l=r.
1isHidden,c=r.inputClassName,d=(0,s.Z)(r,Ce);return(0,i.tZ)("div",(0,o.Z)({},w(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,i.tZ)("input",(0,o.Z)({className:t({input:!0},c),ref:a,style:Se(l),disabled:u},d)))},LoadingIndicator:ge,Menu:z,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,a=e.isMulti;return(0,i.tZ)("div",(0,o.Z)({},w(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,s=e.controlElement,u=e.innerProps,l=e.menuPlacement,p=e.menuPosition,g=(0,c.useRef)(null),m=(0,c.useRef)(null),v=(0,c.useState)(N(l)),y=(0,a.Z)(v,2),b=y[0],x=y[1],C=(0,c.useMemo)((function(){return{setPortalPlacement:x}}),[]),k=(0,c.useState)(null),E=(0,a.Z)(k,2),_=E[0],S=E[1],j=(0,c.useCallback)((function(){if(s){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(s),t="fixed"===p?0:window.pageYOffset,n=e[b]+t;n===(null===_||void 0===_?void 0:_.offset)&&e.left===(null===_||void 0===_?void 0:_.rect.left)&&e.width===(null===_||void 0===_?void 0:_.rect.width)||S({offset:n,rect:e})}}),[s,p,b,null===_||void 0===_?void 0:_.offset,null===_||void 0===_?void 0:_.rect.left,null===_||void 0===_?void 0:_.rect.width]);(0,h.Z)((function(){j()}),[j]);var M=(0,c.useCallback)((function(){"function"===typeof m.current&&(m.current(),m.current=null),s&&g.current&&(m.current=(0,f.Me)(s,g.current,j,{elementResize:"ResizeObserver"in window}))}),[s,j]);(0,h.Z)((function(){M()}),[M]);var O=(0,c.useCallback)((function(e){g.current=e,M()}),[M]);if(!t&&"fixed"!==p||!_)return null;var A=(0,i.tZ)("div",(0,o.Z)({ref:O},w((0,r.Z)((0,r.Z)({},e),{},{offset:_.offset,position:p,rect:_.rect}),"menuPortal",{"menu-portal":!0}),u),n);return(0,i.tZ)(B.Provider,{value:C},t?(0,d.createPortal)(A,t):A)},LoadingMessage:Y,NoOptionsMessage:G,MultiValue:Te,MultiValueContainer:Ae,MultiValueLabel:Ae,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({role:"button"},n),t||(0,i.tZ)(ae,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,a=e.isSelected,s=e.innerRef,u=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":a}),{ref:s,"aria-disabled":n},u),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,a=e.isRtl;return(0,i.tZ)("div",(0,o.Z)({},w(e,"container",{"--is-disabled":r,"--is-rtl":a}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({},w(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,a=e.hasValue;return(0,i.tZ)("div",(0,o.Z)({},w(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":a}),n),t)}},Ie=function(e){return(0,r.Z)((0,r.Z)({},Pe),e.components)}},23157:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s}});var r=n(65342),o=n(87462),i=n(67294),a=n(57117),s=(n(8417),n(73935),n(73469),(0,i.forwardRef)((function(e,t){var n=(0,r.u)(e);return i.createElement(a.S,(0,o.Z)({ref:t},n))})))},65342:function(e,t,n){"use strict";n.d(t,{u:function(){return u}});var r=n(1413),o=n(86854),i=n(45987),a=n(67294),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function u(e){var t=e.defaultInputValue,n=void 0===t?"":t,u=e.defaultMenuIsOpen,l=void 0!==u&&u,c=e.defaultValue,d=void 0===c?null:c,f=e.inputValue,h=e.menuIsOpen,p=e.onChange,g=e.onInputChange,m=e.onMenuClose,v=e.onMenuOpen,y=e.value,b=(0,i.Z)(e,s),w=(0,a.useState)(void 0!==f?f:n),x=(0,o.Z)(w,2),C=x[0],k=x[1],E=(0,a.useState)(void 0!==h?h:l),_=(0,o.Z)(E,2),S=_[0],j=_[1],M=(0,a.useState)(void 0!==y?y:d),O=(0,o.Z)(M,2),A=O[0],T=O[1],R=(0,a.useCallback)((function(e,t){"function"===typeof p&&p(e,t),T(e)}
1),[p]),L=(0,a.useCallback)((function(e,t){var n;"function"===typeof g&&(n=g(e,t)),k(void 0!==n?n:e)}),[g]),D=(0,a.useCallback)((function(){"function"===typeof v&&v(),j(!0)}),[v]),P=(0,a.useCallback)((function(){"function"===typeof m&&m(),j(!1)}),[m]),I=void 0!==f?f:C,F=void 0!==h?h:S,Z=void 0!==y?y:A;return(0,r.Z)((0,r.Z)({},b),{},{inputValue:I,menuIsOpen:F,onChange:R,onInputChange:L,onMenuClose:P,onMenuOpen:D,value:Z})}},24754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,o=n(2525),i=(r=o)&&r.__esModule?r:{default:r},a=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};var s={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},u=t.autoprefix=function(e){var t={};return(0,i.default)(e,(function(e,n){var r={};(0,i.default)(e,(function(e,t){var n=s[t];n?r=a({},r,n(e)):r[t]=e})),t[n]=r})),t};t.default=u},36002:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var r,o=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},i=n(67294),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;s(this,r);for(var c=arguments.length,d=Array(c),f=0;f<c;f++)d[f]=arguments[f];return i=l=u(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(d))),l.state={active:!1},l.handleMouseDown=function(){return l.setState({active:!0})},l.handleMouseUp=function(){return l.setState({active:!1})},l.render=function(){return a.default.createElement(t,{onMouseDown:l.handleMouseDown,onMouseUp:l.handleMouseUp},a.default.createElement(e,o({},l.props,l.state)))},u(l,i)}return l(r,n),r}(a.default.Component)};t.default=c},91765:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var r,o=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},i=n(67294),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;s(this,r);for(var c=arguments.length,d=Array(c),f=0;f<c;f++)d[f]=arguments[f];return i=l=u(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(d))),l.state={hover:!1},l.handleMouseOver=function(){return l.setState({hover:!0})},l.handleMouseOut=function(){return l.setState({hover:!1})},l.render=function(){return a.default.createElement(t,{onMouseOver:l.handleMouseOver,onMouseOut:l.handleMouseOut},a.default.createElement(e,o({},l.props,l.state)))},u(l,i)}return l(r,n),r}(a.default.Component)};t.default=c},14147:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=s(n(47037)),o=s(n(2525)),i=s(n(68630)),a=s(n(35161));function s(e){return e&&e.__esModule?e:{default:e}}var u=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,a.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,i.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,r.default)(t)&&n.push(t)})),n};t.default=u},79941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=l(n(14147)),o=l(n(18556)),i=l(n(24754)),a=l(n(91765)),s=l(n(36002)),u=l(n(57742));function l(e){return e&&e.__esModule?e:{default:e}}t.hover=a.default,t.handleHover=a.default,t.handleActive=s.default,t.loop=u.default;var c=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),u=(0,o.default)(e,s);return(0,i.default)(u)};t.default=c},57742:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2===0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n}},18556:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=a(n(2525)),o=a(n(50361)),i=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};function a(e){return e&&e.__esModule?e:{default:e}}var s=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,r.default)(o,(function(e,t){n[t]||(n[t]={}),n[t]=i({},n[t],o[t])})),t})),n};t.default=s},22915:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(23071);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.T.apply(void 0,e.map((function(e){var n=e.apply(void 0,t);if(!n)throw new TypeError('combineEpics: one of the provided Epics "'+(e.name||"<anonymous>")+"\" does not return a stream. Double check you're not missing a return statement!");return n})))};try{Object.defineProperty(n,"name",{value:"combineEpics("+e.map((function(e){return e.name||"<anonymous>"})).join(", ")+")"})}catch(o){}return n}},71459:function(e,t,n){"use strict";n.d(t,{k:function(){return g}});var r=n(97582),o=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,r.ZT)(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.flush(this),0)},t}(n(90489).o),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t}(n(87556).v),a=new i(o),s=n(82649),u=n(40052),l=n(29526),c=n(29127),d=n(5014),f=n(58720),h=function(e,t){return h=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])},h(e,t)};Object.create;Object.create;var p=function(e){function t(t,n){var r=e.call(this,(function(e){var t=r.__notifier.subscribe(e);return t&&!t.closed&&e.next(r.value),t}))||this;return r.__notifier=new s.x,r.value=n,t.subscribe((function(e){e!==r.value&&(r.value=e,r.__notifier.next(e))})),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(n(19293).y);function g(e){void 0===e&&(e={});
1var t=new(0,a.constructor)(a.schedulerActionCtor);var n,r=new s.x,o=function(o){n=o;var i=new s.x,a=new s.x,h=i.asObservable().pipe((0,l.Q)(t)),g=new p(a.pipe((0,l.Q)(t)),n.getState());return r.pipe((0,c.U)((function(t){var n=t(h,g,e.dependencies);if(!n)throw new TypeError('Your root Epic "'+(t.name||"<anonymous>")+"\" does not return a stream. Double check you're not missing a return statement!");return n})),(0,d.z)((function(e){return(0,u.D)(e).pipe((0,f.R)(t),(0,l.Q)(t))}))).subscribe(n.dispatch),function(e){return function(t){var r=e(t);return a.next(n.getState()),i.next(t),r}}};return o.run=function(e){r.next(e)},o}},15069:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(94975),o=function(e,t){return e===t||"function"===typeof t&&e===t.toString()};function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length;return(0,r.h)(1===n?function(t){return o(t.type,e[0])}:function(t){for(var r=0;r<n;r++)if(o(t.type,e[r]))return!0;return!1})}},14890:function(e,t,n){"use strict";n.d(t,{MT:function(){return l},UY:function(){return c},md:function(){return f},qC:function(){return d}});var r=n(1413);function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var i="function"===typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function u(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(o(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(o(1));return n(l)(e,t)}if("function"!==typeof e)throw new Error(o(2));var a=e,c=t,d=[],f=d,h=!1;function p(){f===d&&(f=d.slice())}function g(){if(h)throw new Error(o(3));return c}function m(e){if("function"!==typeof e)throw new Error(o(4));if(h)throw new Error(o(5));var t=!0;return p(),f.push(e),function(){if(t){if(h)throw new Error(o(6));t=!1,p();var n=f.indexOf(e);f.splice(n,1),d=null}}}function v(e){if(!u(e))throw new Error(o(7));if("undefined"===typeof e.type)throw new Error(o(8));if(h)throw new Error(o(9));try{h=!0,c=a(c,e)}finally{h=!1}for(var t=d=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!==typeof e)throw new Error(o(10));a=e,v({type:s.REPLACE})}function b(){var e,t=m;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[i]=function(){return this},e}return v({type:s.INIT}),(r={dispatch:v,subscribe:m,getState:g,replaceReducer:y})[i]=b,r}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"===typeof e[i]&&(n[i]=e[i])}var a,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:s.INIT}))throw new Error(o(12));if("undefined"===typeof n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(l){a=l}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,i={},s=0;s<u.length;s++){var l=u[s],c=n[l],d=e[l],f=c(d,t);
1if("undefined"===typeof f){t&&t.type;throw new Error(o(14))}i[l]=f,r=r||f!==d}return(r=r||u.length!==Object.keys(e).length)?i:e}}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),i=function(){throw new Error(o(15))},a={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map((function(e){return e(a)}));return i=d.apply(void 0,s)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},11215:function(e,t,n){"use strict";var r="object"===typeof globalThis?globalThis:"object"===typeof self?self:"object"===typeof window?window:"object"===typeof n.g?n.g:{},o=function(){var e="Prism"in r,t=e?r.Prism:void 0;return function(){e?r.Prism=t:delete r.Prism;e=void 0,t=void 0}}();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var i=n(31742),a=n(57574),s=n(28325),u=n(2717),l=n(12049),c=n(29726),d=n(36155);o();var f={}.hasOwnProperty;function h(){}h.prototype=s;var p=new h;function g(e){if("function"!==typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===p.languages[e.displayName]&&e(p)}e.exports=p,p.highlight=function(e,t){var n,r=s.highlight;if("string"!==typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===p.util.type(t))n=t,t=null;else{if("string"!==typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!f.call(p.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=p.languages[t]}return r.call(this,e,n,t)},p.register=g,p.alias=function(e,t){var n,r,o,i,a=p.languages,s=e;t&&((s={})[e]=t);for(n in s)for(r=s[n],o=(r="string"===typeof r?[r]:r).length,i=-1;++i<o;)a[r[i]]=a[n]},p.registered=function(e){if("string"!==typeof e)throw new Error("Expected `string` for `language`, got `"+e+"`");return f.call(p.languages,e)},p.listLanguages=function(){var e,t=p.languages,n=[];for(e in t)f.call(t,e)&&"object"===typeof t[e]&&n.push(e);return n},g(u),g(l),g(c),g(d),p.util.encode=function(e){return e},p.Token.stringify=function(e,t,n){var r;if("string"===typeof e)return{type:"text",value:e};if("Array"===p.util.type(e))return function(e,t){var n,r=[],o=e.length,i=-1;for(;++i<o;)""!==(n=e[i])&&null!==n&&void 0!==n&&r.push(n);i=-1,o=r.length;for(;++i<o;)n=r[i],r[i]=p.Token.stringify(n,t,r);return r}(e,t);r={type:e.type,content:p.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));return p.hooks.run("wrap",r),i(r.tag+"."+r.classes.join("."),function(e){var t;for(t in e)e[t]=a(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_
1CURRENT_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[<>]&?|[<>][&=]?|&[>
1&]?|\|[&|]?/,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 o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[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){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}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}
1(?=(?:\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,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\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,918 bytes, line 1
1*"|'(?:\\[\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:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<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 o=t[r],i=!1;if("string"!==typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"===typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var u=a(o);r<t.length-1&&("string"===typeof t[r+1]||"plain-text"===t[r+1].type)&&(u+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"===typeof t[r-1]||"plain-text"===t[r-1].type)&&(u=a(t[r-1])+u,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",u,null,u)}o.content&&"string"!==typeof o.content&&s(o.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 o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),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){!function(e){e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript}(e)}
1e.exports=t,t.displayName="typescript",t.aliases=["ts"]},68697:function(e,t,n){"use strict";n.d(t,{P1:function(){return u}});var r="NOT_FOUND";var o=function(e,t){return e===t};function i(e,t){var n="object"===typeof t?t:{equalityCheck:t},i=n.equalityCheck,a=void 0===i?o:i,s=n.maxSize,u=void 0===s?1:s,l=n.resultEqualityCheck,c=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}}(a),d=1===u?function(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:r},put:function(e,n){t={key:e,value:n}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}(c):function(e,t){var n=[];function o(e){var o=n.findIndex((function(n){return t(e,n.key)}));if(o>-1){var i=n[o];return o>0&&(n.splice(o,1),n.unshift(i)),i.value}return r}return{get:o,put:function(t,i){o(t)===r&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(u,c);function f(){var t=d.get(arguments);if(t===r){if(t=e.apply(null,arguments),l){var n=d.getEntries(),o=n.find((function(e){return l(e.value,t)}));o&&(t=o.value)}d.put(arguments,t)}return t}return f.clearCache=function(){return d.clear()},f}function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"===typeof e}))){var n=t.map((function(e){return"function"===typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}function s(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i,s=0,u={memoizeOptions:void 0},l=r.pop();if("object"===typeof l&&(u=l,l=r.pop()),"function"!==typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var c=u,d=c.memoizeOptions,f=void 0===d?n:d,h=Array.isArray(f)?f:[f],p=a(r),g=e.apply(void 0,[function(){return s++,l.apply(null,arguments)}].concat(h)),m=e((function(){for(var e=[],t=p.length,n=0;n<t;n++)e.push(p[n].apply(null,arguments));return i=g.apply(null,e)}));return Object.assign(m,{resultFunc:l,memoizedResultFunc:g,dependencies:p,lastResult:function(){return i},recomputations:function(){return s},resetRecomputations:function(){return s=0}}),m};return o}var u=s(i)},80979:function(e,t,n){"use strict";n.d(t,{f:function(){return E}});var r,o=n(97582),i=n(90489),a=1,s={};function u(e){return e in s&&(delete s[e],!0)}var l=function(e){var t=a++;return s[t]=!0,r||(r=Promise.resolve()),r.then((function(){return u(t)&&e()})),t},c=function(e){u(e)},d={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=d.delegate;return((null===n||void 0===n?void 0:n.setImmediate)||l).apply(void 0,(0,o.ev)([],(0,o.CR)(e)))},clearImmediate:function(e){var t=d.delegate;return((null===t||void 0===t?void 0:t.clearImmediate)||c)(e)},delegate:void 0},f=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,o.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=d.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,r){var o;if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);var i=t.actions;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(d.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))},t}(i.o),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var n,r=this.actions;e=e||r.shift();do{if(n=e.execute(e.state,e.delay))break}while((e=r[0])&&e.id===t&&r.shift());if(this._active=!1,n){for(;(e=r[0])&&e.id===t&&r.shift();)e.unsubscribe();throw n}},t}(n(87556).v),p=new h(f),g=n(82649),m=n(6222),v=n(9653),y=n(19293),b=n(87878),w=n(1545);var x=n(56542),C=n(34978),k=n(42006);function E(e,t=p){return n=>{const r=n;let o=null,i=null;const a=new g.x,s=a.pipe((0,x.R)(((e,t)=>e+t),0),(0,C.w)((n=>0===n?(0,m.H)(e,t).pipe((0,k.b)((()=>{o&&(o.unsubscribe(),o=null),i&&(i.unsubscribe(),i=null)}))):!o&&n>0?(0,m.H)(0,t).pipe((0,k.b)((()=>{o||(o=r.connect())}
1))):v.C)));return u=()=>(i||(i=s.subscribe()),a.next(1),{unsubscribe:()=>a.next(-1)}),l=()=>n,new y.y((function(e){var t=u(),n=l(t);return(n?(0,b.Xf)(n):w.E).subscribe(e),function(){t&&t.unsubscribe()}}));var u,l}}},85092:function(e,t,n){"use strict";n.d(t,{q:function(){return p}});var r=n(19917),o=n(82649),i=n(57490),a=n(37991),s=n(95978),u=n(29127),l=n(87878),c=n(96798),d=n(2566);function f(e,t){return t?function(n){return n.pipe(f((function(n,r){return(0,l.Xf)(e(n,r)).pipe((0,u.U)((function(e,o){return t(n,e,r,o)})))})))}:(0,c.e)((function(t,n){var r=0,o=null,i=!1;t.subscribe((0,d.x)(n,(function(t){o||(o=(0,d.x)(n,void 0,(function(){o=null,i&&n.complete()})),(0,l.Xf)(e(t,r++)).subscribe(o))}),(function(){i=!0,!o&&n.complete()})))}))}var h=n(83286);function p(e){return t=>(0,r.P)((()=>{const n=new o.x;return t.pipe((0,s.P)((()=>n),{leading:!0,trailing:!0}),f(((t,r)=>(0,i.x)(e(t,r),a.z).pipe((0,h.x)((()=>{n.next()}))))))}))}},86515:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(97582),o=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,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(82649).x)},70003:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(97582),o=n(82649),i=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=i.l);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=n,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,n),o}return(0,r.ZT)(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,o=n._buffer,i=n._infiniteTimeWindow,a=n._timestampProvider,s=n._windowTime;r||(o.push(t),!i&&o.push(a.now()+s)),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(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,o=e._infiniteTimeWindow,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){for(var a=n.now(),s=0,u=1;u<r.length&&r[u]<=a;u+=2)s=u;s&&r.splice(0,s+1)}},t}(o.x)},82649:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});var r=n(97582),o=n(19293),i=n(4222),a=(0,n(1819).d)((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),s=n(3699),u=n(68846),l=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,u.x)((function(){var n,o;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=(0,r.XA)(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(s){n={error:s}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;(0,u.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,u.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}
1,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,r=n.hasError,o=n.isStopped,a=n.observers;return r||o?i.Lc:(this.currentObservers=null,a.push(e),new i.w0((function(){t.currentObservers=null,(0,s.P)(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,o=t.isStopped;n?e.error(r):o&&e.complete()},t.prototype.asObservable=function(){var e=new o.y;return e.source=this,e},t.create=function(e,t){return new c(e,t)},t}(o.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:i.Lc},t}(l)},40317:function(e,t,n){"use strict";n.d(t,{a:function(){return m}});var r=n(19293),o=Array.isArray,i=Object.getPrototypeOf,a=Object.prototype,s=Object.keys;function u(e){if(1===e.length){var t=e[0];if(o(t))return{args:t,keys:null};if((r=t)&&"object"===typeof r&&i(r)===a){var n=s(t);return{args:n.map((function(e){return t[e]})),keys:n}}}var r;return{args:e,keys:null}}var l=n(40052),c=n(90278),d=n(53211),f=n(22457);function h(e,t){return e.reduce((function(e,n,r){return e[n]=t[r],e}),{})}var p=n(2566),g=n(47845);function m(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,f.yG)(e),o=(0,f.jO)(e),i=u(e),a=i.args,s=i.keys;if(0===a.length)return(0,l.D)([],n);var p=new r.y(v(a,n,s?function(e){return h(s,e)}:c.y));return o?p.pipe((0,d.Z)(o)):p}function v(e,t,n){return void 0===n&&(n=c.y),function(r){y(t,(function(){for(var o=e.length,i=new Array(o),a=o,s=o,u=function(o){y(t,(function(){var u=(0,l.D)(e[o],t),c=!1;u.subscribe((0,p.x)(r,(function(e){i[o]=e,c||(c=!0,s--),s||r.next(n(i.slice()))}),(function(){--a||r.complete()})))}),r)},c=0;c<o;c++)u(c)}),r)}}function y(e,t,n){e?(0,g.f)(n,e,t):t()}},69243:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(44367);function o(){return(0,r.J)(1)}var i=n(22457),a=n(40052);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o()((0,a.D)(e,(0,i.yG)(e)))}},19917:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(19293),o=n(87878);function i(e){return new r.y((function(t){(0,o.Xf)(e()).subscribe(t)}))}},1545:function(e,t,n){"use strict";n.d(t,{E:function(){return o},c:function(){return i}});var r=n(19293),o=new r.y((function(e){return e.complete()}));function i(e){return e?function(e){return new r.y((function(t){return e.schedule((function(){return t.complete()}))}))}(e):o}},40052:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(57490),o=n(87878);function i(e,t){return t?(0,r.x)(e,t):(0,o.Xf)(e)}},22401:function(e,t,n){"use strict";n.d(t,{R:function(){return h}});var r=n(97582),o=n(87878),i=n(19293),a=n(5014),s=n(45685),u=n(58474),l=n(53211),c=["addListener","removeListener"],d=["addEventListener","removeEventListener"],f=["on","off"];function h(e,t,n,g){if((0,u.m)(n)&&(g=n,n=void 0),g)return h(e,t,n).pipe((0,l.Z)(g));var m=(0,r.CR)(function(e){return(0,u.m)(e.addEventListener)&&(0,u.m)(e.removeEventListener)}(e)?d.map((function(r){return function(o){return e[r](t,o,n)}})):function(e){return(0,u.m)(e.addListener)&&(0,u.m)(e.removeListener)}(e)?c.map(p(e,t)):function(e){return(0,u.m)(e.on)&&(0,u.m)(e.off)}(e)?f.map(p(e,t)):[],2),v=m[0],y=m[1];if(!v&&(0,s.z)(e))return(0,a.z)((function(e){return h(e,t,n)}))((0,o.Xf)(e));if(!v)throw new TypeError("Invalid event target");return new i.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)}}))}function p(e,t){return function(n){return function(r){return e[n](t,r)}}}},82976:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(19917);function o(e,t,n){return(0,r.P)((function(){return e()?t:n}))}},87878:function(e,t,n){"use strict";n.d(t,{Xf:function(){return g}});var r=n(97582),o=n(45685),i=n(53841),a=n(19293),s=n(71764),u=n(58430),l=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 y=e,new a.y((function(e){var t=y[p.L]();if((0,f.m)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if((0,o.z)(e))return v=e,new a.y((function(e){for(var t=0;t<v.length&&!e.closed;t++)e.next(v[t]);e.complete()}
1));if((0,i.t)(e))return g=e,new a.y((function(e){g.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,h.h)}));if((0,u.D)(e))return m(e);if((0,c.T)(e))return n=e,new a.y((function(e){var t,o;try{for(var i=(0,r.XA)(n),a=i.next();!a.done;a=i.next()){var s=a.value;if(e.next(s),e.closed)return}}catch(u){t={error:u}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(t)throw t.error}}e.complete()}));if((0,d.L)(e))return t=e,m((0,d.Q)(t))}var t,n,g,v,y;throw(0,l.z)(e)}function m(e){return new a.y((function(t){(function(e,t){var n,o,i,a;return(0,r.mG)(this,void 0,void 0,(function(){var s,u;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((o=l.sent()).done)return[3,4];if(s=o.value,t.next(s),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=l.sent(),i={error:u},[3,11];case 6:return l.trys.push([6,,9,10]),o&&!o.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(i)throw i.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 u}});var r=n(44367),o=n(87878),i=n(1545),a=n(22457),s=n(40052);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,a.yG)(e),u=(0,a._6)(e,1/0),l=e;return l.length?1===l.length?(0,o.Xf)(l[0]):(0,r.J)(u)((0,s.D)(l,n)):i.E}},9653:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(19293),o=n(22967),i=new r.y(o.Z)},32817:function(e,t,n){"use strict";n.d(t,{of:function(){return i}});var r=n(22457),o=n(40052);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,r.yG)(e);return(0,o.D)(e,n)}},30743:function(e,t,n){"use strict";function r(e,t){return function(n,r){return!e.call(t,n,r)}}n.d(t,{u:function(){return a}});var o=n(94975),i=n(87878);function a(e,t,n){return[(0,o.h)(t,n)((0,i.Xf)(e)),(0,o.h)(r(t,n))((0,i.Xf)(e))]}},83610:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(19293),o=n(58474);function i(e,t){var n=(0,o.m)(e)?e:function(){return e},i=function(e){return e.error(n())};return new r.y(t?function(e){return t.schedule(i,0,e)}:i)}},6222:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(19293),o=n(37991),i=n(64865);function a(e,t,n){void 0===e&&(e=0),void 0===n&&(n=o.P);var a=-1;return null!=t&&((0,i.K)(t)?n=t:a=t),new r.y((function(t){var r,o=(r=e)instanceof Date&&!isNaN(r)?+e-n.now():e;o<0&&(o=0);var i=0;return n.schedule((function(){t.closed||(t.next(i++),0<=a?this.schedule(void 0,a):t.complete())}),o)}))}},48848:function(e,t,n){"use strict";n.d(t,{e:function(){return u}});var r=n(37991),o=n(96798),i=n(87878),a=n(2566);var s=n(6222);function u(e,t){return void 0===t&&(t=r.z),n=function(){return(0,s.H)(e,t)},(0,o.e)((function(e,t){var r=!1,o=null,s=null,u=!1,l=function(){if(null===s||void 0===s||s.unsubscribe(),s=null,r){r=!1;var e=o;o=null,t.next(e)}u&&t.complete()},c=function(){s=null,u&&t.complete()};e.subscribe((0,a.x)(t,(function(e){r=!0,o=e,s||(0,i.Xf)(n(e)).subscribe(s=(0,a.x)(t,l,c))}),(function(){u=!0,(!r||!s||s.closed)&&t.complete()})))}));var n}},65315:function(e,t,n){"use strict";n.d(t,{e:function(){return d}});var r=n(97582),o=n(4222),i=n(96798),a=n(2566),s=n(3699),u=n(37991),l=n(22457),c=n(47845);function d(e){for(var t,n,d=[],f=1;f<arguments.length;f++)d[f-1]=arguments[f];var h=null!==(t=(0,l.yG)(d))&&void 0!==t?t:u.z,p=null!==(n=d[0])&&void 0!==n?n:null,g=d[1]||1/0;return(0,i.e)((function(t,n){var i=[],u=!1,l=function(e){var t=e.buffer;e.subs.unsubscribe(),(0,s.P)(i,e),n.next(t),u&&d()},d=function(){if(i){var t=new o.w0;n.add(t);var r={buffer:[],subs:t};i.push(r),(0,c.f)(t,h,(function(){return l(r)}),e)}};null!==p&&p>=0?(0,c.f)(n,h,d,p,!0):u=!0,d();var f=(0,a.x)(n,(function(e){var t,n,o=i.slice();try{for(var a=(0,r.XA)(o),s=a.next();!s.done;s=a.next()){var u=s.value,c=u.buffer;c.push(e),g<=c.length&&l(u)}}catch(d){t={error:d}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}}),(function(){for(;null===i||void 0===i?void 0:i.length;)n.next(i.shift().buffer);null===f||void 0===f||f.unsubscribe(),n.complete(),n.unsubscribe()}),void 0,(function(){return i=null}));t.subscribe(f)}))}},79878:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(87878),o=n(2566),i=n(96798);function a(e){return(0,i.e)((function(t,n){var i,s=null,u=!1;s=t.subscribe((0,o.x)(n,void 0,void 0,(function(o){i=(0,r.Xf)(e(o,a(e)(t))),s?(s.unsubscribe(),s=null,i.subscribe(n)):u=!0}))),u&&(s.unsubscribe(),s=null,i.subscribe(n))}))}},51313:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(5014),o=n(58474);function i(e,t){return(0,o.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),o=n(22967),i=n(2566),a=n(87878);function s(e){return(0,r.e)((function(t,n){var r=!1,s=null,u=null,l=function(){if(null===u||void 0===u||u.unsubscribe(),u=null,r){r=!1;var e=s;s=null,n.next(e)}};t.subscribe((0,i.x)(n,(function(t){null===u||void 0===u||u.unsubscribe(),r=!0,s=t,u=(0,i.x)(n,l,o.Z),(0,a.Xf)(e(t)).subscribe(u)}),(function(){l(),n.complete()}),void 0,(function(){s=u=null})))}))}},42965:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(37991),o=n(96798),i=n(2566);function a(e,t){return void 0===t&&(t=r.z),(0,o.e)((function(n,r){var o=null,a=null,s=null,u=function(){if(o){o.unsubscribe(),o=null;var e=a;a=null,r.next(e)}};function l(){var n=s+e,i=t.now();if(i<n)return o=this.schedule(void 0,n-i),void r.add(o);u()}n.subscribe((0,i.x)(r,(function(n){a=n,s=t.now(),o||(o=t.schedule(l,e),r.add(o))}),(function(){u(),r.complete()}),void 0,(function(){a=o=null})))}))}},35700:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(96798),o=n(2566);function i(e){return(0,r.e)((function(t,n){var r=!1;t.subscribe((0,o.x)(n,(function(e){r=!0,n.next(e)}),(function(){r||n.next(e),n.complete()}
1)))}))}},46297:function(e,t,n){"use strict";n.d(t,{g:function(){return p}});var r=n(37991),o=n(69243),i=n(74727),a=n(96798),s=n(2566),u=n(22967);var l=n(93833),c=n(5014),d=n(87878);function f(e,t){return t?function(n){return(0,o.z)(t.pipe((0,i.q)(1),(0,a.e)((function(e,t){e.subscribe((0,s.x)(t,u.Z))}))),n.pipe(f(e)))}:(0,c.z)((function(t,n){return(0,d.Xf)(e(t,n)).pipe((0,i.q)(1),(0,l.h)(t))}))}var h=n(6222);function p(e,t){void 0===t&&(t=r.z);var n=(0,h.H)(e,t);return f((function(){return n}))}},25631:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var r=n(96798),o=n(2566),i=n(22967),a=n(87878);function s(e,t){return(0,r.e)((function(n,r){var s=new Set;n.subscribe((0,o.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,o.x)(r,(function(){return s.clear()}),i.Z))}))}},53741:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var r=n(90278),o=n(96798),i=n(2566);function a(e,t){return void 0===t&&(t=r.y),e=null!==e&&void 0!==e?e:s,(0,o.e)((function(n,r){var o,a=!0;n.subscribe((0,i.x)(r,(function(n){var i=t(n);!a&&e(o,i)||(a=!1,o=i,r.next(n))})))}))}function s(e,t){return e===t}},83286:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(96798);function o(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 l}});var r=n(18084),o=n(94975),i=n(74727),a=n(35700),s=n(33815),u=n(90278);function l(e,t){var n=arguments.length>=2;return function(l){return l.pipe(e?(0,o.h)((function(t,n){return e(t,n,l)})):u.y,(0,i.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(5014).z},56890:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(19293),o=n(87878),i=n(82649),a=n(96798),s=n(2566);function u(e,t,n,u){return(0,a.e)((function(a,l){var c;t&&"function"!==typeof t?(n=t.duration,c=t.element,u=t.connector):c=t;var d=new Map,f=function(e){d.forEach(e),e(l)},h=function(e){return f((function(t){return t.error(e)}))},p=0,g=!1,m=new s.Q(l,(function(t){try{var a=e(t),f=d.get(a);if(!f){d.set(a,f=u?u():new i.x);var v=function(e,t){var n=new r.y((function(e){p++;var n=t.subscribe(e);return function(){n.unsubscribe(),0===--p&&g&&m.unsubscribe()}}));return n.key=e,n}(a,f);if(l.next(v),n){var y=(0,s.x)(f,(function(){f.complete(),null===y||void 0===y||y.unsubscribe()}),void 0,void 0,(function(){return d.delete(a)}));m.add((0,o.Xf)(n(v)).subscribe(y))}}f.next(c?c(t):t)}catch(b){h(b)}}),(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 h}});var r=n(18084),o=n(94975),i=n(97582),a=n(1545),s=n(96798),u=n(2566);function l(e){return e<=0?function(){return a.E}:(0,s.e)((function(t,n){var r=[];t.subscribe((0,u.x)(n,(function(t){r.push(t),e<r.length&&r.shift()}),(function(){var e,t;try{for(var o=(0,i.XA)(r),a=o.next();!a.done;a=o.next()){var s=a.value;n.next(s)}}catch(u){e={error:u}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}n.complete()}),void 0,(function(){r=null})))}))}var c=n(33815),d=n(35700),f=n(90278);function h(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?(0,o.h)((function(t,n){return e(t,n,i)})):f.y,l(1),n?(0,d.d)(t):(0,c.T)((function(){return new r.K})))}}},93833:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(29127);function o(e){return(0,r.U)((function(){return e}))}},44367:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(5014),o=n(90278);function i(e){return void 0===e&&(e=1/0),(0,r.z)(o.y,e)}},5014:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(29127),o=n(87878),i=n(96798),a=n(47845),s=n(2566);var u=n(58474);function l(e,t,n){return void 0===n&&(n=1/0),(0,u.m)(t)?l((function(n,i){return(0,r.U)((function(e,r){return t(n,e,i,r)}))((0,o.Xf)(e(n,i)))}),n):("number"===typeof t&&(n=t),(0,i.e)((function(t,r){return function(e,t,n,r,i,u,l,c){var d=[],f=0,h=0,p=!1,g=function(){!p||d.length||f||t.complete()},m=function(e){return f<r?v(e):d.push(e)},v=function(e){u&&t.next(e),f++;var c=!1;(0,o.Xf)(n(e,h++)).subscribe((0,s.x)(t,(function(e){null===i||void 0===i||i(e),u?m(e):t.next(e)}),(function(){c=!0}),void 0,(function(){if(c)try{f--;for(var e=function(){var e=d.shift();l?(0,a.f)(t,l,(function(){return v(e)})):v(e)};d.length&&f<r;)e();g()}catch(n){t.error(n)}})))};return e.subscribe((0,s.x)(t,m,(function(){p=!0,g()}))),function(){null===c||void 0===c||c()}}(t,r,e,n)})))}}
1,48902:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(5014),o=n(58474);function i(e,t,n){return void 0===n&&(n=1/0),(0,o.m)(t)?(0,r.z)((function(){return e}),t,n):("number"===typeof t&&(n=t),(0,r.z)((function(){return e}),n))}},29526:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(47845),o=n(96798),i=n(2566);function a(e,t){return void 0===t&&(t=0),(0,o.e)((function(n,o){n.subscribe((0,i.x)(o,(function(n){return(0,r.f)(o,e,(function(){return o.next(n)}),t)}),(function(){return(0,r.f)(o,e,(function(){return o.complete()}),t)}),(function(n){return(0,r.f)(o,e,(function(){return o.error(n)}),t)})))}))}},40148:function(e,t,n){"use strict";n.d(t,{_:function(){return m}});var r=n(70003),o=n(97582),i=n(19293),a=n(4222),s=n(30218),u=n(2566),l=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,l.A)(t)&&(r.lift=t.lift),r}return(0,o.ZT)(t,e),t.prototype._subscribe=function(e){return this.getSubject().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||void 0===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,u.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}(i.y),d=n(58474),f=n(82649),h=n(87878);var p={connector:function(){return new f.x}};function g(e,t){void 0===t&&(t=p);var n=t.connector;return(0,l.e)((function(t,r){var o,a=n();(0,h.Xf)(e((o=a,new i.y((function(e){return o.subscribe(e)}))))).subscribe(r),r.add(t.subscribe(a))}))}function m(e,t,n,o){n&&!(0,d.m)(n)&&(o=n);var i=(0,d.m)(n)?n:void 0;return function(n){return function(e,t){var n=(0,d.m)(e)?e:function(){return e};return(0,d.m)(t)?g(t,{connector:n}):function(e){return new c(e,n)}}(new r.t(e,t,o),i)(n)}}},77270:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(71674),o=n(96798);function i(e,t){return(0,o.e)((0,r.U)(e,t,arguments.length>=2,!1,!0))}},30218:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(96798),o=n(2566);function i(){return(0,r.e)((function(e,t){var n=null;e._refCount++;var r=(0,o.x)(t,void 0,void 0,void 0,(function(){if(!e||e._refCount<=0||0<--e._refCount)n=null;else{var r=e._connection,o=n;n=null,!r||o&&r!==o||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 i}});var r=n(96798),o=n(71674);function i(e,t){return(0,r.e)((0,o.U)(e,t,arguments.length>=2,!0))}},71674:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(2566);function o(e,t,n,o,i){return function(a,s){var u=n,l=t,c=0;a.subscribe((0,r.x)(s,(function(t){var n=c++;l=u?e(l,t,n):(u=!0,t),o&&s.next(l)}),i&&function(){u&&s.next(l),s.complete()}))}}},65583:function(e,t,n){"use strict";n.d(t,{B:function(){return u}});var r=n(97582),o=n(87878),i=n(82649),a=n(65044),s=n(96798);function u(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new i.x}:t,r=e.resetOnError,u=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,i,c=0,f=!1,p=!1,g=function(){null===r||void 0===r||r.unsubscribe(),r=void 0},m=function(){g(),t=i=void 0,f=p=!1},v=function(){var e=t;m(),null===e||void 0===e||e.unsubscribe()};return(0,s.e)((function(e,s){c++,p||f||g();var y=i=null!==i&&void 0!==i?i:n();s.add((function(){0!==--c||p||f||(r=l(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=l(m,u,e),y.error(e)},complete:function(){f=!0,g(),r=l(m,d),y.complete()}}),(0,o.Xf)(e).subscribe(t))}))(e)}}function l(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!0!==t){if(!1!==t){var s=new a.Hp({next:function(){s.unsubscribe(),e()}});return(0,o.Xf)(t.apply(void 0,(0,r.ev)([],(0,r.CR)(n)))).subscribe(s)}}else e()}},68515:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(70003),o=n(65583);function i(e,t,n){var i,a,s,u,l=!1;return e&&"object"===typeof e?(i=e.bufferSize,u=void 0===i?1/0:i,a=e.windowTime,t=void 0===a?1/0:a,l=void 0!==(s=e.refCount)&&s,n=e.scheduler):u=null!==e&&void 0!==e?e:1/0,(0,o.B)({connector:function(){return new r.t(u,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:l})}},47753:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(94975);function o(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),o=n(22457),i=n(96798);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,o.yG)(e);return(0,i.e)((function(t,o){(n?(0,r.z)(e,t,n):(0,r.z)(e,t)).subscribe(o)}))}},58720:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r=n(96798);function o(e,t){return void 0===t&&(t=0),(0,r.e)((function(n,r){r.add(e.schedule((function(){return n.subscribe(r)}),t))}))}},34978:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var r=n(87878),o=n(96798),i=n(2566);function a(e,t){return(0,o.e)((function(n,o){var a=null,s=0,u=!1,l=function(){return u&&!a&&o.complete()};n.subscribe((0,i.x)(o,(function(n){null===a||void 0===a||a.unsubscribe();var u=0,c=s++;(0,r.Xf)(e(n,c)).subscribe(a=(0,i.x)(o,(function(e){return o.next(t?t(n,e,c,u++):e)}),(function(){a=null,l()})))}),(function(){u=!0,l()})))}))}},58550:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(34978),o=n(58474);
1function i(e,t){return(0,o.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),o=n(96798),i=n(2566);function a(e){return e<=0?function(){return r.E}:(0,o.e)((function(t,n){var r=0;t.subscribe((0,i.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),o=n(2566),i=n(87878),a=n(22967);function s(e){return(0,r.e)((function(t,n){(0,i.Xf)(e).subscribe((0,o.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),o=n(96798),i=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,o.e)((function(e,t){var n;null===(n=s.subscribe)||void 0===n||n.call(s);var r=!0;e.subscribe((0,i.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),o=n(2566),i=n(87878);function a(e,t){return(0,r.e)((function(n,r){var a=null!==t&&void 0!==t?t:{},s=a.leading,u=void 0===s||s,l=a.trailing,c=void 0!==l&&l,d=!1,f=null,h=null,p=!1,g=function(){null===h||void 0===h||h.unsubscribe(),h=null,c&&(y(),p&&r.complete())},m=function(){h=null,p&&r.complete()},v=function(t){return h=(0,i.Xf)(e(t)).subscribe((0,o.x)(r,g,m))},y=function(){if(d){d=!1;var e=f;f=null,r.next(e),!p&&v(e)}};n.subscribe((0,o.x)(r,(function(e){d=!0,f=e,(!h||h.closed)&&(u?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),o=n(95978),i=n(6222);function a(e,t,n){void 0===t&&(t=r.z);var a=(0,i.H)(e,t);return(0,o.P)((function(){return a}),n)}},33815:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(18084),o=n(96798),i=n(2566);function a(e){return void 0===e&&(e=s),(0,o.e)((function(t,n){var r=!1;t.subscribe((0,i.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),o=n(96798),i=function(e,t){return e.push(t),e};function a(){return(0,o.e)((function(e,t){(0,r.u)(i,[])(e).subscribe(t)}))}},63428:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(97582),o=n(96798),i=n(2566),a=n(87878),s=n(90278),u=n(22967),l=n(22457);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,l.jO)(e);return(0,o.e)((function(t,o){for(var l=e.length,c=new Array(l),d=e.map((function(){return!1})),f=!1,h=function(t){(0,a.Xf)(e[t]).subscribe((0,i.x)(o,(function(e){c[t]=e,f||d[t]||(d[t]=!0,(f=d.every(s.y))&&(d=null))}),u.Z))},p=0;p<l;p++)h(p);t.subscribe((0,i.x)(o,(function(e){if(f){var t=(0,r.ev)([e],(0,r.CR)(c));o.next(n?n.apply(void 0,(0,r.ev)([],(0,r.CR)(t))):t)}})))}))}},57490:function(e,t,n){"use strict";n.d(t,{x:function(){return y}});var r=n(87878),o=n(29526),i=n(58720);var a=n(19293);var s=n(39768),u=n(58474),l=n(47845);function c(e,t){if(!e)throw new Error("Iterable cannot be null");return new a.y((function(n){(0,l.f)(n,t,(function(){var r=e[Symbol.asyncIterator]();(0,l.f)(n,t,(function(){r.next().then((function(e){e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}var d=n(71764),f=n(53841),h=n(45685),p=n(1837),g=n(58430),m=n(88729),v=n(48671);function y(e,t){if(null!=e){if((0,d.c)(e))return function(e,t){return(0,r.Xf)(e).pipe((0,i.R)(t),(0,o.Q)(t))}(e,t);if((0,h.z)(e))return function(e,t){return new a.y((function(n){var r=0;return t.schedule((function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())}))}))}(e,t);if((0,f.t)(e))return function(e,t){return(0,r.Xf)(e).pipe((0,i.R)(t),(0,o.Q)(t))}(e,t);if((0,g.D)(e))return c(e,t);if((0,p.T)(e))return function(e,t){return new a.y((function(n){var r;return(0,l.f)(n,t,(function(){r=e[s.h](),(0,l.f)(n,t,(function(){var e,t,o;try{t=(e=r.next()).value,o=e.done}catch(i){return void n.error(i)}o?n.complete():n.next(t)}),0,!0)})),function(){return(0,u.m)(null===r||void 0===r?void 0:r.return)&&r.return()}}))}(e,t);if((0,v.L)(e))return function(e,t){return c((0,v.Q)(e),t)}(e,t)}throw(0,m.z)(e)}},90489:function(e,t,n){"use strict";n.d(t,{o:function(){return s}});var r=n(97582),o=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),i={setInterval: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?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=i.delegate;return((null===t||void 0===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;
1return r.scheduler=t,r.work=n,r.pending=!1,r}return(0,r.ZT)(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),i.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&&i.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new 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(o){r=!0,n=o||new 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}(o)},87556:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(97582),o=n(94318),i=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=o.l.now,e}(),a=function(e){function t(t,n){void 0===n&&(n=i.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=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i)},37991:function(e,t,n){"use strict";n.d(t,{P:function(){return i},z:function(){return o}});var r=n(90489),o=new(n(87556).v)(r.o),i=o},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}},39768:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},22457:function(e,t,n){"use strict";n.d(t,{_6:function(){return u},jO:function(){return a},yG:function(){return s}});var r=n(58474),o=n(64865);function i(e){return e[e.length-1]}function a(e){return(0,r.m)(i(e))?e.pop():void 0}function s(e){return(0,o.K)(i(e))?e.pop():void 0}function u(e,t){return"number"===typeof i(e)?e.pop():t}},47845:function(e,t,n){"use strict";function r(e,t,n,r,o){void 0===r&&(r=0),void 0===o&&(o=!1);var i=t.schedule((function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()}),r);if(e.add(i),!o)return i}n.d(t,{f: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 o}});var r=n(58474);function o(e){return Symbol.asyncIterator&&(0,r.m)(null===e||void 0===e?void 0:e[Symbol.asyncIterator])}},71764:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(46766),o=n(58474);function i(e){return(0,o.m)(e[r.L])}},1837:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(39768),o=n(58474);function i(e){return(0,o.m)(null===e||void 0===e?void 0:e[r.h])}},9141:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(19293),o=n(58474);function i(e){return!!e&&(e instanceof r.y||(0,o.m)(e.lift)&&(0,o.m)(e.subscribe))}},53841:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(58474);function o(e){return(0,r.m)(null===e||void 0===e?void 0:e.then)}},48671:function(e,t,n){"use strict";n.d(t,{L:function(){return a},Q:function(){return i}});var r=n(97582),o=n(58474);function i(e){return(0,r.FC)(this,arguments,(function(){var t,n,o;return(0,r.Jh)(this,(function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,(0,r.qq)(t.read())];
1case 3:return n=i.sent(),o=n.value,n.done?[4,(0,r.qq)(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,(0,r.qq)(o)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function a(e){return(0,o.m)(null===e||void 0===e?void 0:e.getReader)}},64865:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(58474);function o(e){return e&&(0,r.m)(e.schedule)}},53211:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(97582),o=n(29127),i=Array.isArray;function a(e){return(0,o.U)((function(t){return function(e,t){return i(t)?e.apply(void 0,(0,r.ev)([],(0,r.CR)(t))):e(t)}(e,t)}))}},88729:function(e,t,n){"use strict";function r(e){return new TypeError("You provided "+(null!==e&&"object"===typeof e?"an invalid 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 y}});var r=n(52027);function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(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 s(e,t,n){return s=a()?Reflect.construct: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},s.apply(null,arguments)}function u(e){var t="function"===typeof Map?new Map:void 0;return u=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,o(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),i(r,e)},u(e)}function l(e){return e.reduce((function(e,t,n){if(Array.isArray(t))return e+"["+t.join(":")+"]";if("object"===typeof(r=t)&&"string"===typeof r._key)return e+'[_key=="'+t._key+'"]';var r;if("number"===typeof t)return e+"["+t+"]";if(/^\d+$/.test(t))return e+'["'+t+'"]';if("string"===typeof t)return""+e+(0===n?"":".")+t;throw new Error('Unsupported path segment "'+t+'"')}),"")}var c=function(e){var t,n;function r(t,n,r){var o,i=l(n);return(o=e.call(this,t+" (at '"+i+"')")||this).path=n,o.serializedPath=i,o.value=r,o}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(u(Error)),d=/^[a-z0-9][a-z0-9_.-]+$/i,f=/^[a-zA-Z_][a-zA-Z0-9_]*$/,h=/^[a-z_]/i;function p(e,t,n){if(!h.test(e))throw new c("Keys must start with a letter (a-z)",n.concat(e),t);if(!f.test(e))throw new c("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 c("Keys must be strings",n.concat(e),t);if(!d.test(t))throw new c("Invalid key - use less exotic characters",n.concat(e),t)}return e}var g=["_id","_type","_createdAt","_updatedAt","_rev"],m=new r.diff_match_patch,v={hideWarnings:!1,diffMatchPatch:{enabled:!0,lengthThresholdAbsolute:30,lengthThresholdRelative:1.2}};function y(e,t,n,r,o){if(void 0===n&&(n=v),void 0===r&&(r=[]),void 0===o&&(o=[]),e===t)return o;var i=Array.isArray(e)?"array":typeof e,a=Array.isArray(t)?"array":typeof t,s="undefined"===i,u="undefined"===a;if(s&&!u)return o.push({op:"set",path:r,value:t}),o;if(!s&&u)return o.push({op:"unset",path:r}),o;var l=s?a:i;return"object"===l||"array"===l?i!==a?(o.push({op:"set",path:r,value:t}),o):"array"===l?function(e,t,n,r,o){t.length>e.length&&o.push({op:"insert",after:r.concat([-1]),items:t.slice(e.length).map((function(e,t){return k(e,r,t,n)}))});if(t.length<e.length){var i=e.length-t.length===1,a=e.slice(t.length);!function(e){return Boolean(e.ifRevisionID||e.ifRevisionId)}(n)&&x(a)?o.push.apply(o,a.map((function(e){return{op:"unset",path:r.concat({_key:e._key})}}))):o.push({op:"unset",path:r.concat([i?t.length:[t.length,""]])})}for(var s=0;s<t.length;s++)if(Array.isArray(t[s]))throw new c("Multi-dimensional arrays not supported",r.concat(s),t[s]);var u=Math.min(e.length,t.length),l=e.slice(0,u),d=t.slice(0,u);return x(l)&&x(d)?function(e,t,n,r,o){var i=C(e),a=C(t);if(!function(e,t){return e.length===t.length&&e.every((function(e,n){return t[n]===e}))}(i.keys,a.keys))return b(e,t,n,r,o);for(var s=0;s<a.keys.length;s++){var u=a.keys[s];
1y(i.index[u],k(a.index[u],r,s,n),n,r.concat({_key:u}),o)}return o}(l,d,n,r,o):b(l,d,n,r,o)}(e,t,n,r,o):function(e,t,n,r,o){for(var i=0===r.length,a=Object.keys(e).filter(i?w:E).map((function(t){return p(t,e[t],r)})),s=a.length,u=Object.keys(t).filter(i?w:E).map((function(e){return p(e,t[e],r)})),l=u.length,c=0;c<s;c++){var d=a[c];d in t||o.push({op:"unset",path:r.concat(d)})}for(var f=0;f<l;f++){var h=u[f];y(e[h],t[h],n,r.concat([h]),o)}return o}(e,t,n,r,o):function(e,t,n,r,o){var i=function(e,t,n,r){var o=n.diffMatchPatch,i=o.enabled,a=o.lengthThresholdRelative,s=o.lengthThresholdAbsolute,u=r[r.length-1];if(!i||"string"!==typeof e||"string"!==typeof t||"string"===typeof u&&"_"===u[0]||t.length<s)return;var l="";try{var c=m.diff_main(e,t);m.diff_cleanupEfficiency(c),l=m.patch_toText(m.patch_make(c))}catch(d){return}return l.length>t.length*a?void 0:{op:"diffMatchPatch",path:r,value:l}}(e,t,n,r);return o.push(i||{op:"set",path:r,value:t}),o}(e,t,n,r,o)}function b(e,t,n,r,o){for(var i=0;i<e.length;i++)y(e[i],k(t[i],r,i,n),n,r.concat(i),o);return o}function w(e){return-1===g.indexOf(e)}function x(e){for(var t,n=[],r=0;r<e.length;r++){var o="object"===typeof(t=e[r])&&null!==t&&t._key;if(!o||-1!==n.indexOf(o))return!1;n.push(o)}return!0}function C(e){return e.reduce((function(e,t){return e.keys.push(t._key),e.index[t._key]=t,e}),{keys:[],index:{}})}function k(e,t,n,r){if("undefined"!==typeof e)return e;if(!r.hideWarnings){var o=l(t.concat(n));console.warn("undefined value in array converted to null (at '"+o+"')")}return null}function E(e){return!0}},35027: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"},o={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"},i={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++)i["f"+a]=111+a;function s(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return u(e,t)})),o=function(e){return r.some((function(t){return l(t,e)}))};return null==n?o:o(n)}function u(e,t){var n=t&&t.byKey,a={},s=(e=e.replace("++","+add")).split("+"),u=s.length;for(var l in r)a[r[l]]=!1;var f=!0,h=!1,p=void 0;try{for(var g,m=s[Symbol.iterator]();!(f=(g=m.next()).done);f=!0){var v=g.value,y=v.endsWith("?")&&v.length>1;y&&(v=v.slice(0,-1));var b=d(v),w=r[b];if(v.length>1&&!w&&!o[v]&&!i[b])throw new TypeError('Unknown modifier: "'+v+'"');1!==u&&w||(n?a.key=b:a.which=c(v)),w&&(a[w]=!y||null)}}catch(x){h=!0,p=x}finally{try{!f&&m.return&&m.return()}finally{if(h)throw p}}return a}function l(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}function c(e){return e=d(e),i[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=o[e]||e}t.ZP=s},60506:function(e,t,n){"use strict";n.d(t,{P0:function(){return r.P0}});var r=n(51776);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 $},NZ:function(){return j},PM:function(){return C},Px:function(){return T},nR:function(){return k},pG:function(){return M},rJ:function(){return A},tv:function(){return w},z:function(){return J}});var r=n(85893),o=n(67294),i=n(90634),a=n.n(i),s=n(85564),u=n.n(s),l=n(91966),c=n.n(l),d=n(25325),f=n.n(d),h=n(68630),p=n.n(h),g=n(78718),m=n.n(g),v=n(6557),y=n.n(v);const b=o.createContext(null);function w(){const e=(0,o.useContext)(b);if(!e)throw new Error("Router: missing context value");return e}function x(e){const{onClick:t,href:n,target:r,replace:i=!1}=e,{navigateUrl:a}=w();return{onClick:(0,o.useCallback)((e=>{e.isDefaultPrevented()||n&&(t&&t(e),!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)&&function(e){return 0===e.button}(e)&&(r||(e.preventDefault(),a({path:n,replace:i}))))}),[n,a,t,i,r])}}function C(e){const{intent:t,onClick:n,params:r,replace:i,target:a}=e,{resolveIntentLink:s}=w(),u=(0,o.useMemo)((()=>s(t,r)),[t,r,s]),{onClick:l}=x({href:u,onClick:n,replace:i,target:a});return{onClick:l,href:u}}const k=(0,o.forwardRef)((function(e,t){const{intent:n,params:o,target:i,...a}=e,{onClick:s,href:u}=C({intent:n,params:o,target:i,onClick:e.onClick});return(0,r.jsx)("a",{...a,href:u,onClick:s,ref:t,target:i})})),E=((0,o.forwardRef)((function(e,t){const{onClick:n,href:o,target:i,replace:a,...s}=e,{onClick:u}=x({onClick:n,href:o,target:i,replace:a});return(0,r.jsx)("a",{...s,onClick:u,href:o,target:i,ref:t})})),Object.prototype.hasOwnProperty),_=E.call.bind(E);function S(e,t,n){return n&&{...e,[t]:n}}function j(e){const{children:t,scope:n}=e,i=w(),{resolvePathFromState:a,navigate:s}=i,u=(0,o.useCallback)((e=>{const t=function(e){for(const t in e)if(_(e,t))return!1;return!0}(e)?{}:S(i.state,n,e);return a(t)}),[a,i.state,n]),l=(0,o.useCallback)(((e,t)=>{const r=S(i.state,n,e);s(r,t)}),[s,i.state,n]),c=(0,o.useMemo)((()=>({...i,navigate:l,resolvePathFromState:u,state:i.state[n]})),[l,i,u,n]);return(0,r.jsx)(b.Provider,{value:c,children:t})}function M(e){const{onNavigate:t,router:n,state:i}=e,a=(0,o.useCallback)(((e,t)=>{const[r,o]=Array.isArray(t)?t:[t];return n.encode({intent:e,params:r,payload:o})}),[n]),s=(0,o.useCallback)((e=>n.encode(e)),[n]),u=(0,o.useCallback)((function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t({path:s(e),replace:n.replace})}),[t,s]),l=(0,o.useCallback)((function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};
1t({path:a(e,n),replace:r.replace})}),[t,a]),c=(0,o.useMemo)((()=>({navigate:u,navigateIntent:l,navigateUrl:t,resolveIntentLink:a,resolvePathFromState:s,state:i})),[u,l,t,a,s,i]);return(0,r.jsx)(b.Provider,{value:c,children:e.children})}const O={};function A(e){const{onClick:t,replace:n,state:r,target:i,toIndex:a=!1}=e;if(r&&a)throw new Error("Passing both `state` and `toIndex={true}` as props to StateLink is invalid");r||a||console.error(new Error("No state passed to StateLink. If you want to link to an empty state, its better to use the the `toIndex` property"));const{resolvePathFromState:s}=w(),u=(0,o.useMemo)((()=>s(a?O:r||O)),[s,r,a]),{onClick:l}=x({href:u,onClick:t,replace:n,target:i});return{onClick:l,href:u}}const T=(0,o.forwardRef)((function(e,t){const{onClick:n,replace:o,state:i,target:a,toIndex:s=!1,...u}=e,{onClick:l,href:c}=A({onClick:n,replace:o,state:i,target:a,toIndex:s});return(0,r.jsx)("a",{...u,href:c,onClick:l,ref:t})})),R=/^[a-zA-Z0-9_-]+$/;function L(e){if(!e)return null;if(e.startsWith(":")){const t=e.substring(1);if(!R.test(t)){const t=e.includes("*")?" Splats are not supported. Consider using child routes instead":"";console.error(new Error('Warning: Param segments "'.concat(e,'" includes invalid characters.').concat(t)))}return{type:"param",name:t}}return{type:"dir",name:e}}const D=a()("state-router");function P(e){return Array.isArray(e)?e:e?[e]:[]}function I(e,t){const n=t.split("/").filter(Boolean),r=e.route.segments.length;if(n.length<r)return null;const o={};if(!e.route.segments.every(((t,r)=>{if("dir"===t.type)return t.name===n[r];const i=e.transform&&e.transform[t.name];return o[t.name]=i?i.toState(n[r]):n[r],!0})))return null;const i=n.slice(r);let a=null;if(("function"===typeof e.children?P(e.children(o)):e.children).some((e=>{if(e)return a=I(e,i.join("/")),a})),i.length>0&&!a)return null;const s={...o,...a||{}};return e.scope?{[e.scope]:s}:s}function F(e,t){D("resolving state from path %s",t);const n=I(e,t.split("?")[0]);return D("resolved: %o",n||null),n||null}function Z(e){return p()(e)}function N(e,t,n){return{nodes:e,missing:t,remaining:n}}function H(e,t){if(!t)return N([],[],[]);const n=e.scope?t[e.scope]:t,r=e.route.segments.filter((e=>"param"===e.type)).map((e=>e.name)),o=Z(n)?Object.keys(n):[],i=f()(o,r),a=c()(r,i),s=c()(o,i);if(a.length>0)return N([],a,[]);if(0===s.length)return N([e],[],[]);const u=P(("function"===typeof e.children?e.children(Z(n)?n:{}):e.children)||[]);if(s.length>0&&0===u.length)return N([],s,[]);const l=m()(n,s);let d={nodes:[],remaining:[],missing:[]};return P(u).some((e=>(d=H(e,l),d.nodes.length>0))),0===d.nodes.length?N([],a,s):N([e,...d.nodes],d.missing,d.remaining)}function B(e,t){D("Resolving path from state %o",t);const n=H(e,t);if(n.remaining.length>0){const e=n.remaining;throw new Error("Unable to find matching route for state. Could not map the following state key".concat(1==e.length?"":"s"," to a valid url: ").concat(e.join(", ")))}if(0===n.nodes.length)throw new Error("Unable to resolve path from given state: ".concat(JSON.stringify(t)));let r=t;const o=u()(n.nodes.map((e=>(e.scope&&e.scope in r&&(r=r[e.scope]),e.route.segments.map((t=>{if("dir"===t.type)return t.name;const n=e.transform&&e.transform[t.name];return n?n.toPath(r[t.name]):r[t.name]})))))).join("/");return D("Resolved to /%s",o),"/".concat(o)}function V(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=decodeURIComponent(e);if(!t)return{};try{return JSON.parse(atob(t))}catch(n){}try{return JSON.parse(t)}catch(n){console.warn("Failed to parse JSON parameters")}return{}}function z(e){return e?btoa(JSON.stringify(e)):""}function U(e){return e.split(";").reduce(((e,t)=>{const[n,r]=t.split("=");return e[decodeURIComponent(n)]=decodeURIComponent(r),e}),{})}function W(e){return Object.entries(e).filter((e=>{let[,t]=e;return void 0!==t&&null!==t})).map((e=>{let[t,n]=e;return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n))})).join(";")}const $={create:(e,t,n)=>X(G(e,t,n)),intents:e=>{const t=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>
1e.concat(t.split("/"))),[]).filter(Boolean)}(e).join("/");return $.create("".concat(t,"/:intent"),[$.create(":params",{transform:{params:{toState:U,toPath:W}}},[$.create(":payload",{transform:{payload:{toState:V,toPath:z}}})])])},scope:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const o=G(...n);return X({...o,scope:e})}};function q(e){return Array.isArray(e)||"function"===typeof e?e:e?[e]:[]}function G(e,t,n){return"object"===typeof e?e:Array.isArray(t)||"function"===typeof t||(r=t)&&"_isRoute"in r?{path:e,children:q(t)}:n?{path:e,...t,children:q(n)}:{path:e,...t};var r}const Y={};function K(e){return e.split("/").every((e=>!e))}function X(e){const{path:t,scope:n,transform:r,children:o}=e;if(!t)throw new TypeError("Missing path");const i=function(e){const[t]=e.split("?");return{raw:e,segments:t.split("/").map(L).filter(Boolean)}}(t);return{_isRoute:!0,scope:n,route:i,children:o||[],transform:r,encode(e){return B(this,e)},decode(e){return F(this,e)},isRoot:K,isNotFound(e){return null===this.decode(e)},getBasePath(){return this.encode(Y)},getRedirectBase(e){if(K(e)){const t=this.getBasePath();if(e!==t)return t}return null}}}function J(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y();const{state:t}=w();return(0,o.useMemo)((()=>e(t)),[e,t])}!function(e){function t(t){const n=w();return(0,r.jsx)(e,{...t,router:n})}t.displayName="withRouter(".concat(e.displayName||e.name,")")}((e=>e.children(e.router)))},90634:function(e,t,n){"use strict";var r=n(34155);function o(e){return o="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},o(e)}t.log=function(){var e;return"object"===("undefined"===typeof console?"undefined":o(console))&&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)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,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){}!e&&"undefined"!==typeof r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"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(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),t|=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=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var i=a,s=Number(new Date),u=s-(n||s);i.diff=u,i.prev=n,i.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!==typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var o=r.formatters[n];if("function"===typeof o){var a=t[l];e=o.call(i,a),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var c=i.log||r.log;c.apply(i,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=o,a.extend=i,"function"===typeof r.init&&r.init(a),r.instances.push(a),a}function o(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+("undefined"===typeof t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"===typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;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}},38993:function(e){e.exports=function(e,t,n){if(null===e!==(null===t))return!1;var r=Array.isArray(e),o=Array.isArray(t);if(r!==o)return!1;var i=typeof e;return i===typeof t&&(function(e){return"function"!==e&&"object"!==e}(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 o=0;o<r;o++)if(!n(e[o],t[o]))return!1}else for(o=0;o<r;o++)if(e[o]!==t[o])return!1;return!0}(e,t,n):function(e,t,n){var r=0,o=0;if(n)for(var i in e){if(e.hasOwnProperty(i)&&!n(e[i],t[i]))return!1;r++}else for(var i in e){if(e.hasOwnProperty(i)&&e[i]!==t[i])return!1;r++}for(var i in t)t.hasOwnProperty(i)&&o++;return r===o}
1(e,t,n))}},96774:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<i.length;u++){var l=i[u];if(!s(l))return!1;var c=e[l],d=t[l];if(!1===(o=n?n.call(r,c,d,l):void 0)||void 0===o&&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;!function(r){"use strict";var o={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"Ae","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"Oe","\u0150":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"Ue","\u0170":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"ae","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"oe","\u0151":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"ue","\u0171":"u","\xfd":"y","\xfe":"th","\xff":"y","\u1e9e":"SS","\u0627":"a","\u0623":"a","\u0625":"i","\u0622":"aa","\u0624":"u","\u0626":"e","\u0621":"a","\u0628":"b","\u062a":"t","\u062b":"th","\u062c":"j","\u062d":"h","\u062e":"kh","\u062f":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063a":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u064a":"y","\u0649":"a","\u0629":"h","\ufefb":"la","\ufef7":"laa","\ufef9":"lai","\ufef5":"laa","\u06af":"g","\u0686":"ch","\u067e":"p","\u0698":"zh","\u06a9":"k","\u06cc":"y","\u064e":"a","\u064b":"an","\u0650":"e","\u064d":"en","\u064f":"u","\u064c":"on","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u1000":"k","\u1001":"kh","\u1002":"g","\u1003":"ga","\u1004":"ng","\u1005":"s","\u1006":"sa","\u1007":"z","\u1005\u103b":"za","\u100a":"ny","\u100b":"t","\u100c":"ta","\u100d":"d","\u100e":"da","\u100f":"na","\u1010":"t","\u1011":"ta","\u1012":"d","\u1013":"da","\u1014":"n","\u1015":"p","\u1016":"pa","\u1017":"b","\u1018":"ba","\u1019":"m","\u101a":"y","\u101b":"ya","\u101c":"l","\u101d":"w","\u101e":"th","\u101f":"h","\u1020":"la","\u1021":"a","\u103c":"y","\u103b":"ya","\u103d":"w","\u103c\u103d":"yw","\u103b\u103d":"ywa","\u103e":"h","\u1027":"e","\u104f":"-e","\u1023":"i","\u1024":"-i","\u1009":"u","\u1026":"-u","\u1029":"aw","\u101e\u103c\u1031\u102c":"aw","\u102a":"aw","\u1040":"0","\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1039":"","\u1037":"","\u1038":"","\u010d":"c","\u010f":"d","\u011b":"e","\u0148":"n","\u0159":"r","\u0161":"s","\u0165":"t","\u016f":"u","\u017e":"z","\u010c":"C","\u010e":"D","\u011a":"E","\u0147":"N","\u0158":"R","\u0160":"S","\u0164":"T","\u016e":"U","\u017d":"Z","\u0780":"h","\u0781":"sh","\u0782":"n","\u0783":"r","\u0784":"b","\u0785":"lh","\u0786":"k","\u0787":"a","\u0788":"v","\u0789":"m","\u078a":"f","\u078b":"dh","\u078c":"th","\u078d":"l","\u078e":"g","\u078f":"gn","\u0790":"s","\u0791":"d","\u0792":"z","\u0793":"t","\u0794":"y","\u0795":"p","\u0796":"j","\u0797":"ch","\u0798":"tt","\u0799":"hh","\u079a":"kh","\u079b":"th","\u079c":"z","\u079d":"sh","\u079e":"s","\u079f":"d","\u07a0":"t","\u07a1":"z","\u07a2":"a","\u07a3":"gh","\u07a4":"q","\u07a5":"w","\u07a6":"a","\u07a7":"aa","\u07a8":"i","\u07a9":"ee","\u07aa":"u","\u07ab":"oo","\u07ac":"e","\u07ad":"ey","\u07ae":"o","\u07af":"oa","\u07b0":"","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"p","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u03b1":"a","\u03b2":"v","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"i","\u03b8":"th","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"ks","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"o","\u03ac":"a","\u03ad":"e","\u03af":"i","\u03cc":"o","\u03cd":"y","\u03ae":"i","\u03ce":"o","\u03c2":"s","\u03ca":"i","\u03b0":"y","\u03cb":"y","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"I","\u0398":"TH","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"KS","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"O","\u0386":"A","\u0388":"E","\u038a":"I","\u038c":"O","\u038e":"Y","\u0389":"I","\u038f":"O","\u03aa":"I","\u03ab":"Y","\u0101":"a","\u0113":"e","\u0123":"g","\u012b":"i","\u0137":"k","\u013c":"l","\u0146":"n","\u016b":"u","\u0100":"A","\u0112":"E","\u0122":"G","\u012a":"I","\u0136":"k","\u013b":"L","\u0145":"N","\u016a":"U","\u040c":"Kj","\u045c":"kj","\u0409":"Lj","\u0459":"lj","\u040a":"Nj","\u045a":"nj","\u0422\u0441":"Ts","\u0442\u0441":"ts","\u0105":"a","\u0107":"c","\u0119":"e","\u0142":"l","\u0144":"n","\u015b":"s","\u017a":"z","\u017c":"z","\u0104":"A","\u0106":"C","\u0118":"E","\u0141":"L","\u0143":"N","\u015a":"S","\u0179":"Z","\u017b":"Z","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0490":"G","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0491":"g","\u0103":"a","\u0102":"A","\u0219":"s","\u0218":"S","\u021b":"t","\u021a":"T","\u0163":"t","\u0162":"T","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0451":"yo","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"i","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"kh","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0401":"Yo","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"I","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"Kh","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0452":"dj","\u0458":"j","\u045b":"c","\u045f":"dz","\u0402":"Dj","\u0408":"j","\u040b":"C","\u040f":"Dz","\u013e":"l","\u013a":"l","\u0155":"r","\u013d":"L","\u0139":"L","\u0154":"R","\u015f":"s","\u015e":"S","\u0131":"i","\u0130":"I","\u011f":"g","\u011e":"G","\u1ea3":"a","\u1ea2":"A","\u1eb3":"a","\u1eb2":"A","\u1ea9":"a","\u1ea8":"A","\u0111":"d","\u0110":"D","\u1eb9":"e","\u1eb8":"E","\u1ebd":"e","\u1ebc":"E","\u1ebb":"e","\u1eba":"E","\u1ebf":"e","\u1ebe":"E","\u1ec1":"e","\u1ec0":"E","\u1ec7":"e","\u1ec6":"E","\u1ec5":"e","\u1ec4":"E","\u1ec3":"e","\u1ec2":"E","\u1ecf":"o","\u1ecd":"o","\u1ecc":"o","\u1ed1":"o","\u1ed0":"O","\u1ed3":"o","\u1ed2":"O","\u1ed5":"o","\u1ed4":"O","\u1ed9":"o","\u1ed8":"O","\u1ed7":"o","\u1ed6":"O","\u01a1":"o","\u01a0":"O","\u1edb":"o","\u1eda":"O","\u1edd":"o","\u1edc":"O","\u1ee3":"o","\u1ee2":"O","\u1ee1":"o","\u1ee0":"O","\u1ede":"o","\u1edf":"o","\u1ecb":"i","\u1eca":"I","\u0129":"i","\u0128":"I","\u1ec9":"i","\u1ec8":"i","\u1ee7":"u","\u1ee6":"U","\u1ee5":"u","\u1ee4":"U","\u0169":"u","\u0168":"U","\u01b0":"u","\u01af":"U","\u1ee9":"u","\u1ee8":"U","\u1eeb":"u","\u1eea":"U","\u1ef1":"u","\u1ef0":"U","\u1eef":"u","\u1eee":"U","\u1eed":"u","\u1eec":"\u01b0","\u1ef7":"y","\u1ef6":"y","\u1ef3":"y","\u1ef2":"Y","\u1ef5":"y","\u1ef4":"Y","\u1ef9":"y","\u1ef8":"Y","\u1ea1":"a","\u1ea0":"A","\u1ea5":"a","\u1ea4":"A","\u1ea7":"a","\u1ea6":"A","\u1ead":"a","\u1eac":"A","\u1eab":"a","\u1eaa":"A","\u1eaf":"a","\u1eae":"A","\u1eb1":"a","\u1eb0":"A","\u1eb7":"a","\u1eb6":"A","\u1eb5":"a","\u1eb4":"A","\u24ea":"0","\u2460":"1","\u2461":"2","\u2462":"3","\u2463":"4","\u2464":"5","\u2465":"6","\u2466":"7","\u2467":"8","\u2468":"9","\u2469":"10","\u246a":"11","\u246b":"12","\u246c":"13","\u246d":"14","\u246e":"15","\u246f":"16","\u2470":"17","\u2471":"18","\u2472":"18","\u2473":"18","\u24f5":"1","\u24f6":"2","\u24f7":"3","\u24f8":"4","\u24f9":"5","\u24fa":"6","\u24fb":"7","\u24fc":"8","\u24fd":"9","\u24fe":"10","\u24ff":"0","\u24eb":"11","\u24ec":"12","\u24ed":"13","\u24ee":"14","\u24ef":"15","\u24f0":"16","\u24f1":"17","\u24f2":"18","\u24f3":"19","\u24f4":"20","\u24b6":"A","\u24b7":"B","\u24b8":"C","\u24b9":"D","\u24ba":"E","\u24bb":"F","\u24bc":"G","\u24bd":"H","\u24be":"I","\u24bf":"J","\u24c0":"K","\u24c1":"L","\u24c2":"M","\u24c3":"N","\u24c4":"O","\u24c5":"P","\u24c6":"Q","\u24c7":"R","\u24c8":"S","\u24c9":"T","\u24ca":"U","\u24cb":"V","\u24cc":"W","\u24cd":"X","\u24ce":"Y","\u24cf":"Z","\u24d0":"a","\u24d1":"b","\u24d2":"c","\u24d3":"d","\u24d4":"e","\u24d5":"f","\u24d6":"g","\u24d7":"h","\u24d8":"i","\u24d9":"j","\u24da":"k","\u24db":"l","\u24dc":"m","\u24dd":"n","\u24de":"o","\u24df":"p","\u24e0":"q","\u24e1":"r","\u24e2":"s","\u24e3":"t","\u24e4":"u","\u24e6":"v","\u24e5":"w","\u24e7":"x","\u24e8":"y","\u24e9":"z","\u201c":'"',"\u201d":'"',"\u2018":"'","\u2019":"'","\u2202":"d","\u0192":"f","\u2122":"(TM)","\xa9":"(C)","\u0153":"oe","\u0152":"OE","\xae":"(R)","\u2020":"+","\u2120":"(SM)","\u2026":"...","\u02da":"o","\xba":"o","\xaa":"a","\u2022":"*","\u104a":",","\u104b":".",$:"USD","\u20ac":"EUR","\u20a2":"BRN","\u20a3":"FRF","\xa3":"GBP","\u20a4":"ITL","\u20a6":"NGN","\u20a7":"ESP","\u20a9":"KRW","\u20aa":"ILS","\u20ab":"VND","\u20ad":"LAK","\u20ae":"MNT","\u20af":"GRD","\u20b1":"ARS","\u20b2":"PYG","\u20b3":"ARA","\u20b4":"UAH","\u20b5":"GHS","\xa2":"cent","\xa5":"CNY","\u5143":"CNY","\u5186":"YEN","\ufdfc":"IRR","\u20a0":"EWE","\u0e3f":"THB","\u20a8":"INR","\u20b9":"INR","\u20b0":"PF","\u20ba":"TRY","\u060b":"AFN","\u20b
1c":"AZN","\u043b\u0432":"BGN","\u17db":"KHR","\u20a1":"CRC","\u20b8":"KZT","\u0434\u0435\u043d":"MKD","z\u0142":"PLN","\u20bd":"RUB","\u20be":"GEL"},i=["\u103a","\u07b0"],a={"\u102c":"a","\u102b":"a","\u1031":"e","\u1032":"e","\u102d":"i","\u102e":"i","\u102d\u102f":"o","\u102f":"u","\u1030":"u","\u1031\u102b\u1004\u103a":"aung","\u1031\u102c":"aw","\u1031\u102c\u103a":"aw","\u1031\u102b":"aw","\u1031\u102b\u103a":"aw","\u103a":"\u103a","\u1000\u103a":"et","\u102d\u102f\u1000\u103a":"aik","\u1031\u102c\u1000\u103a":"auk","\u1004\u103a":"in","\u102d\u102f\u1004\u103a":"aing","\u1031\u102c\u1004\u103a":"aung","\u1005\u103a":"it","\u100a\u103a":"i","\u1010\u103a":"at","\u102d\u1010\u103a":"eik","\u102f\u1010\u103a":"ok","\u103d\u1010\u103a":"ut","\u1031\u1010\u103a":"it","\u1012\u103a":"d","\u102d\u102f\u1012\u103a":"ok","\u102f\u1012\u103a":"ait","\u1014\u103a":"an","\u102c\u1014\u103a":"an","\u102d\u1014\u103a":"ein","\u102f\u1014\u103a":"on","\u103d\u1014\u103a":"un","\u1015\u103a":"at","\u102d\u1015\u103a":"eik","\u102f\u1015\u103a":"ok","\u103d\u1015\u103a":"ut","\u1014\u103a\u102f\u1015\u103a":"nub","\u1019\u103a":"an","\u102d\u1019\u103a":"ein","\u102f\u1019\u103a":"on","\u103d\u1019\u103a":"un","\u101a\u103a":"e","\u102d\u102f\u101c\u103a":"ol","\u1009\u103a":"in","\u1036":"an","\u102d\u1036":"ein","\u102f\u1036":"on","\u07a6\u0787\u07b0":"ah","\u07a6\u0781\u07b0":"ah"},s={en:{},az:{"\xe7":"c","\u0259":"e","\u011f":"g","\u0131":"i","\xf6":"o","\u015f":"s","\xfc":"u","\xc7":"C","\u018f":"E","\u011e":"G","\u0130":"I","\xd6":"O","\u015e":"S","\xdc":"U"},cs:{"\u010d":"c","\u010f":"d","\u011b":"e","\u0148":"n","\u0159":"r","\u0161":"s","\u0165":"t","\u016f":"u","\u017e":"z","\u010c":"C","\u010e":"D","\u011a":"E","\u0147":"N","\u0158":"R","\u0160":"S","\u0164":"T","\u016e":"U","\u017d":"Z"},fi:{"\xe4":"a","\xc4":"A","\xf6":"o","\xd6":"O"},hu:{"\xe4":"a","\xc4":"A","\xf6":"o","\xd6":"O","\xfc":"u","\xdc":"U","\u0171":"u","\u0170":"U"},lt:{"\u0105":"a","\u010d":"c","\u0119":"e","\u0117":"e","\u012f":"i","\u0161":"s","\u0173":"u","\u016b":"u","\u017e":"z","\u0104":"A","\u010c":"C","\u0118":"E","\u0116":"E","\u012e":"I","\u0160":"S","\u0172":"U","\u016a":"U"},lv:{"\u0101":"a","\u010d":"c","\u0113":"e","\u0123":"g","\u012b":"i","\u0137":"k","\u013c":"l","\u0146":"n","\u0161":"s","\u016b":"u","\u017e":"z","\u0100":"A","\u010c":"C","\u0112":"E","\u0122":"G","\u012a":"i","\u0136":"k","\u013b":"L","\u0145":"N","\u0160":"S","\u016a":"u","\u017d":"Z"},pl:{"\u0105":"a","\u0107":"c","\u0119":"e","\u0142":"l","\u0144":"n","\xf3":"o","\u015b":"s","\u017a":"z","\u017c":"z","\u0104":"A","\u0106":"C","\u0118":"e","\u0141":"L","\u0143":"N","\xd3":"O","\u015a":"S","\u0179":"Z","\u017b":"Z"},sv:{"\xe4":"a","\xc4":"A","\xf6":"o","\xd6":"O"},sk:{"\xe4":"a","\xc4":"A"},sr:{"\u0459":"lj","\u045a":"nj","\u0409":"Lj","\u040a":"Nj","\u0111":"dj","\u0110":"Dj"},tr:{"\xdc":"U","\xd6":"O","\xfc":"u","\xf6":"o"}},u={ar:{"\u2206":"delta","\u221e":"la-nihaya","\u2665":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","\u2211":"majmou","\xa4":"omla"},az:{},ca:{"\u2206":"delta","\u221e":"infinit","\u2665":"amor","&":"i","|":"o","<":"menys que",">":"mes que","\u2211":"suma dels","\xa4":"moneda"},cs:{"\u2206":"delta","\u221e":"nekonecno","\u2665":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","\u2211":"soucet","\xa4":"mena"},de:{"\u2206":"delta","\u221e":"unendlich","\u2665":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","\u2211":"Summe von","\xa4":"Waehrung"},dv:{"\u2206":"delta","\u221e":"kolunulaa","\u2665":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","\u2211":"jumula","\xa4":"faisaa"},en:{"\u2206":"delta","\u221e":"infinity","\u2665":"love","&":"and","|":"or","<":"less than",">":"greater than","\u2211":"sum","\xa4":"currency"},es:{"\u2206":"delta","\u221e":"infinito","\u2665":"amor","&":"y","|":"u","<":"menos que",">":"mas que","\u2211":"suma de los","\xa4":"moneda"},fa:{"\u2206":"delta","\u221e":"bi-nahayat","\u2665":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","\u2211":"majmooe","\xa4":"vahed"},fi:{"\u2206":"delta","\u221e":"aarettomyys","\u2665":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","\u2211":"summa","\xa4":"valuutta"},fr:{"\u2206":"delta","\u221e":"infiniment","\u2665":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","\u2211":"somme des","\xa4":"monnaie"},ge:{"\u2206":"delta","\u221e":"usasruloba","\u2665":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","\u2211":"jami","\xa4":"valuta"},gr:{},hu:{"\u2206":"delta","\u221e":"vegtelen","\u2665":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","\u2211":"szumma","\xa4":"penznem"},it:{"\u2206":"delta","\u221e":"infinito","\u2665":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","\u2211":"somma","\xa4":"moneta"},lt:{"\u2206":"delta","\u221e":"begalybe","\u2665":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","\u2211":"suma","\xa4":"valiuta"},lv:{"\u2206":"delta","\u221e":"bezgaliba","\u2665":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","\u2211":"summa","\xa4":"valuta"},my:{"\u2206":"kwahkhyaet","\u221e":"asaonasme","\u2665":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","\u2211":"paungld","\xa4":"ngwekye"},mk:{},nl:{"\u2206":"delta","\u221e":"oneindig","\u2665":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","\u2211":"som","\xa4":"valuta"},pl:{"\u2206":"delta","\u221e":"nieskonczonosc","\u2665":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","\u2211":"suma","\xa4":"waluta"},pt:{"\u2206":"delta","\u221e":"infinito","\u2665":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","\u2211":"soma","\xa4":"moeda"},ro:{"\u2206":"delta","\u221e":"infinit","\u2665":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","\u2211":"suma","\xa4":"valuta"},ru:{"\u2206":"delta","\u221e":"beskonechno","\u2665":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","\u2211":"summa","\xa4":"valjuta"},sk:{"\u2206":"delta","\u221e":"nekonecno","\u2665":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","\u2211":"sucet","\xa4":"mena"},sr:{},tr:{"\u2206":"delta","\u221e":"sonsuzluk","\u2665":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","\u2211":"toplam","\xa4":"para birimi"},uk:{"\u2206":"delta","\u221e":"bezkinechnist","\u2665":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","\u2211":"suma","\xa4":"valjuta"},vn:{"\u2206":"delta","\u221e":"vo cuc","\u2665":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","\u2211":"tong","\xa4":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),d=[".","!","~","*","'","(",")"].join(""),f=function(e,t){var n,r,f,g,m,v,y,b,w,x,C,k,E,_,S="-",j="",M="",O=!0,A={},T="";if("string"!==typeof e)return"";if("string"===typeof t&&(S=t),y=u.en,b=s.en,"object"===typeof t)for(C in n=t.maintainCase||!1,A=t.custom&&"object"===typeof t.custom?t.custom:A,f=+t.truncate>1&&t.truncate||!1,g=t.uric||!1,m=t.uricNoSlash||!1,v=t.mark||!1,O=!1!==t.symbols&&!1!==t.lang,S=t.separator||S,g&&(T+=l),m&&(T+=c),v&&(T+=d),y=t.lang&&u[t.lang]&&O?u[t.lang]:O?u.en:{},b=t.lang&&s[t.lang]?s[t.lang]:!1===t.lang||!0===t.lang?{}:s.en,t.titleCase&&"number"===typeof t.titleCase.length&&Array.prototype.toString.call(t.titleCase)?(t.titleCase.forEach((function(e){A[e+""]=e+""})),r=!0):r=!!t.titleCase,t.custom&&"number"===typeof t.custom.length&&Array.prototype.toString.call(t.custom)&&t.custom.forEach((function(e){A[e+""]=e+""})),Object.keys(A).forEach((function(t){var n;n=t.length>1?new RegExp("\\b"+h(t)+"\\b","gi"):new RegExp(h(t),"gi"),e=e.replace(n,A[t])})),A)T+=C;for(T=h(T+=S),E=!1,_=!1,x=0,k=(e=e.replace(/(^\s+|\s+$)/g,"")).length;x<k;x++)C=e[x],p(C,A)?E=!1:b[C]?(C=E&&b[C].match(/[A-Za-z0-9]/)?" "+b[C]:b[C],E=!1):C in o?(x+1<k&&i.indexOf(e[x+1])>=0?(M+=C,C=""):!0===_?(C=a[M]+o[C],M=""):C=E&&o[C].match(/[A-Za-z0-9]/)?" "+o[C]:o[C],E=!1,_=!1):C in a?(M+=C,C="",x===k-1&&(C=a[M]),_=!0):!y[C]||g&&-1!==l.indexOf(C)||m&&-1!==c.indexOf(C)?(!0===_?
1(C=a[M]+C,M="",_=!1):E&&(/[A-Za-z0-9]/.test(C)||j.substr(-1).match(/A-Za-z0-9]/))&&(C=" "+C),E=!1):(C=E||j.substr(-1).match(/[A-Za-z0-9]/)?S+y[C]:y[C],C+=void 0!==e[x+1]&&e[x+1].match(/[A-Za-z0-9]/)?S:"",E=!0),j+=C.replace(new RegExp("[^\\w\\s"+T+"_-]","g"),S);return r&&(j=j.replace(/(\w)(\S*)/g,(function(e,t,n){var r=t.toUpperCase()+(null!==n?n:"");return Object.keys(A).indexOf(r.toLowerCase())<0?r:r.toLowerCase()}))),j=j.replace(/\s+/g,S).replace(new RegExp("\\"+S+"+","g"),S).replace(new RegExp("(^\\"+S+"+|\\"+S+"+$)","g"),""),f&&j.length>f&&(w=j.charAt(f)===S,j=j.slice(0,f),w||(j=j.slice(0,j.lastIndexOf(S)))),n||r||(j=j.toLowerCase()),j},h=function(e){return e.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},p=function(e,t){for(var n in t)if(t[n]===e)return!0};e.exports?(e.exports=f,e.exports.createSlug=function(e){return function(t){return f(t,e)}}):void 0===(n=function(){return f}.apply(t,[]))||(e.exports=n)}()},14141:function(e,t,n){"use strict";n.d(t,{f6:function(){return Re},vJ:function(){return Fe},iv:function(){return we},ZP:function(){return He},F4:function(){return Ze},Fg:function(){return Ne}});var r=n(59864),o=n(67294),i=n(96774),a=n.n(i);var s=function(e){function t(e,r,u,l,f){for(var h,p,g,m,w,C=0,k=0,E=0,_=0,S=0,R=0,D=g=h=0,I=0,F=0,Z=0,N=0,H=u.length,B=H-1,V="",z="",U="",W="";I<H;){if(p=u.charCodeAt(I),I===B&&0!==k+_+E+C&&(0!==k&&(p=47===k?10:47),_=E=C=0,H++,B++),0===k+_+E+C){if(I===B&&(0<F&&(V=V.replace(d,"")),0<V.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:V+=u.charAt(I)}p=59}switch(p){case 123:for(h=(V=V.trim()).charCodeAt(0),g=1,N=++I;I<H;){switch(p=u.charCodeAt(I)){case 123:g++;break;case 125:g--;break;case 47:switch(p=u.charCodeAt(I+1)){case 42:case 47:e:{for(D=I+1;D<B;++D)switch(u.charCodeAt(D)){case 47:if(42===p&&42===u.charCodeAt(D-1)&&I+2!==D){I=D+1;break e}break;case 10:if(47===p){I=D+1;break e}}I=D}}break;case 91:p++;case 40:p++;case 34:case 39:for(;I++<B&&u.charCodeAt(I)!==p;);}if(0===g)break;I++}if(g=u.substring(N,I),0===h&&(h=(V=V.replace(c,"").trim()).charCodeAt(0)),64===h){switch(0<F&&(V=V.replace(d,"")),p=V.charCodeAt(1)){case 100:case 109:case 115:case 45:F=r;break;default:F=T}if(N=(g=t(r,F,g,p,f+1)).length,0<L&&(w=s(3,g,F=n(T,V,Z),r,M,j,N,p,f,l),V=F.join(""),void 0!==w&&0===(N=(g=w.trim()).length)&&(p=0,g="")),0<N)switch(p){case 115:V=V.replace(x,a);case 100:case 109:case 45:g=V+"{"+g+"}";break;case 107:g=(V=V.replace(v,"$1 $2"))+"{"+g+"}",g=1===A||2===A&&i("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=V+g,112===l&&(z+=g,g="")}else g=""}else g=t(r,n(r,V,Z),g,l,f+1);U+=g,g=Z=F=D=h=0,V="",p=u.charCodeAt(++I);break;case 125:case 59:if(1<(N=(V=(0<F?V.replace(d,""):V).trim()).length))switch(0===D&&(h=V.charCodeAt(0),45===h||96<h&&123>h)&&(N=(V=V.replace(" ",":")).length),0<L&&void 0!==(w=s(1,V,r,e,M,j,z.length,l,f,l))&&0===(N=(V=w.trim()).length)&&(V="\0\0"),h=V.charCodeAt(0),p=V.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){W+=V+u.charAt(I);break}default:58!==V.charCodeAt(N-1)&&(z+=o(V,h,p,V.charCodeAt(2)))}Z=F=D=h=0,V="",p=u.charCodeAt(++I)}}switch(p){case 13:case 10:47===k?k=0:0===1+h&&107!==l&&0<V.length&&(F=1,V+="\0"),0<L*P&&s(0,V,r,e,M,j,z.length,l,f,l),j=1,M++;break;case 59:case 125:if(0===k+_+E+C){j++;break}default:switch(j++,m=u.charAt(I),p){case 9:case 32:if(0===_+C+k)switch(S){case 44:case 58:case 9:case 32:m="";break;default:32!==p&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===_+k+C&&(F=Z=1,m="\f"+m);break;case 108:if(0===_+k+C+O&&0<D)switch(I-D){case 2:112===S&&58===u.charCodeAt(I-3)&&(O=S);case 8:111===R&&(O=R)}break;case 58:0===_+k+C&&(D=I);break;case 44:0===k+E+_+C&&(F=1,m+="\r");break;case 34:case 39:0===k&&(_=_===p?0:0===_?p:_);break;case 91:0===_+k+E&&C++;break;case 93:0===_+k+E&&C--;break;case 41:0===_+k+C&&E--;break;case 40:if(0===_+k+C){if(0===h)if(2*S+3*R===533);else h=1;E++}break;case 64:0===k+E+_+C+D+g&&(g=1);break;case 42:case 47:if(!(0<_+C+E))switch(k){case 0:switch(2*p+3*u.charCodeAt(I+1)){case 235:k=47;break;case 220:N=I,k=42}break;case 42:47===p&&42===S&&N+2!==I&&(33===u.charCodeAt(N+2)&&(z+=u.substring(N,I+1)),m="",k=0)}}0===k&&(V+=m)}R=S,S=p,I++}if(0<(N=z.length)){if(F=r,0<L&&(void 0!==(w=s(2,z,F,e,M,j,N,l,f,l))&&0===(z=w).length))return W+z+U;if(z=F.join(",")+"{"+z+"}",0!==A*O){switch(2!==A||i(z,2)||(O=0),O){case 111:z=z.replace(b,":-moz-$1")+z;break;case 112:z=z.replace(y,"::-webkit-input-$1")+z.replace(y,"::-moz-$1")+z.replace(y,":-ms-input-$1")+z}O=0}}return W+z+U}function n(e,t,n){var o=t.trim().split(g);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<i;++s)for(var l=0;l<a;++l)t[u++]=r(e[l]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>
vendor: 4,097 bytes, line 1
1r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===A||2===A&&i(u,1)?"-webkit-"+u+u:u}if(0===A||2===A&&!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(S,"$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"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return h.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(w,"tb");break;case 232:u=a.replace(w,"tb-rl");break;case 220:u=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===_.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$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),D(2!==t?r:r.replace(E,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(C," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,u,c){for(var d,f=0,h=t;f<L;++f)switch(d=R[f].call(l,e,h,n,r,o,i,a,s,u,c)){case void 0:case!1:case!0:case null:break;default:h=d}if(h!==t)return h}function u(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!==typeof e?A=1:(A=2,D=e):A=0),u}function l(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<L){var o=s(-1,n,r,r,M,j,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var i=t(T,r,n,0,0);return 0<L&&(void 0!==(o=s(-2,i,r,r,M,j,i.length,0,0,0))&&(i=o)),"",O=0,j=M=1,i}var c=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,h=/zoo|gra/,p=/([,: ])(transform)/g,g=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}
1/,x=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,k=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,_=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,j=1,M=1,O=0,A=1,T=[],R=[],L=0,D=null,P=0;return l.use=function e(t){switch(t){case void 0:case null:L=R.length=0;break;default:if("function"===typeof t)R[L++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else P=0|!!t}return e},l.set=u,void 0!==e&&u(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};function l(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=l((function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),f=n(8679),h=n.n(f),p=n(34155);function g(){return(g=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 m=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},v=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,r.typeOf)(e)},y=Object.freeze([]),b=Object.freeze({});function w(e){return"function"==typeof e}function x(e){return e.displayName||e.name||"Component"}function C(e){return e&&"string"==typeof e.styledComponentId}var k="undefined"!=typeof p&&void 0!==p.env&&(p.env.REACT_APP_SC_ATTR||p.env.SC_ATTR)||"data-styled",E="undefined"!=typeof window&&"HTMLElement"in window,_=
vendor: 5,064 bytes, line 1
1Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof p&&void 0!==p.env&&(void 0!==p.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==p.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==p.env.REACT_APP_SC_DISABLE_SPEEDY&&p.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==p.env.SC_DISABLE_SPEEDY&&""!==p.env.SC_DISABLE_SPEEDY&&("false"!==p.env.SC_DISABLE_SPEEDY&&p.env.SC_DISABLE_SPEEDY))),S={};function j(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var M=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,o=r;e>=o;)(o<<=1)<0&&j(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,u=t.length;s<u;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 o=n;o<r;o++)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),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),O=new Map,A=new Map,T=1,R=function(e){if(O.has(e))return O.get(e);for(;A.has(T);)T++;var t=T++;return O.set(e,t),A.set(t,e),t},L=function(e){return A.get(e)},D=function(e,t){t>=T&&(T=t+1),O.set(e,t),A.set(t,e)},P="style["+k+'][data-styled-version="5.3.11"]',I=new RegExp("^"+k+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),F=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},Z=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(I);if(s){var u=0|parseInt(s[1],10),l=s[2];0!==u&&(D(l,u),F(e,l,s[3]),e.getTag().insertRules(u,r)),r.length=0}else r.push(a)}}},N=function(){return n.nc},H=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(k))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(k,"active"),r.setAttribute("data-styled-version","5.3.11");var a=N();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},B=function(){function e(e){var t=this.element=H(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 o=t[n];if(o.ownerNode===e)return o}j(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(e){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=H(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}(),U=E,W={isServer:!E,useCSSOMInjection:!_},$=function(){function e(e,t,n){void 0===e&&(e=b),void 0===t&&(t={}),this.options=g({},W,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&E&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(P),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(k)&&(Z(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return R(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(g({},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(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new z(o):r?new B(o):new V(o),new M(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(R(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(R(e),n)}
vendor: 11,713 bytes, line 1
1,t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(R(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="",o=0;o<n;o++){var i=L(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var u=k+".g"+o+'[id="'+i+'"]',l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+=e+",")})),r+=""+s+u+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},e}(),q=/(a)(d)/gi,G=function(e){return String.fromCharCode(e+(e>25?39:97))};function Y(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(q,"$1-$2")}var K=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},X=function(e){return K(5381,e)};function J(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(w(n)&&!C(n))return!1}return!0}var Q=X("5.3.11"),ee=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&J(e),this.componentId=t,this.baseHash=K(Q,t),this.baseStyle=n,$.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=ye(this.rules,e,t,n).join(""),a=Y(K(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var s=n(i,"."+a,void 0,r);t.insertRules(r,a,s)}o.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,l=K(this.baseHash,n.hash),c="",d=0;d<u;d++){var f=this.rules[d];if("string"==typeof f)c+=f;else if(f){var h=ye(f,e,t,n),p=Array.isArray(h)?h.join(""):h;l=K(l,p+d),c+=p}}if(c){var g=Y(l>>>0);if(!t.hasNameForId(r,g)){var m=n(c,"."+g,void 0,r);t.insertRules(r,g,m)}o.push(g)}}return o.join(" ")},e}(),te=/^\s*\/\/.*$/gm,ne=[":","[",".","#"];function re(e){var t,n,r,o,i=void 0===e?b:e,a=i.options,u=void 0===a?b:a,l=i.plugins,c=void 0===l?y:l,d=new s(u),f=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,s,u,l,c,d){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),p=function(e,r,i){return 0===r&&-1!==ne.indexOf(i[n.length])||i.match(o)?e:"."+t};function g(e,i,a,s){void 0===s&&(s="&");var u=e.replace(te,""),l=i&&a?a+" "+i+" { "+u+" }":u;return t=s,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),d(a||!i?"":i,l)}return d.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,p))},h,function(e){if(-2===e){var t=f;return f=[],t}}])),g.hash=c.length?c.reduce((function(e,t){return t.name||j(15),K(e,t.name)}),5381).toString():"",g}var oe=o.createContext(),ie=(oe.Consumer,o.createContext()),ae=(ie.Consumer,new $),se=re();function ue(){return(0,o.useContext)(oe)||ae}function le(){return(0,o.useContext)(ie)||se}function ce(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=ue(),s=(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]),u=(0,o.useMemo)((function(){return re({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,o.useEffect)((function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),o.createElement(oe.Provider,{value:s},o.createElement(ie.Provider,{value:u},e.children))}var de=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=se);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 j(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=se),this.name+e.hash},e}(),fe=/([A-Z])/,he=/([A-Z])/g,pe=/^ms-/,ge=function(e){return"-"+e.toLowerCase()};function me(e){return fe.test(e)?e.replace(he,ge).replace(pe,"-ms-"):e}var ve=function(e){return null==e||!1===e||""===e};function ye(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=ye(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return ve(e)?"":C(e)?"."+e.styledComponentId:w(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:ye(e(t),t,n,r):e instanceof de?n?(e.inject(n,r),e.getName(r)):e:v(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!ve(t[a])&&(Array.isArray(t[a])&&t[a].isCss||w(t[a])?i.push(me(a)+":",t[a],";"):v(t[a])?i.push.apply(i,e(t[a],a)):i.push(me(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in u||r.startsWith("--")?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var l}var be=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function we(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return w(e)||v(e)?be(ye(m(y,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:be(ye(m(e,n)))}new Set;var xe=function(e,t,n){return void 0===n&&(n=b),e.theme!==n.theme&&e.theme||t||n.theme},Ce=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Ee(e){return e.replace(Ce,"-").replace(ke,"")}var _e=function(e){return Y(X(e)>>>0)};function Se(e){return"string"==typeof e&&!0}var je=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Me=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Oe(e,t,n){var r=e[n];je(t)&&je(r)?Ae(r,t):e[n]=t}function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(je(a))for(var s in a)Me(s)&&Oe(e,a[s],s)}return e}var Te=o.createContext();Te.Consumer;function Re(e){var t=(0,o.useContext)(Te),n=(0,o.useMemo)((function(){return function(e,t){return e?w(e)?e(t):Array.isArray(e)||"object"!=typeof e?j(8):t?g({},t,{},e):e:j(14)}(e.theme,t)}),[e.theme,t]);return e.children?o.createElement(Te.Provider,{value:n},e.children):null}var Le={};function De(e,t,n){var r=C(e),i=!Se(e),a=t.attrs,s=void 0===a?y:a,u=t.componentId,l=void 0===u?function(e,t){var n="string"!=typeof e?"sc":Ee(e);Le[n]=(Le[n]||0)+1;var r=n+"-"+_e("5.3.11"+n+Le[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):u,c=t.displayName,f=void 0===c?function(e){return Se(e)?"styled."+e:"Styled("+x(e)+")"}(e):c,p=t.displayName&&t.componentId?Ee(t.displayName)+"-"+t.componentId:t.componentId||l,m=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,v=t.shouldForwardProp;r&&e.shouldForwardProp&&(v=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var k,E=new ee(n,p,r?e.componentStyle:void 0),_=E.isStatic&&0===s.length,S=function(e,t){return function(e,t,n,r){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,l=e.shouldForwardProp,c=e.styledComponentId,f=e.target,h=function(e,t,n){void 0===e&&(e=b);var r=g({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in w(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(xe(t,(0,o.useContext)(Te),s)||b,t,i),p=h[0],m=h[1],v=function(e,t,n,r){var o=ue(),i=le();return t?e.generateAndInjectStyles(b,o,i):e.generateAndInjectStyles(n,o,i)}(a,r,p),y=n,x=m.$as||t.$as||m.as||t.as||f,C=Se(x),k=m!==t?g({},t,{},m):t,E={};for(var _ in k)"$"!==_[0]&&"as"!==_&&("forwardedAs"===_?E.as=k[_]:(l?l(_,d,x):!C||d(_))&&(E[_]=k[_]));return t.style&&m.style!==t.style&&(E.style=g({},t.style,{},m.style)),E.className=Array.prototype.concat(u,c,v!==c?v:null,t.className,m.className).filter(Boolean).join(" "),E.ref=y,(0,o.createElement)(x,E)}(k,e,t,_)};return S.displayName=f,(k=o.forwardRef(S)).attrs=m,k.componentStyle=E,k.displayName=f,k.shouldForwardProp=v,k.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):y,k.styledComponentId=p,k.target=r?e.target:e,k.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(Se(e)?e:Ee(x(e)));return De(e,g({},o,{attrs:m,componentId:i}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Ae({},e.defaultProps,t):t}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),i&&h()(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k}var Pe=function(e){return function e(t,n,o){if(void 0===o&&(o=b),!(0,r.isValidElementType)(n))return j(1,String(n));var i=function(){return t(n,o,we.apply(void 0,arguments))};return i.withConfig=function(r){return e(t,n,g({},o,{},r))},i.attrs=function(r){return e(t,n,g({},o,{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},i}(De,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){Pe[e]=Pe(e)}));var Ie=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=J(e),$.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(ye(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&$.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Fe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=we.apply(void 0,[e].concat(n)),a="sc-global-"+_e(JSON.stringify(i)),s=new Ie(i,a);function u(e){var t=ue(),n=le(),r=(0,o.useContext)(Te),i=(0,o.useRef)(t.allocateGSInstance(a)).current;return t.server&&l(i,e,t,r,n),(0,o.useLayoutEffect)((function(){if(!t.server)return l(i,e,t,r,n),function(){return s.removeStyles(i,t)}}),[i,e,t,r,n]),null}function l(e,t,n,r,o){if(s.isStatic)s.renderStyles(e,S,n,o);else{var i=g({},t,{theme:xe(t,r,u.defaultProps)});s.renderStyles(e,i,n,o)}}return o.memo(u)}function Ze(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=we.apply(void 0,[e].concat(n)).join(""),i=_e(o);return new de(i,o)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=N();
1return"<style "+[n&&'nonce="'+n+'"',k+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?j(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return j(2);var n=((t={})[k]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=N();return r&&(n.nonce=r),[o.createElement("style",g({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new $({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?j(2):o.createElement(ce,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return j(3)}}();var Ne=function(){return(0,o.useContext)(Te)},He=Pe},58139:function(e,t,n){"use strict";n.d(t,{Rq:function(){return a}});const r=[];function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;const r=e.length;if(t.length!==r)return!1;for(let o=0;o<r;o++)if(!n(e[o],t[o]))return!1;return!0}function i(e,t=null,n=!1,i={}){null===t&&(t=[e]);for(const u of r)if(o(t,u.keys,u.equal)){if(n)return;if(Object.prototype.hasOwnProperty.call(u,"error"))throw u.error;if(Object.prototype.hasOwnProperty.call(u,"response"))return i.lifespan&&i.lifespan>0&&(u.timeout&&clearTimeout(u.timeout),u.timeout=setTimeout(u.remove,i.lifespan)),u.response;if(!n)throw u.promise}const a={keys:t,equal:i.equal,remove:()=>{const e=r.indexOf(a);-1!==e&&r.splice(e,1)},promise:(s=e,"object"===typeof s&&"function"===typeof s.then?e:e(...t)).then((e=>{a.response=e,i.lifespan&&i.lifespan>0&&(a.timeout=setTimeout(a.remove,i.lifespan))})).catch((e=>a.error=e))};var s;if(r.push(a),!n)throw a.promise}const a=(e,t,n)=>i(e,t,!1,n)},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)}
1)),t&&t.focus()}}},67365:function(e,t,n){"use strict";var r=n(48145);e.exports=function(e,t,n){var i=r(n||t),a=null==t.cascade||t.cascade;return function e(t,n,r){var s,u,l,c,d;if(!i(t,n,r))return null;if(t.children){for(s=[],u=-1;++u<t.children.length;)(l=e(t.children[u],u,t))&&s.push(l);if(a&&t.children.length&&!s.length)return null}for(d in c={},t)o.call(t,d)&&(c[d]="children"===d?s:t[d]);return c}(e,null,null)};var o={}.hasOwnProperty},48145:function(e){"use strict";function t(e){if(null==e)return n;if("string"===typeof e)return function(e){return t;function t(t){return Boolean(t&&t.type===e)}}(e);if("object"===typeof e)return"length"in e?function(e){var n=[],r=-1;for(;++r<e.length;)n[r]=t(e[r]);return o;function o(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(e):function(e){return t;function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"===typeof e)return e;throw new Error("Expected function, string, or object as test")}function n(){return!0}e.exports=t},66750:function(e){e.exports=function(e){return e}},99294:function(e,t,n){"use strict";e.exports=u;var r=n(48145),o=n(66750),i=!0,a="skip",s=!1;function u(e,t,n,u){var l,c;"function"===typeof t&&"function"!==typeof n&&(u=n,n=t,t=null),c=r(t),l=u?-1:1,function e(r,d,f){var h,p="object"===typeof r&&null!==r?r:{};"string"===typeof p.type&&(h="string"===typeof p.tagName?p.tagName:"string"===typeof p.name?p.name:void 0,g.displayName="node ("+o(p.type+(h?"<"+h+">":""))+")");return g;function g(){var o,h,p=f.concat(r),g=[];if((!t||c(r,d,f[f.length-1]||null))&&(g=function(e){if(null!==e&&"object"===typeof e&&"length"in e)return e;if("number"===typeof e)return[i,e];return[e]}(n(r,f)),g[0]===s))return g;if(r.children&&g[0]!==a)for(h=(u?r.children.length:-1)+l;h>-1&&h<r.children.length;){if(o=e(r.children[h],h,p)(),o[0]===s)return o;h="number"===typeof o[1]?o[1]:h+l}return g}}(e,null,[])()}u.CONTINUE=true,u.SKIP=a,u.EXIT=s},98235:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});n(67294);function r(e){const{defaultDpr:t=1,maxDpr:n=3,round:r=!0}=e||{},o="undefined"!==typeof window&&"number"===typeof window.devicePixelRatio?window.devicePixelRatio:t;return Math.min(Math.max(1,r?Math.floor(o):o),n)}},73469:function(e,t,n){"use strict";var r=n(67294).useLayoutEffect;t.Z=r},53250:function(e,t,n){"use strict";var r=n(67294);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return s((function(){o.value=n,o.getSnapshot=t,l(o)&&c({inst:o})}),[e,n,t]),a((function(){return l(o)&&c({inst:o}),e((function(){l(o)&&c({inst:o})}))}),[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},61688:function(e,t,n){"use strict";e.exports=n(53250)},25934:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return d}});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}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;for(var s=function(e){return"string"===typeof e&&a.test(e)},u=[],l=0;l<256;++l)u.push((l+256).toString(16).substr(1));var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();
vendor: 10,141 bytes, line 1
1if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var d=function(e,t,n){var r=(e=e||{}).random||(e.rng||i)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return c(r)}},47529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e};var t=Object.prototype.hasOwnProperty},68207:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var t=/^\s+/,n=/\s+$/;function r(e,t){if(t=t||{},(e=e||"")instanceof r)return e;if(!(this instanceof r))return new r(e,t);var n=o(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function o(t){var n={r:0,g:0,b:0},r=1,o=null,a=null,u=null,c=!1,d=!1;return"string"==typeof t&&(t=H(t)),"object"==e(t)&&(N(t.r)&&N(t.g)&&N(t.b)?(n=i(t.r,t.g,t.b),c=!0,d="%"===String(t.r).substr(-1)?"prgb":"rgb"):N(t.h)&&N(t.s)&&N(t.v)?(o=P(t.s),a=P(t.v),n=l(t.h,o,a),c=!0,d="hsv"):N(t.h)&&N(t.s)&&N(t.l)&&(o=P(t.s),u=P(t.l),n=s(t.h,o,u),c=!0,d="hsl"),t.hasOwnProperty("a")&&(r=t.a)),r=M(r),{ok:c,format:t.format||d,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:r}}function i(e,t,n){return{r:255*O(e,255),g:255*O(t,255),b:255*O(n,255)}}function a(e,t,n){e=O(e,255),t=O(t,255),n=O(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var u=i-a;switch(o=s>.5?u/(2-i-a):u/(i+a),i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,l:s}}function s(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=O(e,360),t=O(t,100),n=O(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;r=a(u,s,e+1/3),o=a(u,s,e),i=a(u,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}function u(e,t,n){e=O(e,255),t=O(t,255),n=O(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i,u=i-a;if(o=0===i?0:u/i,i==a)r=0;else{switch(i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,v:s}}function l(e,t,n){e=6*O(e,360),t=O(t,100),n=O(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),u=r%6;return{r:255*[n,a,i,i,s,n][u],g:255*[s,n,n,a,i,i][u],b:255*[i,i,s,n,n,a][u]}}function c(e,t,n,r){var o=[D(Math.round(e).toString(16)),D(Math.round(t).toString(16)),D(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function d(e,t,n,r,o){var i=[D(Math.round(e).toString(16)),D(Math.round(t).toString(16)),D(Math.round(n).toString(16)),D(I(r))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function f(e,t,n,r){return[D(I(r)),D(Math.round(e).toString(16)),D(Math.round(t).toString(16)),D(Math.round(n).toString(16))].join("")}function h(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s-=t/100,n.s=A(n.s),r(n)}function p(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s+=t/100,n.s=A(n.s),r(n)}function g(e){return r(e).desaturate(100)}function m(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l+=t/100,n.l=A(n.l),r(n)}function v(e,t){t=0===t?0:t||10;var n=r(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),r(n)}function y(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l-=t/100,n.l=A(n.l),r(n)}function b(e,t){var n=r(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,r(n)}function w(e){var t=r(e).toHsl();return t.h=(t.h+180)%360,r(t)}function x(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=r(e).toHsl(),o=[r(e)],i=360/t,a=1;a<t;a++)o.push(r({h:(n.h+a*i)%360,s:n.s,l:n.l}));return o}function C(e){var t=r(e).toHsl(),n=t.h;return[r(e),r({h:(n+72)%360,s:t.s,l:t.l}),r({h:(n+216)%360,s:t.s,l:t.l})]}function k(e,t,n){t=t||6,n=n||30;var o=r(e).toHsl(),i=360/n,a=[r(e)];for(o.h=(o.h-(i*t>>1)+720)%360;--t;)o.h=(o.h+i)%360,a.push(r(o));return a}function E(e,t){t=t||6;for(var n=r(e).toHsv(),o=n.h,i=n.s,a=n.v,s=[],u=1/t;t--;)s.push(r({h:o,s:i,v:a})),a=(a+u)%1;return s}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=M(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=a(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return c(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return d(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*O(this._r,255))+"%",g:Math.round(100*O(this._g,255))+"%",b:Math.round(100*O(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*O(this._r,255))+"%, "+Math.round(100*O(this._g,255))+"%, "+Math.round(100*O(this._b,255))+"%)":"rgba("+Math.round(100*O(this._r,255))+"%, "+Math.round(100*O(this._g,255))+"%, "+Math.round(100*O(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(S[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+f(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var i=r(e);n="#"+f(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return r(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(h,arguments)},saturate:function(){return this._applyModification(p,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(x,[3])},tetrad:function(){return this._applyCombination(x,[4])}},r.fromRatio=function(t,n){if("object"==e(t)){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]="a"===i?t[i]:P(t[i]));t=o}return r(t,n)},r.equals=function(e,t){return!(!e||!t)&&r(e).toRgbString()==r(t).toRgbString()},r.random=function(){return r.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},r.mix=function(e,t,n){n=0===n?0:n||50;var o=r(e).toRgb(),i=r(t).toRgb(),a=n/100;return r({r:(i.r-o.r)*a+o.r,g:(i.g-o.g)*a+o.g,b:(i.b-o.b)*a+o.b,a:(i.a-o.a)*a+o.a})},r.readability=function(e,t){var n=r(e),o=r(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)},r.isReadable=function(e,t,n){var o,i,a=r.readability(e,t);switch(i=!1,(o=B(n)).level+o.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},r.mostReadable=function(e,t,n){var o,i,a,s,u=null,l=0;i=(n=n||{}).includeFallbackColors,a=n.level,s=n.size;
vendor: 1,583 bytes, line 1
1for(var c=0;c<t.length;c++)(o=r.readability(e,t[c]))>l&&(l=o,u=r(t[c]));return r.isReadable(e,u,{level:a,size:s})||!i?u:(n.includeFallbackColors=!1,r.mostReadable(e,["#fff","#000"],n))};var _=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
10",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},S=r.hexNames=j(_);function j(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function M(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function O(e,t){R(e)&&(e="100%");var n=L(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return Math.min(1,Math.max(0,e))}function T(e){return parseInt(e,16)}function R(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function L(e){return"string"===typeof e&&-1!=e.indexOf("%")}function D(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function I(e){return Math.round(255*parseFloat(e)).toString(16)}function F(e){return T(e)/255}var Z=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"
1+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function N(e){return!!Z.CSS_UNIT.exec(e)}function H(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r,o=!1;if(_[e])e=_[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=Z.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=Z.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Z.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=Z.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Z.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=Z.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Z.hex8.exec(e))?{r:T(r[1]),g:T(r[2]),b:T(r[3]),a:F(r[4]),format:o?"name":"hex8"}:(r=Z.hex6.exec(e))?{r:T(r[1]),g:T(r[2]),b:T(r[3]),format:o?"name":"hex"}:(r=Z.hex4.exec(e))?{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),a:F(r[4]+""+r[4]),format:o?"name":"hex8"}:!!(r=Z.hex3.exec(e))&&{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),format:o?"name":"hex"}}function B(e){var t,n;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(n=(e.size||"small").toLowerCase())&&"large"!==n&&(n="small"),{level:t,size:n}}return r}()},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(83997);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},73568:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return s}});var o=n(71002),i=n(97326);function a(e,t){if(t&&("object"===(0,o.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}function s(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(83997);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},87462:function(e,t,n){"use strict";function r(){return r=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},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},60136:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(89611);function o(e,t){if("function"!==typeof t&&null!==t)throw new 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&&(0,r.Z)(e,t)}},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(89611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},1413:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4942);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},45987:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(63366);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},86854:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(c){l=!0,o=c}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},41451:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);var o=n(40181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},83997:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002: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},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},88301:function(e,t,n){"use strict";function r(e){return e.split("-")[1]}function o(e){return"y"===e?"height":"width"}function i(e){return e.split("-")[0]}function a(e){return["top","bottom"].includes(i(e))?"x":"y"}function s(e,t,n){let{reference:s,floating:u}=e;const l=s.x+s.width/2-u.width/2,c=s.y+s.height/2-u.height/2,d=a(t),f=o(d),h=s[f]/2-u[f]/2,p="x"===d;let g;switch(i(t)){case"top":g={x:l,y:s.y-u.height};break;case"bottom":g={x:l,y:s.y+s.height};break;case"right":g={x:s.x+s.width,y:c};break;case"left":g={x:s.x-u.width,y:c};break;default:g={x:s.x,y:s.y}}switch(r(t)){case"start":g[d]-=h*(n&&p?-1:1);break;case"end":g[d]+=h*(n&&p?-1:1)}return g}n.d(t,{Cp:function(){return S},JB:function(){return d},RR:function(){return k},US:function(){return f},cv:function(){return j},oo:function(){return u},uY:function(){return O},x7:function(){return m}});const u=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}
vendor: 5,150 bytes, line 1
1=n,u=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=s(c,r,l),h=r,p={},g=0;for(let m=0;m<u.length;m++){const{name:n,fn:i}=u[m],{x:v,y:y,data:b,reset:w}=await i({x:d,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=v?v:d,f=null!=y?y:f,p={...p,[n]:{...p[n],...b}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(c=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),({x:d,y:f}=s(c,h,l))),m=-1)}return{x:d,y:f,placement:h,strategy:o,middlewareData:p}};function l(e,t){return"function"==typeof e?e(t):e}function c(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function f(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:u}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:m=0}=l(t,e),v=c(m),y=s[g?"floating"===p?"reference":"floating":p],b=d(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(y)))||n?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:f,rootBoundary:h,strategy:u})),w="floating"===p?{...a.floating,x:r,y:o}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),C=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},k=d(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:x,strategy:u}):w);return{top:(b.top-k.top+v.top)/C.y,bottom:(k.bottom-b.bottom+v.bottom)/C.y,left:(b.left-k.left+v.left)/C.x,right:(k.right-b.right+v.right)/C.x}}const h=Math.min,p=Math.max;function g(e,t,n){return p(e,h(t,n))}const m=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:s,rects:u,platform:d,elements:f}=t,{element:p,padding:m=0}=l(e,t)||{};if(null==p)return{};const v=c(m),y={x:n,y:i},b=a(s),w=o(b),x=await d.getDimensions(p),C="y"===b,k=C?"top":"left",E=C?"bottom":"right",_=C?"clientHeight":"clientWidth",S=u.reference[w]+u.reference[b]-y[b]-u.floating[w],j=y[b]-u.reference[b],M=await(null==d.getOffsetParent?void 0:d.getOffsetParent(p));let O=M?M[_]:0;O&&await(null==d.isElement?void 0:d.isElement(M))||(O=f.floating[_]||u.floating[w]);const A=S/2-j/2,T=O/2-x[w]/2-1,R=h(v[k],T),L=h(v[E],T),D=R,P=O-x[w]-L,I=O/2-x[w]/2+A,F=g(D,I,P),Z=null!=r(s)&&I!=F&&u.reference[w]/2-(I<D?R:L)-x[w]/2<0?I<D?D-I:P-I:0;return{[b]:y[b]-Z,data:{[b]:F,centerOffset:I-F+Z}}}}),v=["top","right","bottom","left"],y=(v.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function b(e){return e.replace(/left|right|bottom|top/g,(e=>y[e]))}function w(e,t,n){void 0===n&&(n=!1);const i=r(e),s=a(e),u=o(s);let l="x"===s?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[u]>t.floating[u]&&(l=b(l)),{main:l,cross:b(l)}}const x={start:"end",end:"start"};function C(e){return e.replace(/start|end/g,(e=>x[e]))}const k=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:a,rects:s,initialPlacement:u,platform:c,elements:d}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...x}=l(e,t),k=i(o),E=i(u)===u,_=await(null==c.isRTL?void 0:c.isRTL(d.floating)),S=g||(E||!y?[b(u)]:function(e){const t=b(e);return[C(e),t,C(t)]}(u));g||"none"===v||S.push(...function(e,t,n,o){const a=r(e);let s=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(i(e),"start"===n,o);return a&&(s=s.map((e=>e+"-"+a)),t&&(s=s.concat(s.map(C)))),s}(u,y,v,_));const j=[u,...S],M=await f(t,x),O=[];let A=(null==(n=a.flip)?void 0:n.overflows)||[];if(h&&O.push(M[k]),p){const{main:e,cross:t}=w(o,s,_);O.push(M[e],M[t])}if(A=[...A,{placement:o,overflows:O}],!O.every((e=>e<=0))){var T,R;const e=((null==(T=a.flip)?void 0:T.index)||0)+1,t=j[e];if(t)return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(R=A.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:R.placement;if(!n)switch(m){case"bestFit":{var L;const e=null==(L=A.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:L[0];e&&(n=e);break}case"initialPlacement":n=u}if(o!==n)return{reset:{placement:n}}}return{}}}};function E(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _(e){return v.some((t=>e[t]>=0))}const S=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=l(e,t);
1switch(r){case"referenceHidden":{const e=E(await f(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:_(e)}}}case"escaped":{const e=E(await f(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:_(e)}}}default:return{}}}}};const j=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,s=await async function(e,t){const{placement:n,platform:o,elements:s}=e,u=await(null==o.isRTL?void 0:o.isRTL(s.floating)),c=i(n),d=r(n),f="x"===a(n),h=["left","top"].includes(c)?-1:1,p=u&&f?-1:1,g=l(t,e);let{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof g?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...g};return d&&"number"==typeof y&&(v="end"===d?-1*y:y),f?{x:v*p,y:m*h}:{x:m*h,y:v*p}}(t,e);return{x:n+s.x,y:o+s.y,data:s}}}};function M(e){return"x"===e?"y":"x"}const O=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=l(e,t),h={x:n,y:r},p=await f(t,d),m=a(i(o)),v=M(m);let y=h[m],b=h[v];if(s){const e="y"===m?"bottom":"right";y=g(y+p["y"===m?"top":"left"],y,y-p[e])}if(u){const e="y"===v?"bottom":"right";b=g(b+p["y"===v?"top":"left"],b,b-p[e])}const w=c.fn({...t,[m]:y,[v]:b});return{...w,data:{x:w.x-n,y:w.y-r}}}}}},55863:function(e,t,n){"use strict";n.d(t,{Me:function(){return N},oo:function(){return H}});var r=n(88301);function o(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){return o(e).getComputedStyle(e)}function a(e){return e instanceof o(e).Node}function s(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function u(e){return e instanceof o(e).HTMLElement}function l(e){return e instanceof o(e).Element}function c(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=i(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function f(e){return["table","td","th"].includes(s(e))}function h(e){const t=p(),n=i(e);return"none"!==n.transform||"none"!==n.perspective||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function p(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(s(e))}const m=Math.min,v=Math.max,y=Math.round,b=Math.floor,w=e=>({x:e,y:e});function x(e){const t=i(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=u(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=y(n)!==a||y(r)!==s;return l&&(n=a,r=s),{width:n,height:r,$:l}}function C(e){return l(e)?e:e.contextElement}function k(e){const t=C(e);if(!u(t))return w(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=x(t);let a=(i?y(n.width):n.width)/r,s=(i?y(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const E=w(0);function _(e,t,n){var r,i;if(void 0===t&&(t=!0),!p())return E;const a=e?o(e):window;return!n||t&&n!==a?E:{x:(null==(r=a.visualViewport)?void 0:r.offsetLeft)||0,y:(null==(i=a.visualViewport)?void 0:i.offsetTop)||0}}function S(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),s=C(e);let u=w(1);t&&(i?l(i)&&(u=k(i)):u=k(e));const c=_(s,n,i);let d=(a.left+c.x)/u.x,f=(a.top+c.y)/u.y,h=a.width/u.x,p=a.height/u.y;if(s){const e=o(s),t=i&&l(i)?o(i):i;let n=e.frameElement;for(;n&&i&&t!==e;){const e=k(n),t=n.getBoundingClientRect(),r=getComputedStyle(n),i=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,f*=e.y,h*=e.x,p*=e.y,d+=i,f+=a,n=o(n).frameElement}}return(0,r.JB)({width:h,height:p,x:d,y:f})}function j(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function M(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function O(e){return S(j(e)).left+M(e).scrollLeft}function A(e){if("html"===s(e))return e;const t=e.assignedSlot||e.parentNode||c(e)&&e.host||j(e);return c(t)?t.host:t}function T(e){const t=A(e);return g(t)?e.ownerDocument?e.ownerDocument.body:e.body:u(t)&&d(t)?t:T(t)}function R(e,t){var n;void 0===t&&(t=[]);const r=T(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r);
1return i?t.concat(a,a.visualViewport||[],d(r)?r:[]):t.concat(r,R(r))}function L(e,t,n){let a;if("viewport"===t)a=function(e,t){const n=o(e),r=j(e),i=n.visualViewport;let a=r.clientWidth,s=r.clientHeight,u=0,l=0;if(i){a=i.width,s=i.height;const e=p();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:u,y:l}}(e,n);else if("document"===t)a=function(e){const t=j(e),n=M(e),r=e.ownerDocument.body,o=v(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=v(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+O(e);const u=-n.scrollTop;return"rtl"===i(r).direction&&(s+=v(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:u}}(j(e));else if(l(t))a=function(e,t){const n=S(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=u(e)?k(e):w(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=_(e);a={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(a)}function D(e,t){const n=A(e);return!(n===t||!l(n)||g(n))&&("fixed"===i(n).position||D(n,t))}function P(e,t){return u(e)&&"fixed"!==i(e).position?t?t(e):e.offsetParent:null}function I(e,t){const n=o(e);if(!u(e))return n;let r=P(e,t);for(;r&&f(r)&&"static"===i(r).position;)r=P(r,t);return r&&("html"===s(r)||"body"===s(r)&&"static"===i(r).position&&!h(r))?n:r||function(e){let t=A(e);for(;u(t)&&!g(t);){if(h(t))return t;t=A(t)}return null}(e)||n}function F(e,t,n){const r=u(t),o=j(t),i="fixed"===n,a=S(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=w(0);if(r||!r&&!i)if(("body"!==s(t)||d(o))&&(l=M(t)),u(t)){const e=S(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=O(o));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}const Z={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=R(e).filter((e=>l(e)&&"body"!==s(e))),o=null;const a="fixed"===i(e).position;let u=a?A(e):e;for(;l(u)&&!g(u);){const t=i(u),n=h(u);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||d(u)&&!n&&D(e,u))?r=r.filter((e=>e!==u)):o=t,u=A(u)}return t.set(e,r),r}(t,this._c):[].concat(n),u=[...a,r],c=u[0],f=u.reduce(((e,n)=>{const r=L(t,n,o);return e.top=v(r.top,e.top),e.right=m(r.right,e.right),e.bottom=m(r.bottom,e.bottom),e.left=v(r.left,e.left),e}),L(t,c,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=u(n),i=j(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},l=w(1);const c=w(0);if((o||!o&&"fixed"!==r)&&(("body"!==s(n)||d(i))&&(a=M(n)),u(n))){const e=S(n);l=k(n),c.x=e.x+n.clientLeft,c.y=e.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:l,getDimensions:function(e){return x(e)},getOffsetParent:I,getDocumentElement:j,getScale:k,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||I,i=this.getDimensions;return{reference:F(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===i(e).direction};function N(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,l=C(e),c=o||i?[...l?R(l):[],...R(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=l&&s?function(e,t){let n,r=null;const o=j(e);function i(){clearTimeout(n),r&&r.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),i();const{left:l,top:c,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const h=b(c),p=b(o.clientWidth-(l+d)),g=b(o.clientHeight-(c+f)),m=b(l);let v=!0;r=new IntersectionObserver((e=>{const t=e[0].intersectionRatio;if(t!==u){if(!v)return a();0===t?n=setTimeout((()=>{a(!1,1e-7)}),100):a(!1,t)}v=!1}),{rootMargin:-h+"px "+-p+"px "+-g+"px "+-m+"px",threshold:u}),r.observe(e)}(!0),i}(l,n):null;let f,h=null;a&&(h=new ResizeObserver(n),l&&!u&&h.observe(l),h.observe(t));let p=u?S(e):null;return u&&function t(){const r=S(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n(),p=r,f=requestAnimationFrame(t)}(),n(),()=>
1{c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),d&&d(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(f)}}const H=(e,t,n)=>{const o=new Map,i={platform:Z,...n},a={...i.platform,_c:o};return(0,r.oo)(e,t,{...i,platform:a})}},63201:function(e,t,n){"use strict";n.d(t,{F:function(){return a}});var r=n(87536),o=n(55851),i=function(e,t){for(var n={};e.length;){var o=e[0],i=o.code,a=o.message,s=o.path.join(".");if(!n[s])if("unionErrors"in o){var u=o.unionErrors[0].errors[0];n[s]={message:u.message,type:u.code}}else n[s]={message:a,type:i};if("unionErrors"in o&&o.unionErrors.forEach((function(t){return t.errors.forEach((function(t){return e.push(t)}))})),t){var l=n[s].types,c=l&&l[o.code];n[s]=(0,r.KN)(s,t,n,i,c?[].concat(c,o.message):o.message)}e.shift()}return n},a=function(e,t,n){return void 0===n&&(n={}),function(r,a,s){try{return Promise.resolve(function(i,a){try{var u=Promise.resolve(e["sync"===n.mode?"parse":"parseAsync"](r,t)).then((function(e){return s.shouldUseNativeValidation&&(0,o.M)({},s),{errors:{},values:n.raw?r:e}}))}catch(e){return a(e)}return u&&u.then?u.then(void 0,a):u}(0,(function(e){if(function(e){return null!=e.errors}(e))return{values:{},errors:(0,o._)(i(e.errors,!s.shouldUseNativeValidation&&"all"===s.criteriaMode),s)};throw e})))}catch(e){return Promise.reject(e)}}}},55379:function(e,t,n){"use strict";n.d(t,{MA:function(){return r},Q6:function(){return i},Sn:function(){return c},VG:function(){return u},ek:function(){return s},er:function(){return a},iN:function(){return o},ix:function(){return d},mE:function(){return l}});const 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"}},o={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"}},i={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"}},u={gray:r,blue:o,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:i,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"}
1,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"}}},l=["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 ie},AEM:function(){return yn},Adg:function(){return bn},BHU:function(){return Ve},BWR:function(){return kt},CPA:function(){return St},DZP:function(){return an},EI4:function(){return _t},GVG:function(){return Zt},HFL:function(){return Mt},IEm:function(){return $},KML:function(){return L},Kmg:function(){return N},Kz2:function(){return Ke},L4p:function(){return zt},LZ3:function(){return h},NWY:function(){return Qt},NvX:function(){return mt},Oqj:function(){return dt},Ow9:function(){return rt},Qq:function(){return Le},Que:function(){return O},ROc:function(){return Fe},Rf5:function(){return te},Rhe:function(){return Jt},T39:function(){return B},TAM:function(){return he},TIy:function(){return Q},Two:function(){return z},Tzq:function(){return xn},UEU:function(){return wn},V13:function(){return Lt},VVU:function(){return we},W1M:function(){return Ft},W5x:function(){return q},X5P:function(){return Ot},XBm:function(){return We},XCv:function(){return I},XHJ:function(){return fn},Y4O:function(){return f},YE8:function(){return Ce},_8t:function(){return be},_XJ:function(){return Oe},aI:function(){return x},agZ:function(){return s},bg6:function(){return w},bnu:function(){return en},buG:function(){return nt},cMY:function(){return Gt},d$S:function(){return J},dNJ:function(){return W},dY8:function(){return Ee},dtP:function(){return u},dwl:function(){return Xt},etD:function(){return ke},foC:function(){return Mn},fzI:function(){return Ht},g8U:function(){return F},h32:function(){return et},hQ6:function(){return Ye},h_8:function(){return Be},hsE:function(){return Pe},iro:function(){return Wt},j29:function(){return X},kLh:function(){return ht},kLv:function(){return ct},mBM:function(){return st},mY4:function(){return E},nSX:function(){return R},o1U:function(){return Ct},oty:function(){return Qe},oyc:function(){return Sn},r7p:function(){return Yt},rG2:function(){return En},reJ:function(){return qt},sLo:function(){return M},sTT:function(){return C},tgp:function(){return un},uIy:function(){return Re},ugZ:function(){return oe},v4q:function(){return D},vaB:function(){return i},vaD:function(){return At},veu:function(){return d},wNq:function(){return Kt},wt6:function(){return ce},wyc:function(){return P},xEY:function(){return kn},xPt:function(){return it},yEv:function(){return pt},ySV:function(){return Je},zGg:function(){return Se}});var r=n(67294),o=n(85893);const i=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M18.1568 6.84315C21.281 9.96734 21.281 15.0327 18.1568 18.1569C15.0326 21.281 9.96733 21.281 6.84313 18.1569C3.71894 15.0327 3.71894 9.96734 6.84313 6.84315C9.96733 3.71895 15.0326 3.71895 18.1568 6.84315ZM18.1568 6.84315L6.844 18.156",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),a=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M21 15H19L15.5 7L11 18L8 12L6 15H4",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),s=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),u=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"add",
1width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M12.5 5V20M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),l=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,o.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,o.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,o.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,o.jsx)("path",{d:"M12.5 10.5V17M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M4.5 7.5H20.5M16 14L12.5 17.5L9 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),d=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M12.5 19.5V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M18 14L12.5 19.5L7 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),f=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M5.5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M11 18L5.5 12.5L11 7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),h=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M19.5 12.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M14 7L19.5 12.5L14 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),p=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M16.5 8.5L7 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M9 8.5H16.5V16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),g=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M7 11L12.5 5.5L18 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M12.5 5.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),m=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),v=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("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,o.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.5M8.5 10.5L9.5 19.5M16.5 10.5L15.5 19.5M12.5 10.5V19.5M19.5 13.5H5.5M19
116.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),y=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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 17.5C6.5 16 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 16 19.5 17.5H5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),b=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),w=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M9.5 12.5V17.5M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM12.5 12.5V17.5H15.5V12.5H12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})]})})),x=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z",fill:"currentColor"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z",fill:"currentColor"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z",fill:"currentColor"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 18.6002H4V17.4002H21V18.6002Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M9.86438 15.6H11.2L8.27623 7.60003H6.92377L4 15.6H5.29072L6.0371 13.4767H9.12362L9.86438 15.6ZM7.53546 9.05255H7.63086L8.80374 12.4344H6.35698L7.53546 9.05255Z",fill:"currentColor"})]})})),C=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5 19.5H20M5 5.5H20M6.5 8.5H18.5V16.5H6.5V8.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),k=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),E=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,o.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,o.jsx)("path",{d:"M20.5 17.5V5.5L12.5 6.5M20.5 17.5L12.5 18.5M20.5 17.5V18.5M4.5 17.5V5.5L12.5 6.5M4.5 17.5L12.5 18.5M4.5 17.5V18.5M12.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.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),S=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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.94772 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,strokeLinejoin:"round"})})})),j=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4272 14.3368C15.8273 15.1773 15.5 16.
11794 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,o.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
114 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"})]})})),M=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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})})})),O=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),A=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),T=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),R=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),L=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),D=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M17 10.5L12.5 15L8 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),P=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M14.5 17L10 12.5L14.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),I=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M10.5 8L15 12.5L10.5 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),F=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M8 14.5L12.5 10L17 14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Z=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),N=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),H=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),B=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),V=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),z=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M18 7L7 18M7 7L18 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),U=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),W=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11 16L7.5 12.5L11 9M14 9L17.5 12.5L14 16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),$=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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
17 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,strokeLinejoin:"round"}),(0,o.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,strokeLinejoin:"round"})]})})),q=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M10.5 14.5L6 19M14.5 10.5L19 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),G=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"color-wheel",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M9.43853 5.10896L11.1606 9.26642M13.8394 15.7336L15.5615 19.891M15.7336 11.1606L19.891 9.43853M9.26642 13.8394L5.10896 15.5615M5.3139 9.52342L9.23359 11.147M15.7664 13.853L19.6861 15.4766M13.853 9.23359L15.4766 5.3139M9.52342 19.6861L11.147 15.7664M20.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.5ZM16 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,strokeLinejoin:"round"})})})),Y=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),K=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),X=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),J=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Q=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ee=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M20.5 9.5H4.5V11.5H20.5V9.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M7 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,strokeLinejoin:"round"})]})})),te=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M9.5 5V15.5H20M5 9.5H15.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ne=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),re=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M18.5 7V17.5C18.5 19.0594 16.
10504 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,strokeLinejoin:"round"})})})),oe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M4.5 13.5V15.5C4.5 16.0523 4.94772 16.5 5.5 16.5H12.5M4.5 13.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V13.5M4.5 13.5H20.5M20.5 13.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5M12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ie=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5L6.5 9.5M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ae=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M12.7127 13.8012L12.7193 13.77C12.8488 13.2366 13.0117 12.5716 12.8845 11.969C12.7997 11.4937 12.4493 11.3084 12.1503 11.295C11.7977 11.2794 11.483 11.4803 11.4049 11.7726C11.2576 12.3082 11.3893 13.0402 11.6303 13.973C11.3268 14.6961 10.8425 15.7472 10.4877 16.3721C9.8271 16.7135 8.94113 17.2402 8.80946 17.9053C8.78268 18.028 8.81392 18.1842 8.88757 18.3248C8.97014 18.481 9.10181 18.6015 9.25579 18.6596C9.32274 18.6841 9.40308 18.7042 9.49681 18.7042C9.88959 18.7042 10.5256 18.3873 11.3736 16.9322C11.5031 16.8898 11.637 16.8452 11.7664 16.8006C12.3734 16.5953 13.0028 16.381 13.5718 16.2851C14.2012 16.622 14.9175 16.8385 15.404 16.8385C15.8861 16.8385 16.0758 16.5529 16.1472 16.381C16.2722 16.0797 16.2119 15.7004 16.0088 15.4973C15.7143 15.2072 14.9979 15.1313 13.882 15.2696C13.3331 14.9349 12.9738 14.4796 12.7127 13.8012ZM10.2645 17.1911C9.95431 17.6419 9.71998 17.8673 9.59278 17.9655C9.7423 17.691 10.0346 17.4009 10.2645 17.1911ZM12.2195 11.9355C12.3355 12.1341 12.3199 12.7345 12.2306 13.038C12.1213 12.5939 12.1056 11.9645 12.1704 11.8909L12.2195 11.9355ZM12.1837 14.6247C12.4225 15.0376 12.7238 15.3924 13.0563 15.6557C12.5743 15.7651 12.1346 15.9458 11.7419 16.1065C11.6481 16.1445 11.5566 16.1824 11.4674 16.2181C11.7642 15.6803 12.0119 15.071 12.1837 14.6247ZM15.6562 16.0864L15.6428 16.1065C15.6428 16.1065 15.4375 16.2315 14.6497 15.9213C15.5558 15.8789 15.6562 16.0864 15.6562 16.0864Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),se=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M6.5 14V20.5H18.5V14M6.5 11V9.5L11.5 4.5H18.5V11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ue=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M10.4 19V16.4M10.4 16.4L10.4 13.4M10.4 16.4H8M10.4 16.4H14.4M10.4 13.4V11M10.4 13.4H8M10.4 13.4H14.4M14.4 19V16.4M14.4 16.4V13.4M14.4 16.4H17M14.4 13.4V11M14.4 13.4H17M11.5 4.5H18.5V20.5
1H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),le=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16 13H9M14 16H9M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ce=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11.5 16.5V13.5L14 15L11.5 16.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2}),(0,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),de=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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"}),(0,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),fe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM13.5 13H15.5L16 17H13L13.5 13Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),he=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M10.5 4.5V9.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16.5 7.5H19.5V21.5H8.5V18.5M10.5 4.5H16.5V18.5H5.5V9.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),pe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("circle",{cx:12.5,cy:12.5,r:1.5,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})})),ge=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M17 8.5L12.5 13L8 8.5M17 12.5L12.5 17L8 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),me=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M12.5 17L8 12.5L12.5 8M16.5 17L12 12.5L16.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ve=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M12.5 8L17 12.5L12.5 17M8.5 8L13 12.5L8.5 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ye=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M8 12.5L12.5 8L17 12.5M8 16.5L12.5 12L17 16.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),be=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M19.5 17V19.5H5.5V17M12.5 16L12.5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),we=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{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 8Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M9.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 14Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M11 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.5Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M15.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 8Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M17 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.5Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M15.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"})]})})),xe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M18.5 14.5C18.5 18
116 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,strokeLinejoin:"round"})})})),Ce=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M7 13L5.5 9L10 5H15V10L14 9H11L9.5 11L10.5 12H12V13L13 14.5H15.5L18.5 17L15.5 19.5L10.5 20V17L12.5 15L9 13L7 10.5V13Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ke=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Ee=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),_e=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,o.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,o.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"})]})})),Se=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{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.5Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M14 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.5Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M14 18.5C14 19.3284 13.3284 20 12.5 20C11.6716 20 11 19.3284 11 18.5C11 17.6716 11.6716 17 12.5 17C13.3284 17 14 17.6716 14 18.5Z",fill:"currentColor"})]})})),je=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("svg",{"data-sanity-icon":"enter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,o.jsx)("path",{d:"M6 14.5H19.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M10 18.5L6 14.5L10 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Me=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("svg",{"data-sanity-icon":"enter-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,o.jsx)("path",{d:"M19 14.5H5.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M15 18.5L19 14.5L15 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Oe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M20.5 18.5H4.5V6.5H20.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.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,strokeLinejoin:"round"})]})})),Ae=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M7.5 4.5H3.5V20.5
1H7.5",stroke:"currentColor",strokeWidth:1.2}),(0,o.jsx)("path",{d:"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5",stroke:"currentColor",strokeWidth:1.2}),(0,o.jsx)("path",{d:"M9 10.5H16",stroke:"currentColor",strokeWidth:1.2}),(0,o.jsx)("path",{d:"M9 14.5H16",stroke:"currentColor",strokeWidth:1.2})]})})),Te=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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"})})})),Re=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Le=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M14 6.5H18.5V11M11 18.5H6.5V14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M18.5 6.5L14 11M6.5 18.5L11 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),De=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Pe=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.39999 12.5C9.39999 10.7879 10.7879 9.39999 12.5 9.39999C14.2121 9.39999 15.6 10.7879 15.6 12.5C15.6 14.2121 14.2121 15.6 12.5 15.6C10.7879 15.6 9.39999 14.2121 9.39999 12.5Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M12.5 7.5C8.5 7.5 6 10 4.5 12.5C6 15 8.5 17.5 12.5 17.5C16.5 17.5 19 15 20.5 12.5C19 10 16.5 7.5 12.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Ie=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11 12L6 7V6L19 6L19 7L14 12V17L11 19V12Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})})),Fe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11.5 8.5H19.5V18.5H5.5V5.5H10.5L11.5 8.5ZM11.5 8.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ze=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16 11L12.5 14.5L9 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Ne=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("svg",{"data-sanity-icon":"groq",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,o.jsx)("path",{d:"M13 13H21L13 21L13 13Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M12 12V4L4 12H12Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M12 13H4L12 21V13Z",fill:"currentColor"})]})})),He=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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.70
159 19.8 12.9118 17 16Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Be=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Ve=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),ze=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Ue=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),We=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),$e=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5.5 11V6.5H19.5V11M5.5 14V18.5H19.5V14M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),qe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Ge=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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"})})})),Ye=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Ke=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"inl
1ine-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M5.5 5V20M19.5 5V20M8.5 6.5H16.5V18.5H8.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Xe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Je=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M14.5 10.5556L10.5 10.5556M12.5 12.5L12.5 8.5M18.5 5.5L6.5 5.5M18.5 19.5L6.5 19.5L6.5 15.5L18.5 15.5L18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})})),Qe=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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",strokeLinejoin:"round"})})})),et=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M10.43 18H11.7276L13.4551 9.86763H12.1576L10.43 18ZM13.3043 8.29849C13.8022 8.29849 14.2095 7.89112 14.2095 7.39322C14.2095 6.89532 13.8022 6.48795 13.3043 6.48795C12.8064 6.48795 12.399 6.89532 12.399 7.39322C12.399 7.89112 12.8064 8.29849 13.3043 8.29849Z",fill:"currentColor"})})})),tt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),nt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M14 6.5H5.5V19.5H18.5V11M20.5 4.5L10.5 14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16 4.5H20.5V9",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),rt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M15.5 15V18.5H5.5V6.5H15.5V10M9 12.5H21.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M18.5 9.5L21.5 12.5L18.5 15.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ot=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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
112.8758 16.3137 16C13.1895 19.1242 8.12419 19.1242 5 16L16.3137 4.68629Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),it=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M11 12.5L12.5 14C13.281 14.781 14.719 14.781 15.5 14L18.5 11C19.281 10.219 19.281 8.78105 18.5 8L18 7.5C17.2189 6.71895 15.781 6.71895 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.781 6.5 14L9.50001 11C10.2811 10.219 11.719 10.2189 12.5 11L14 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),at=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M18.5 11C19.281 10.219 19.281 8.78108 18.5 8.00003L18 7.50003C17.2189 6.71898 15.781 6.71898 15 7.50003L13 9.50003M15.5 14C14.7189 14.7811 13.281 14.7811 12.5 14M6.5 14C5.71895 14.7811 5.71894 16.219 6.49999 17L6.99999 17.5C7.78104 18.2811 9.21894 18.2811 9.99999 17.5L12 15.5M12.5 11C11.719 10.219 10.281 10.219 9.5 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),st=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),ut=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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"})})})),lt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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"})})})),ct=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M7 9.5H10M11.5 6.5V18.5M7 12.5H10M13 9.5H18M7 15.5H10M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),dt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M6 7.5H19M6 17.5H19M6 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ft=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M7.5 6.5C7.5 5.39543 8.39543 4.5 9.5 4.5H15.5C16.6046 4.5 17.5 5.39543 17.5 6.5V18.5C17.5 19.6046 16.6046 20.5 15.5 20.5H9.5C8.39543 20.5 7.5 19.6046 7.5 18.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M13.5 17.5C13.5 18.0523 13.0523 18.5 12.5 18.5C11.9477 18.5 11.5 18.0523 11.5 17.5C11.5 16.9477 11.9477 16.5 12.5 16.5C13.0523 16.5 13.5 16.9477 13.5 17.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ht=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),pt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M7.09808 13.3967V7.508H5.74066L3.83636 8.78241V10.091L5.65277 8.88495H5.74066V13.3967H3.84125V14.5539H8.89984V13.3967H7.09808Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M9.81781 9.63202V9.66132H11.1069V9.62714C11.1069 8.95331 11.5756 8.49432 12.2739 8.49432C12.9575 8.49432 13.4018 8.89471 13.4018 9.50507C13.4018 9.9787 13.1528 10.3498 12.1909 11.3117L9.89594 13.5822V14.5539H14.8618V13.3869H11.7807V13.299L13.1577 11.9855C14.3491 10.843 14.7543 10.1838 14.7543 9.41229C14.7543 8.19159 13.7729 7.36639 12.3178 7.36639C10.8383 7.36639 9.81781 8.28436 9.81781 9.63202Z",fill:"currentColor"}
1),(0,o.jsx)("path",{d:"M17.6694 11.4631H18.5092C19.3198 11.4631 19.8422 11.8683 19.8422 12.4982C19.8422 13.1183 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.6769 20.9457 10.0666 20.9457 9.23651C20.9457 8.12323 19.9741 7.36639 18.5434 7.36639C17.0541 7.36639 16.1118 8.17694 16.0629 9.50018H17.2983C17.3422 8.88007 17.8061 8.48456 18.4995 8.48456C19.2075 8.48456 19.6567 8.85565 19.6567 9.44159C19.6567 10.0324 19.1977 10.4182 18.4946 10.4182H17.6694V11.4631Z",fill:"currentColor"})]})})),gt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),mt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M10 7.5H19M10 12.5H19M10 17.5H19M5 18.5H7.5L7 17.5L7.5 16.5H5M5 6.5H6.5V8.5M5 8.5H6.5M6.5 8.5H8M8 13.5H6L7 11.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),vt=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M18.5 11V6.5H14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M6.5 18.5L9 16L12 13L18.5 6.5M3 13.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),yt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),bt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,o.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",stroke:"currentColor",strokeWidth:1.2})]})})),wt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"}),(0,o.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,strokeLinejoin:"round"})]})})),xt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ct=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),kt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Et=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),_t=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M4.99997 5.50006H20M12.5 9.00005V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M7.5 14L12.5 9.00006L17.5 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),St=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),jt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Mt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ot=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M4.56189 13.5L4.14285 13.9294C4.25676 14.0406 4.41017 14.1019 4.56932 14.1C4.72847 14.098 4.88032 14.0329 4.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"})})})),At=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9
1183 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,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Tt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M16 14L12.5 10.5L9 14M5.5 7.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M12.5 10.5L12.5 17.5M19.5 7.5V19.5H5.5V7.5L7.5 5.5H17.5L19.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Rt=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("svg",{"data-sanity-icon":"retry",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,o.jsx)("path",{d:"M20 9L10 9C7.51472 9 5.5 11.0147 5.5 13.5C5.5 15.9853 7.51472 18 10 18H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16 13L20 9L16 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Lt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5 9L15 9C17.4853 9 19.5 11.0147 19.5 13.5C19.5 15.9853 17.4853 18 15 18H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M9 13L5 9L9 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Dt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Pt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M12.5 20.5L15.5 14M11 9.49999L4.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.9 12.5 7.5C15.5 4.5 20.5 4.5 20.5 4.5C20.5 4.5 20.5 9.5 17.5 12.5C15.7492 14.2508 11 16 11 16L9 14ZM16.5 9.99999C16.5 10.8284 15.8284 11.5 15 11.5C14.1716 11.5 13.5 10.8284 13.5 9.99999C13.5 9.17157 14.1716 8.49999 15 8.49999C15.8284 8.49999 16.5 9.17157 16.5 9.99999Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),It=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"schema",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M12.5 9.5V12.5M12.5 12.5H8.5V15.5M12.5 12.5H16.5V15.5M10.5 5.5H14.5V9.5H10.5V5.5ZM6.5 15.5H10.5V19.5H6.5V15.5ZM14.5 15.5H18.5V19.5H14.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ft=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M15.0355 15.0355L19 19M16.5 11.5C16.5 14.2614 14.2614 16.5 11.5 16.5C8.73858 16.5 6.5 14.2614 6.5 11.5C6.5 8.73858 8.73858 6.5 11.5 6.5C14.2614 6.5 16.5 8.73858 16.5 11.5
1Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Zt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Nt=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("svg",{"data-sanity-icon":"share",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,o.jsx)("path",{d:"M15 9.5H18.5V19.5H6.5L6.5 9.5H10M12.5 16V3.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M9.5 6.5L12.5 3.5L15.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Ht=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Bt=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"sparkle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M10.5 10.5C8.5 12.5 5 12.5 5 12.5C5 12.5 8.5 12.5 10.5 14.5C12.5 16.5 12.5 20 12.5 20C12.5 20 12.5 16.5 14.5 14.5C16.5 12.5 20 12.5 20 12.5C20 12.5 16.5 12.5 14.5 10.5C12.5 8.5 12.5 5 12.5 5C12.5 5 12.5 8.5 10.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Vt=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"sparkles",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M9.5 15C9.5 15 12.2308 14.7692 13.5 13.5C14.7692 12.2308 15 9.5 15 9.5C15 9.5 15.2308 12.2308 16.5 13.5C17.7692 14.7692 20.5 15 20.5 15C20.5 15 17.7692 15.2308 16.5 16.5C15.2308 17.7692 15 20.5 15 20.5C15 20.5 14.7692 17.7692 13.5 16.5C12.2308 15.2308 9.5 15 9.5 15ZM4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})})})),zt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M4.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.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ut=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Wt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),$t=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("rect",{x:5.5,y:5.5,width:14,height:14,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),qt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Gt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Yt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Kt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("rect",{x:7.5,y:7.5,width:10,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Xt=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M12.5656 7.73438C11.0656 7.73438 10.
10734 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.73438Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M12.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.2656Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M7 13.1H18V11.9H7V13.1Z",fill:"currentColor"})]})})),Jt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,o.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 15.637 16.4609 15.637Z",fill:"currentColor"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z",fill:"currentColor"})]})})),Qt=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),en=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"}),(0,o.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,strokeLinejoin:"round"})]})})),tn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.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,strokeLinejoin:"round"})]})})),nn=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"tags",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M12.1562 7.93179L13.9717 6.11633L20.3553 12.5L13.9717 18.8836L10.6855 18.8836M11.0283 18.8836L17.4119 12.5L11.0283 6.11633L4.64462 12.5L4.64462 18.8836L11.0283 18.8836ZM9.75153 15.0534C9.75153 15.7585 9.17992 16.3302 8.47481 16.3302C7.76969 16.3302 7.19808 15.7585 7.19808 15.0534C7.19808 14.3483 7.76969 13.7767 8.47481 13.7767C9.17992 13.7767 9.75153 14.3483 9.75153 15.0534Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),rn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),on=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),an=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),sn=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("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,o.jsx)("path",{d:"M16.5 14.5L20.5 16.5L12.5 20.5L4.5 16.5L8.5 14.5M16.5 10.5L20.5 12.5L12.5 16.5L4.5 12.5L8.5 10.5M12.5 12.5L20.5 8.5L12.5 4.5L4.5 8.5L12.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),un=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M10 16.5V8.5L16 12.5L10 16.5Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"})})})),ln=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),cn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M19.5 16.5H6M5.5 8.5L19 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),dn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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
173 15.9Z",fill:"currentColor"})})})),fn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),hn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M20.5 11V6.5H16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),pn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),gn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),mn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),vn=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"twitter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M18.8738 6.65751C18.1994 5.9447 17.2445 5.5 16.1857 5.5C14.1423 5.5 12.4857 7.15655 12.4857 9.2C12.4857 9.55263 12.535 9.89374 12.6272 10.2168C7.0826 9.56422 4.55703 6.02857 4.55703 6.02857C4.55703 6.02857 4.02846 9.2 6.14274 11.3143C5.08571 11.3143 4.55703 10.7857 4.55703 10.7857C4.55703 10.7857 4.55703 13.4286 7.19989 14.4857C6.67143 15.0143 5.61417 14.4857 5.61417 14.4857C5.97533 15.9303 7.45606 16.8562 8.82133 17.1358C6.67298 19.1676 3.5 18.7143 3.5 18.7143C5.14562 19.771 7.21334 20.3 9.31429 20.3C16.1214 20.3 19.8162 15.6315 19.8848 9.37762C20.8722 8.58943 22 7.08571 22 7.08571C22 7.08571 21.277 7.45458 19.6913 7.98315C21.277 6.92601 21.4714 5.5 21.4714 5.5C21.4714 5.5 20.4135 6.55789 18.8738 6.65751Z",fill:"currentColor"})})})),yn=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M7.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.5001Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M7.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.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M7.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,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M10 7.5H19M10 17.5H19M10 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),bn=(0,r.forwardRef)((function(e,t){return(0,o.jsxs)("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,o.jsx)("path",{d:"M9.52791 7.11407H8.17V14.2582C8.17 16.5817 9.79195 18.2565 12.4927 18.2565C15.1934 18.2565 16.8154 16.5817 16.8154 14.2582V7.11407H15.4574V14.1677C15.4574 15.8122 14.3787 17.0042 12.4927 17.0042C10.6067 17.0042 9.52791 15.8122 9.52791 14.1677V7.11407Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M7 20.5H18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),wn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9
1183 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,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),xn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Cn=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("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,o.jsx)("path",{d:"M9.5 11.5V8.5C9.5 6.5 8 5.5 6.5 5.5C5 5.5 3.5 6.5 3.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),kn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M5 19.5H20M12.5 16V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),En=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M12.5 6.00003V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M7.5 11L12.5 6.00003L17.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),_n=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),Sn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.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,strokeLinejoin:"round"})})})),jn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.741 5.12637C13.7357 3.41737 11.2643 3.41737 10.259 5.12637L3.7558 16.1818C2.73624 17.915 3.98595 20.1 5.99683 20.1H19.0032C21.014 20.1 22.2637 17.915 21.2442 16.1818L14.741 5.12637ZM11.9 9V13H13.1V9H11.9ZM13.1 16V14.5H11.9V16H13.1Z",fill:"currentColor"})})})),Mn=(0,r.forwardRef)((function(e,t){return(0,o.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,o.jsx)("path",{d:"M12.5 9V13M12.5 16V14.5M14.2239 5.43058L20.727 16.486C21.5113 17.8192 20.55 19.5 19.0032 19.5H5.99683C4.45 19.5 3.48869 17.8192 4.27297 16.486L10.7761 5.43058C11.5494 4.11596 13.4506 4.11596 14.2239 5.43058Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),On=(0,r.forwardRef)((function(e,t){return(0,o.jsx)("svg",{"data-sanity-icon":"wrench",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,o.jsx)("path",{d:"M17.0407 5.14624L17.4649 5.57051C17.6166 5.41887 17.6757 5.19783 17.6202 4.99071C17.5646 4.78359 17.4027 4.62189 17.1955 4.56656L17.0407 5.14624ZM14.4013 7.7856L13.977 7.36134C13.8288 7.50959 13.7687 7.72447 13.8185 7.92813L14.4013 7.7856ZM12.8778 6.26211L12.4535 5.83784V5.83784L12.8778 6.26211ZM11.8309 10.6568L12.2552 11.
10811C12.4152 10.9211 12.4716 10.6847 12.401 10.4697L11.8309 10.6568ZM5.63925 16.8485L5.21498 16.4242H5.21498L5.63925 16.8485ZM5.63925 19.935L6.06351 19.5108H6.06351L5.63925 19.935ZM8.72581 19.935L9.15007 20.3593L8.72581 19.935ZM15.1184 13.5425L15.2301 12.953C15.0351 12.916 14.8344 12.9779 14.6941 13.1182L15.1184 13.5425ZM18.9718 12.3561L19.3961 12.7804L18.9718 12.3561ZM20.0877 8.19324L20.6674 8.03843C20.612 7.83125 20.4503 7.66934 20.2432 7.61375C20.0361 7.55816 19.815 7.61734 19.6634 7.76898L20.0877 8.19324ZM17.4483 10.8326L17.3058 11.4154C17.5094 11.4652 17.7243 11.4051 17.8726 11.2569L17.4483 10.8326ZM15 10.2339L14.4172 10.3764C14.4704 10.5938 14.6401 10.7635 14.8575 10.8167L15 10.2339ZM16.6164 4.72198L13.977 7.36134L14.8256 8.20986L17.4649 5.57051L16.6164 4.72198ZM13.3021 6.68637C14.2723 5.71612 15.6467 5.39501 16.8859 5.72593L17.1955 4.56656C15.5595 4.12966 13.7389 4.55245 12.4535 5.83784L13.3021 6.68637ZM12.401 10.4697C11.9779 9.18109 12.2794 7.70907 13.3021 6.68637L12.4535 5.83784C11.0985 7.19284 10.7021 9.14218 11.2608 10.844L12.401 10.4697ZM11.4066 10.2326L5.21498 16.4242L6.06351 17.2727L12.2552 11.0811L11.4066 10.2326ZM5.21498 16.4242C4.12834 17.5109 4.12834 19.2727 5.21498 20.3593L6.06351 19.5108C5.4455 18.8928 5.4455 17.8908 6.06351 17.2727L5.21498 16.4242ZM5.21498 20.3593C6.30163 21.446 8.06343 21.446 9.15007 20.3593L8.30155 19.5108C7.68353 20.1288 6.68153 20.1288 6.06351 19.5108L5.21498 20.3593ZM9.15007 20.3593L15.5426 13.9668L14.6941 13.1182L8.30155 19.5108L9.15007 20.3593ZM18.5475 11.9318C17.6463 12.8331 16.3968 13.1742 15.2301 12.953L15.0066 14.132C16.5466 14.4239 18.2023 13.9741 19.3961 12.7804L18.5475 11.9318ZM19.508 8.34804C19.8389 9.58721 19.5178 10.9616 18.5475 11.9318L19.3961 12.7804C20.6815 11.495 21.1043 9.67445 20.6674 8.03843L19.508 8.34804ZM17.8726 11.2569L20.5119 8.6175L19.6634 7.76898L17.024 10.4083L17.8726 11.2569ZM14.8575 10.8167L17.3058 11.4154L17.5908 10.2498L15.1426 9.65106L14.8575 10.8167ZM13.8185 7.92813L14.4172 10.3764L15.5829 10.0914L14.9841 7.64307L13.8185 7.92813Z",fill:"currentColor"})})})),An={"access-denied":i,activity:a,"add-circle":s,add:u,api:l,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:b,"binary-document":w,"block-content":x,"block-element":C,blockquote:k,bold:E,book:_,bottle:S,"bulb-filled":j,"bulb-outline":M,calendar:O,case:A,"chart-upward":T,"checkmark-circle":R,checkmark:L,"chevron-down":D,"chevron-left":P,"chevron-right":I,"chevron-up":F,circle:Z,clipboard:N,"clipboard-image":H,clock:B,"close-circle":V,close:z,"code-block":U,code:W,cog:$,collapse:q,"color-wheel":G,comment:Y,component:K,compose:X,controls:J,copy:Q,"credit-card":ee,crop:te,dashboard:ne,database:re,desktop:oe,document:ie,"document-pdf":ae,"document-remove":se,"document-sheet":ue,"document-text":le,"document-video":ce,"document-word":de,"document-zip":fe,documents:he,dot:pe,"double-chevron-down":ge,"double-chevron-left":me,"double-chevron-right":ve,"double-chevron-up":ye,download:be,"drag-handle":we,drop:xe,"earth-americas":Ce,"earth-globe":ke,edit:Ee,"ellipsis-horizontal":_e,"ellipsis-vertical":Se,enter:je,"enter-right":Me,envelope:Oe,equal:Ae,"error-filled":Te,"error-outline":Re,expand:Le,"eye-closed":De,"eye-open":Pe,filter:Ie,folder:Fe,generate:Ze,groq:Ne,"heart-filled":He,heart:Be,"help-circle":Ve,home:ze,"ice-cream":Ue,image:We,"image-remove":$e,images:qe,"info-filled":Ge,"info-outline":Ye,"inline-element":Ke,inline:Xe,"insert-above":Je,"insert-below":Qe,italic:et,joystick:tt,launch:nt,leave:rt,lemon:ot,link:it,"link-removed":at,lock:st,"logo-js":ut,"logo-ts":lt,"master-detail":ct,menu:dt,"mobile-device":ft,moon:ht,number:pt,"ok-hand":gt,olist:mt,overage:vt,package:yt,pause:bt,pin:wt,"pin-removed":xt,play:Ct,plug:kt,presentation:Et,publish:_t,"read-only":St,"remove-circle":jt,remove:Mt,reset:Ot,restore:At,retrieve:Tt,retry:Rt,revert:Lt,robot:Dt,rocket:Pt,schema:It,search:Ft,select:Zt,share:Nt,sort:Ht,sparkle:Bt,sparkles:Vt,spinner:zt,"split-horizontal":Ut,"split-vertical":Wt,square:$t,"stack-compact":qt,stack:Gt,star:Yt,stop:Kt,strikethrough:Xt,string:Jt,sun:Qt,sync:en,tag:tn,tags:nn,terminal:rn,"th-large":on,"th-list":an,tiers:sn,"toggle-arrow-right":un,token:ln,transfer:cn,translate:dn,trash:fn,"trend-upward":hn,"triangle-outline":pn,trolley:gn,truncate:mn,twitter:vn,ulist:yn,underline:bn,undo:wn,unknown:xn,unlock:Cn,unpublish:kn,upload:En,user:_n,users:Sn,"warning-filled":jn,"warning-outline":Mn,wrench:On};(0,r.forwardRef)((function(e,t){const{symbol:n,...o}=e,i=An[n];return i?(0,r.createElement)(i,{...o,ref:t}):null}))},21137:function(e,t,n){"use strict";n.d(t,{hn:function(){return s},xN:function(){return l}});var r=n(85893),o=n(55379),i=n(67294);(0,i.forwardRef)((function(e,t){return(0,r.jsxs)("svg",{"data-sanity-icon":"groq-logo",height:"1em",viewBox:"0 0 304 64",f
1ill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,r.jsx)("path",{d:"M32 0L0 32H32V0Z",fill:o.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M32 32H0L32 64V32Z",fill:o.VG.green[300].hex}),(0,r.jsx)("path",{d:"M64 32H32V64L64 32Z",fill:o.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M112 0L80 32H112V0Z",fill:o.VG.green[300].hex}),(0,r.jsx)("path",{d:"M112 0H80V32L112 0Z",fill:o.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M112 32H80L112 64V32Z",fill:o.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M144 64L112 32V64H144Z",fill:o.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M80 32V64H112L80 32Z",fill:o.VG.orange[400].hex}),(0,r.jsx)("path",{d:"M112 0V32H144L112 0Z",fill:o.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M192 0L160 32H192V0Z",fill:o.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M192 32H160L192 64V32Z",fill:o.VG.orange[400].hex}),(0,r.jsx)("path",{d:"M224 32H192V64L224 32Z",fill:o.VG.green[300].hex}),(0,r.jsx)("path",{d:"M192 0V32H224L192 0Z",fill:o.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M272 0L240 32H272V0Z",fill:o.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M304 32L272 64H304V32Z",fill:o.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M272 32H240L272 64V32Z",fill:o.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M304 32H272V64L304 32Z",fill:o.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M272 0V32H304L272 0Z",fill:o.VG.green[300].hex})]})})),(0,i.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:o.VG.green[950].hex}),(0,r.jsx)("rect",{y:"32",width:"64",height:"64",fill:o.VG.green[800].hex}),(0,r.jsx)("path",{d:"M64 32L32 64H64V32Z",fill:o.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M64 64H32L64 96V64Z",fill:o.VG.green[300].hex}),(0,r.jsx)("path",{d:"M96 64H64V96L96 64Z",fill:o.VG.purple[300].hex})]})}));const a={light:[o.VG.red[200].hex,o.VG.red[300].hex,o.VG.red[500].hex],dark:[o.VG.gray[500].hex,o.VG.gray[300].hex,o.ix.hex]},s=(0,i.forwardRef)((function(e,t){const{dark:n,...o}=e,i=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",...o,ref:t,children:[(0,r.jsx)("path",{d:"M311.14 57.234V80.0016H298.499V57.234",fill:i[1]}),(0,r.jsx)("path",{d:"M298.499 57.2341L319.889 20.0017H333.316L311.14 57.2341H298.499Z",fill:i[2]}),(0,r.jsx)("path",{d:"M298.499 57.2341L276.515 20.0017H290.345L305.239 45.5161L298.499 57.2341Z",fill:i[1]}),(0,r.jsx)("path",{d:"M253.839 40.9625V80.0017H241.007V47.6275L253.839 40.9625Z",fill:i[1]}),(0,r.jsx)("path",{d:"M241.007 47.5944L273.538 30.9469L268.042 21.6519L241.007 34.8633V47.5944Z",fill:i[0]}),(0,r.jsx)("path",{d:"M241.007 30.9469H221.404V20.0017H267.064L273.538 30.9469H253.839H241.007Z",fill:i[2]}),(0,r.jsx)("path",{d:"M214.047 20.0017H201.311V80.0121H214.047V20.0017Z",fill:i[2]}),(0,r.jsx)("path",{d:"M149.39 37.8712V80.0017H137.153V20.0017L149.39 37.8712Z",fill:i[1]}),(0,r.jsx)("path",{d:"M151.282 20.0017L178.231 60.9939V80.0017L137.153 20.0017H151.282Z",fill:i[2]}),(0,r.jsx)("path",{d:"M178.231 57.9129V20.0017H190.467V80.0017H178.231V57.9129Z",fill:i[1]}),(0,r.jsx)("path",{d:"M82.1168 80.9834L112.102 65.3053L108.405 55.7303L88.6644 64.9362L82.1168 80.9834Z",fill:i[0]}),(0,r.jsx)("path",{d:"M100.657 35.5422L82.1167 80.9834L72.5807 72.7745L94.6719 20.0017L100.657 35.5422Z",fill:i[1]}),(0,r.jsx)("path",{d:"M94.672 20.0017H107.312L130.69 80.0017H117.752L94.672 20.0017Z",fill:i[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:i[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:i[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:i[1]})]})})),u={bg1:o.VG.red[500].hex,bg2:o.VG.red[200].hex,fg:o.ix.hex},l=(0,i.forwardRef)((function(e,t){const{color:n=u,...o}=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",...o,ref:t,children:[(0,r.jsx)("rect",{width:"128",height:"128",rx:"8",fill:n.bg1}
1),(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})]})}))},1014:function(e,t,n){"use strict";function r(){return r=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},r.apply(this,arguments)}n.d(t,{MG:function(){return u}});var o=n(67294),i=n(60754),a="undefined"!==typeof document?o.useLayoutEffect:o.useEffect;function s(e){var t=o.useReducer((function(){return{}}),{})[1],n=r({},e,{onChange:function(n){t(),null==e.onChange||e.onChange(n)}}),s=o.useState((function(){return new i.dM(n)}))[0];return s.setOptions(n),o.useEffect((function(){return s._didMount()}),[]),a((function(){return s._willUpdate()})),s}function u(e){return s(r({observeElementRect:i.nr,observeElementOffset:i.ND,scrollToFn:i.sA},e))}},60754:function(e,t,n){"use strict";function r(){return r=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},r.apply(this,arguments)}function o(e,t,n){var r,o,i=null!=(r=n.initialDeps)?r:[];return function(){var r;n.key&&null!=n.debug&&n.debug()&&(r=Date.now());var a,s=e();if(!(s.length!==i.length||s.some((function(e,t){return i[t]!==e}))))return o;if(i=s,n.key&&null!=n.debug&&n.debug()&&(a=Date.now()),o=t.apply(void 0,s),n.key&&null!=n.debug&&n.debug()){var u=Math.round(100*(Date.now()-r))/100,l=Math.round(100*(Date.now()-a))/100,c=l/16,d=function(e,t){for(e=String(e);e.length<t;)e=" "+e;return e};console.info("%c\u23f1 "+d(l,5)+" /"+d(u,5)+" ms","\n font-size: .6rem;\n font-weight: bold;\n color: hsl("+Math.max(0,Math.min(120-120*c,120))+"deg 100% 31%);",null==n?void 0:n.key)}return null==n||null==n.onChange||n.onChange(o),o}}function i(e,t){if(void 0===e)throw new Error("Unexpected undefined"+(t?": "+t:""));return e}n.d(t,{dM:function(){return f},MK:function(){return s},sA:function(){return d},ND:function(){return l},nr:function(){return u}});var a=function(e){return e},s=function(e){for(var t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[],o=t;o<=n;o++)r.push(o);return r},u=function(e,t){var n=e.scrollElement;if(n){var r=function(e){var n=e.width,r=e.height;t({width:Math.round(n),height:Math.round(r)})};r(n.getBoundingClientRect());var o=new ResizeObserver((function(e){var t=e[0];if(null!=t&&t.borderBoxSize){var o=t.borderBoxSize[0];if(o)return void r({width:o.inlineSize,height:o.blockSize})}r(n.getBoundingClientRect())}));return o.observe(n,{box:"border-box"}),function(){o.unobserve(n)}}},l=function(e,t){var n=e.scrollElement;if(n){var r=function(){t(n[e.options.horizontal?"scrollLeft":"scrollTop"])};return r(),n.addEventListener("scroll",r,{passive:!0}),function(){n.removeEventListener("scroll",r)}}},c=function(e,t,n){if(null!=t&&t.borderBoxSize){var r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},d=function(e,t,n){var r,o,i=t.adjustments,a=void 0===i?0:i,s=t.behavior,u=e+a;null==(r=n.scrollElement)||null==r.scrollTo||r.scrollTo(((o={}
1)[n.options.horizontal?"left":"top"]=u,o.behavior=s,o))},f=function(e){var t=this;this.unsubs=[],this.scrollElement=null,this.isScrolling=!1,this.isScrollingTimeoutId=null,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollDirection=null,this.scrollAdjustments=0,this.measureElementCache=new Map,this.observer=function(){var e=null,n=function(){return e||("undefined"!==typeof ResizeObserver?e=new ResizeObserver((function(e){e.forEach((function(e){t._measureElement(e.target,e)}))})):null)};return{disconnect:function(){var e;return null==(e=n())?void 0:e.disconnect()},observe:function(e){var t;return null==(t=n())?void 0:t.observe(e,{box:"border-box"})},unobserve:function(e){var t;return null==(t=n())?void 0:t.unobserve(e)}}}(),this.range={startIndex:0,endIndex:0},this.setOptions=function(e){Object.entries(e).forEach((function(t){var n=t[0];"undefined"===typeof t[1]&&delete e[n]})),t.options=r({debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:a,rangeExtractor:s,onChange:function(){},measureElement:c,initialRect:{width:0,height:0},scrollMargin:0,scrollingDelay:150,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1},e)},this.notify=function(){null==t.options.onChange||t.options.onChange(t)},this.cleanup=function(){t.unsubs.filter(Boolean).forEach((function(e){return e()})),t.unsubs=[],t.scrollElement=null},this._didMount=function(){return t.measureElementCache.forEach(t.observer.observe),function(){t.observer.disconnect(),t.cleanup()}},this._willUpdate=function(){var e=t.options.getScrollElement();t.scrollElement!==e&&(t.cleanup(),t.scrollElement=e,t._scrollToOffset(t.scrollOffset,{adjustments:void 0,behavior:void 0}),t.unsubs.push(t.options.observeElementRect(t,(function(e){var n=t.scrollRect;t.scrollRect=e,(t.options.horizontal?e.width!==n.width:e.height!==n.height)&&t.maybeNotify()}))),t.unsubs.push(t.options.observeElementOffset(t,(function(e){t.scrollAdjustments=0,t.scrollOffset!==e&&(null!==t.isScrollingTimeoutId&&(clearTimeout(t.isScrollingTimeoutId),t.isScrollingTimeoutId=null),t.isScrolling=!0,t.scrollDirection=t.scrollOffset<e?"forward":"backward",t.scrollOffset=e,t.maybeNotify(),t.isScrollingTimeoutId=setTimeout((function(){t.isScrollingTimeoutId=null,t.isScrolling=!1,t.scrollDirection=null,t.maybeNotify()}),t.options.scrollingDelay))}))))},this.getSize=function(){return t.scrollRect[t.options.horizontal?"width":"height"]},this.memoOptions=o((function(){return[t.options.count,t.options.paddingStart,t.options.scrollMargin,t.options.getItemKey]}),(function(e,n,r,o){return t.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:n,scrollMargin:r,getItemKey:o}}),{key:!1}),this.getFurthestMeasurement=function(e,n){for(var r=new Map,o=new Map,i=n-1;i>=0;i--){var a=e[i];if(!r.has(a.lane)){var s=o.get(a.lane);if(null==s||a.end>s.end?o.set(a.lane,a):a.end<s.end&&r.set(a.lane,!0),r.size===t.options.lanes)break}}return o.size===t.options.lanes?Array.from(o.values()).sort((function(e,t){return e.end-t.end}))[0]:void 0},this.getMeasurements=o((function(){return[t.memoOptions(),t.itemSizeCache]}),(function(e,n){var r=e.count,o=e.paddingStart,i=e.scrollMargin,a=e.getItemKey,s=t.pendingMeasuredCacheIndexes.length>0?Math.min.apply(Math,t.pendingMeasuredCacheIndexes):0;t.pendingMeasuredCacheIndexes=[];for(var u=t.measurementsCache.slice(0,s),l=s;l<r;l++){var c=a(l),d=1===t.options.lanes?u[l-1]:t.getFurthestMeasurement(u,l),f=d?d.end:o+i,h=n.get(c),p="number"===typeof h?h:t.options.estimateSize(l),g=f+p,m=d?d.lane:l%t.options.lanes;u[l]={index:l,start:f,size:p,end:g,key:c,lane:m}}return t.measurementsCache=u,u}),{key:!1,debug:function(){return t.options.debug}}),this.calculateRange=o((function(){return[t.getMeasurements(),t.getSize(),t.scrollOffset]}),(function(e,n,r){return t.range=function(e){var t=e.measurements,n=e.outerSize,r=e.scrollOffset,o=t.length-1,i=h(0,o,(function(e){return t[e].start}),r),a=i;for(;a<o&&t[a].end<r+n;)a++;return{startIndex:i,endIndex:a}}({measurements:e,outerSize:n,scrollOffset:r})}),{key:!1,debug:function(){return t.options.debug}}),this.maybeNotify=o((function(){var e=t.calculateRange();return[e.startIndex,e.endIndex,t.isScrolling]}),(function(){t.notify()}),{key:!1,debug:function(){return t.options.debug},initialDeps:[this.range.startIndex,this.range.endIndex,this.isScrolling]}),this.getIndexes=o((function(){return[t.options.rangeExtractor,t.calculateRange(),t.options.overscan,t.options.count]}),(function(e,t,n,o){return e(r({},t,{overscan:n,count:o}))}),{key:!1,debug:function(){return t.options.debug}}),this.indexFromElement=function(e){var n=t.options.indexAttribute,r=e.getAttribute(n);return r?parseInt(r,10):(console.warn("Missing attribute name '"+n+"={index}' on measured element."),-1)},this._measureElement=function(e,n){var r,o=t.indexFromElement(e),i=t.measurementsCache[o];if(i){var a=t.measureElementCache.get(i.key);if(!e.isConnected)return t.observer.unobserve(e),void(e===a&&t.measureElementCache.delete(i.key));a!==e&&(a&&t.observer.unobserve(a),t.observer.observe(e),t.measureElementCache.set(i.key,e));var s=t.options.measureElement(e,n,t),u=s-(null!=(r=t.itemSizeCache.get(i.key))?r:i.size);0!==u&&(i.start<t.scrollOffset&&t._scrollToOffset(t.scrollOffset,{adju
1stments:t.scrollAdjustments+=u,behavior:void 0}),t.pendingMeasuredCacheIndexes.push(o),t.itemSizeCache=new Map(t.itemSizeCache.set(i.key,s)),t.notify())}},this.measureElement=function(e){e&&t._measureElement(e,void 0)},this.getVirtualItems=o((function(){return[t.getIndexes(),t.getMeasurements()]}),(function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=t[e[r]];n.push(i)}return n}),{key:!1,debug:function(){return t.options.debug}}),this.getVirtualItemForOffset=function(e){var n=t.getMeasurements();return i(n[h(0,n.length-1,(function(e){return i(n[e]).start}),e)])},this.getOffsetForAlignment=function(e,n){var r=t.getSize();"auto"===n&&(n=e<=t.scrollOffset?"start":e>=t.scrollOffset+r?"end":"start"),"start"===n||("end"===n?e-=r:"center"===n&&(e-=r/2));var o=t.options.horizontal?"scrollWidth":"scrollHeight",i=(t.scrollElement?"document"in t.scrollElement?t.scrollElement.document.documentElement[o]:t.scrollElement[o]:0)-t.getSize();return Math.max(Math.min(i,e),0)},this.getOffsetForIndex=function(e,n){void 0===n&&(n="auto"),e=Math.max(0,Math.min(e,t.options.count-1));var r=i(t.getMeasurements()[e]);if("auto"===n)if(r.end>=t.scrollOffset+t.getSize()-t.options.scrollPaddingEnd)n="end";else{if(!(r.start<=t.scrollOffset+t.options.scrollPaddingStart))return[t.scrollOffset,n];n="start"}var o="end"===n?r.end+t.options.scrollPaddingEnd:r.start-t.options.scrollPaddingStart;return[t.getOffsetForAlignment(o,n),n]},this.isDynamicMode=function(){return t.measureElementCache.size>0},this.cancelScrollToIndex=function(){null!==t.scrollToIndexTimeoutId&&(clearTimeout(t.scrollToIndexTimeoutId),t.scrollToIndexTimeoutId=null)},this.scrollToOffset=function(e,n){var r=void 0===n?{}:n,o=r.align,i=void 0===o?"start":o,a=r.behavior;t.cancelScrollToIndex(),"smooth"===a&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t._scrollToOffset(t.getOffsetForAlignment(e,i),{adjustments:void 0,behavior:a})},this.scrollToIndex=function(e,n){var r=void 0===n?{}:n,o=r.align,i=void 0===o?"auto":o,a=r.behavior;e=Math.max(0,Math.min(e,t.options.count-1)),t.cancelScrollToIndex(),"smooth"===a&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");var s=t.getOffsetForIndex(e,i),u=s[0],l=s[1];t._scrollToOffset(u,{adjustments:void 0,behavior:a}),"smooth"!==a&&t.isDynamicMode()&&(t.scrollToIndexTimeoutId=setTimeout((function(){var n,r;if(t.scrollToIndexTimeoutId=null,t.measureElementCache.has(t.options.getItemKey(e))){var o=t.getOffsetForIndex(e,l)[0];n=o,r=t.scrollOffset,Math.abs(n-r)<1||t.scrollToIndex(e,{align:l,behavior:a})}else t.scrollToIndex(e,{align:l,behavior:a})})))},this.scrollBy=function(e,n){var r=(void 0===n?{}:n).behavior;t.cancelScrollToIndex(),"smooth"===r&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t._scrollToOffset(t.scrollOffset+e,{adjustments:void 0,behavior:r})},this.getTotalSize=function(){var e;return((null==(e=t.getMeasurements()[t.options.count-1])?void 0:e.end)||t.options.paddingStart)-t.options.scrollMargin+t.options.paddingEnd},this._scrollToOffset=function(e,n){var r=n.adjustments,o=n.behavior;t.options.scrollToFn(e,{behavior:o,adjustments:r},t)},this.measure=function(){t.itemSizeCache=new Map,t.notify()},this.setOptions(e),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset,this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((function(e){t.itemSizeCache.set(e.key,e.size)})),this.maybeNotify()},h=function(e,t,n,r){for(;e<=t;){var o=(e+t)/2|0,i=n(o);if(i<r)e=o+1;else{if(!(i>r))return o;t=o-1}}return e>0?e-1:0}},83508:function(e,t,n){"use strict";function r(e,t,n){return Math.min(Math.max(e,n),t)}n.d(t,{$n:function(){return k},WC:function(){return C},XV:function(){return E},_j:function(){return b}});class o extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var i=o;function a(e){if("string"!==typeof e)throw new i(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=p.test(e)?function(e){const t=e.toLowerCase().trim(),n=u[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new i(e);return`#${n}`}(e):e;const n=c.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(l(e,2),16))),parseInt(l(e[3]||"f",2),16)/255]}const o=d.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const a=f.exec(t);if(a){const e=Array.from(a).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const s=h.exec(t);if(s){const[t,n,o,a]=Array.from(s).slice(1).map(parseFloat);if(r(0,100,n)!==n)throw new i(e);if(r(0,100,o)!==o)throw new i(e);return[...m(t,n,o),Number.isNaN(a)?1:a]}throw new i(e)}const s=e=>parseInt(e.replace(/_/g,""),36),u="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const n=s(t.substring(0,3)),r=s(t.substring(3)).toString(16);let o="";for(let i=0;i<6-r.length;i++)o+="0";return e[n]=`${o}${r}`,e}),{});const l=(e,t)=>
1Array.from(Array(t)).map((()=>e)).join(""),c=new RegExp(`^#${l("([a-f0-9])",3)}([a-f0-9])?$`,"i"),d=new RegExp(`^#${l("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),f=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${l(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),h=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,p=/^[a-z]+$/i,g=e=>Math.round(255*e),m=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(g);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,u=0,l=0;o>=0&&o<1?(s=i,u=a):o>=1&&o<2?(s=a,u=i):o>=2&&o<3?(u=i,l=a):o>=3&&o<4?(u=a,l=i):o>=4&&o<5?(s=a,l=i):o>=5&&o<6&&(s=i,l=a);const c=r-i/2;return[s+c,u+c,l+c].map(g)};function v(e){const[t,n,r,o]=a(e).map(((e,t)=>3===t?e:e/255)),i=Math.max(t,n,r),s=Math.min(t,n,r),u=(i+s)/2;if(i===s)return[0,0,u,o];const l=i-s;return[60*(t===i?(n-r)/l+(n<r?6:0):n===i?(r-t)/l+2:(t-n)/l+4),u>.5?l/(2-i-s):l/(i+s),u,o]}function y(e,t,n,o){return`hsla(${(e%360).toFixed()}, ${r(0,100,100*t).toFixed()}%, ${r(0,100,100*n).toFixed()}%, ${parseFloat(r(0,1,o).toFixed(3))})`}function b(e,t){const[n,r,o,i]=v(e);return y(n,r,o-t,i)}function w(e){if("transparent"===e)return 0;function t(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}const[n,r,o]=a(e);return.2126*t(n)+.7152*t(r)+.0722*t(o)}const x={decorative:1.5,readable:3,aa:4.5,aaa:7};function C(e,t="aa",n="#fff"){return function(e,t){const n=w(e),r=w(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}(e,n)<x[t]}function k(e,t){return b(e,-t)}function E(e){return function(e){return w(e)>.179}(e)?"#000":"#fff"}},35516:function(e,t,n){"use strict";n.d(t,{E:function(){return Ct}});var r=n(31150),o=n(4007),i=n(33899),a=n(35292),s=n(50806),u=n(81662),l=n(45487),c=n(28148),d=n(66405),f=n(86917),h=n(70486),p=n(83624);const g=(e,t)=>Math.abs(e-t);var m=n(37367),v=n(9403);class y{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=x(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=g(e.x,t.x),r=g(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=m.frameData;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=b(t,this.transformPagePoint),d.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=x("pointercancel"===e.type?this.lastMoveEventInfo:b(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!(0,v.D)(e))return;this.handlers=t,this.transformPagePoint=n;const r=b((0,c.Q)(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=m.frameData;this.history=[{...o,timestamp:i}];const{onSessionStart:a}=t;a&&a(e,x(r,this.history)),this.removeListeners=(0,p.z)((0,h.a)(window,"pointermove",this.handlePointerMove),(0,h.a)(window,"pointerup",this.handlePointerUp),(0,h.a)(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,d.Pn)(this.updatePoint)}}function b(e,t){return t?{point:t(e.point)}:e}function w(e,t){return{x:e.x-t.x,y:e.y-t.y}}function x({point:e},t){return{point:e,delta:w(e,k(t)),offset:w(e,C(t)),velocity:E(t,.1)}}function C(e){return e[0]}function k(e){return e[e.length-1]}function E(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=k(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>(0,f.w)(t)));)n--;if(!r)return{x:0,y:0};const i=(0,f.X)(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var _=n(37544),S=n(51804),j=n(23967),M=n(80022);function O(e){return e.max-e.min}function A(e,t=0,n=.01){return Math.abs(e-t)<=n}function T(e,t,n,r=.5){e.origin=r,e.originPoint=(0,M.C)(t.min,t.max,e.origin),e.scale=O(n)/O(t),(A(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,M.C)(n.min,n.max,e.origin)-e.originPoint,(A(e.translate)||isNaN(e.translate))&&(e.translate=0)}function R(e,t,n,r){T(e.x,t.x,n.x,r?r.originX:void 0),T(e.y,t.y,n.y,r?r.originY:void 0)}function L(e,t,n){e.min=n.min+t.min,e.max=e.min+O(t)}function D(e,t,n){e.min=t.min-n.min,e.max=e.min+O(t)}function P(e,t,n){D(e.x,t.x,n.x),D(e.y,t.y,n.y)}var I=n(24169);function F(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Z(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const N=.35;function H(e,t,n){return{min:B(e,t),max:B(e,n)}}function B(e,t){return"number"===typeof e?e:e[t]||0}var V=n(61512);function z(e){return[e("x"),e("y")]}var U=n(56460),W=n(76117),$=n(18456),q=n(96190),G=n(369);const Y=new WeakMap;class K{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,V.dO)(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new y(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor((0,c.Q)(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,_.fJ)(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),z((e=>{let t=this.getAxisMotionValue(e).get()||0;if(q.aQ.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=O(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),o&&d.Wi.update((()=>o(e,t)),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>
1{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&d.Wi.update((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!X(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,M.C)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,M.C)(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&(0,S.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:F(e.x,n,o),y:F(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=N){return!1===e?e=0:!0===e&&(e=N),{x:H(e,"left","right"),y:H(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&z((e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!(0,S.I)(e))return!1;const n=e.current;(0,l.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=(0,U.z)(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Z(e.x,t.x),y:Z(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t((0,W.z2)(i));this.hasMutatedConstraints=!!e,e&&(i=(0,W.i8)(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},u=z((a=>{if(!X(a,t,this.currentDirection))return;let u=s&&s[a]||{};i&&(u={min:0,max:0});const l=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:l,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...u};return this.startAxisValueAnimation(a,d)}));return Promise.all(u).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start((0,G.v)(e,n,0,t))}stopAnimation(){z((e=>this.getAxisMotionValue(e).stop()))}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){z((t=>{const{drag:n}=this.getProps();if(!X(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-(0,M.C)(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!(0,S.I)(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};z((e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=O(e),o=O(t);return o>r?n=(0,j.Y)(t.min,t.max-r,e.min):r>o&&(n=(0,j.Y)(e.min,e.max-o,t.min)),(0,I.u)(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),z((t=>{if(!X(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set((0,M.C)(o,i,r[t]))}))}addListeners(){if(!this.visualElement.current)return;Y.set(this.visualElement,this);const e=this.visualElement.current,t=(0,h.a)(e,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}
1=this.getProps();t&&n&&this.start(e)})),n=()=>{const{dragConstraints:e}=this.getProps();(0,S.I)(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n();const i=(0,$.E)(window,"resize",(()=>this.scalePositionWithinConstraints())),a=r.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(z((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{i(),t(),o(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=N,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function X(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class J extends s.L{constructor(e){super(e),this.removeGroupControls=u.Z,this.removeListeners=u.Z,this.controls=new K(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||u.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}const Q=e=>(t,n)=>{e&&d.Wi.update((()=>e(t,n)))};class ee extends s.L{constructor(){super(...arguments),this.removePointerDownListener=u.Z}onPointerDown(e){this.session=new y(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Q(e),onStart:Q(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&d.Wi.update((()=>r(e,t)))}}}mount(){this.removePointerDownListener=(0,h.a)(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var te=n(67294),ne=n(240);var re=n(25364),oe=n(41705);const ie={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ae(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const se={correct:(e,t)=>{if(!t.target)return e;if("string"===typeof e){if(!q.px.test(e))return e;e=parseFloat(e)}return`${ae(e,t.target.x)}% ${ae(e,t.target.y)}%`}};var ue=n(51550);const le={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=ue.P.parse(e);if(o.length>5)return r;const i=ue.P.createTransformer(e),a="number"!==typeof o[0]?1:0,s=n.x.scale*t.x,u=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=u;const l=(0,M.C)(s,u,.5);return"number"===typeof o[2+a]&&(o[2+a]/=l),"number"===typeof o[3+a]&&(o[3+a]/=l),i(o)}};var ce=n(64561);class de extends te.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;(0,ce.B)(he),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ie.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||d.Wi.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function fe(e){const[t,n]=function(){const e=(0,te.useContext)(ne.O);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=(0,te.useId)();return(0,te.useEffect)((()=>r(o)),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=(0,te.useContext)(re.p);return te.createElement(de,{...e,layoutGroup:r,switchLayoutGroup:(0,te.useContext)(oe.g),isPresent:t,safeToRemove:n})}const he={borderRadius:{...se,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:se,borderTopRightRadius:se,borderBottomLeftRadius:se,borderBottomRightRadius:se,boxShadow:le};var pe=n(21560),ge=n(27255);const me=["TopLeft","TopRight","BottomLeft","BottomRight"],ve=me.length,ye=e=>"string"===typeof e?parseFloat(e):e,be=e=>"number"===typeof e||q.px.test(e);function we(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const xe=ke(0,.5,ge.Bn),Ce=ke(.5,.95,u.Z);function ke(e,t,n){return r=>r<e?0:r>t?1:n((0,j.Y)(e,t,r))}function Ee(e,t){e.min=t.min,e.max=t.max}function _e(e,t){Ee(e.x,t.x),Ee(e.y,t.y)}var Se=n(16e3);function je(e,t,n,r,o){return e-=t,e=(0,Se.q2)(e,1/n,r),void 0!==o&&(e=(0,Se.q2)(e,1/o,r)),e}function Me(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){q.aQ.test(t)&&(t=parseFloat(t),t=(0,M.C)(a.min,a.max,t/100)-a.min);if("number"!==typeof t)return;let s=(0,M.C)(i.min,i.max,r);e===i&&(s-=t),e.min=je(e.min,t,n,s,o),e.max=je(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const Oe=["x","scaleX","originX"],Ae=["y","scaleY","originY"];function Te(e,t,n,r){Me(e.x,t,Oe,n?n.x:void 0,r?r.x:void 0),Me(e.y,t,Ae,n?n.y:void 0,r?r.y:void 0)}var Re=n(31056);function Le(e){return 0===e.translate&&1===e.scale}function De(e){return Le(e.x)&&Le(e.y)}function Pe(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Ie(e){return O(e.x)/O(e.y)}var Fe=n(10010);class Ze{constructor(){this.members=[]}add(e){(0,Fe.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,Fe.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let r=t;r>=0;r--){const e=this.members[r];if(!1!==e.isPresent){n=e;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}
1exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ne(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}var He=n(99527);const Be=(e,t)=>e.depth-t.depth;class Ve{constructor(){this.children=[],this.isDirty=!1}add(e){(0,Fe.y4)(this.children,e),this.isDirty=!0}remove(e){(0,Fe.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Be),this.isDirty=!1,this.children.forEach(e)}}var ze=n(16399);var Ue=n(33234),We=n(40406);const $e=["","X","Y","Z"];let qe=0;const Ge={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Ye({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null===t||void 0===t?void 0:t())){this.id=qe++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{Ge.totalNodes=Ge.resolvedTargetDeltas=Ge.recalculatedProjection=0,this.nodes.forEach(Je),this.nodes.forEach(it),this.nodes.forEach(at),this.nodes.forEach(Qe),function(e){window.MotionDebug&&window.MotionDebug.record(e)}(Ge)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ve)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new pe.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&((0,d.Pn)(r),e(i-t))};return d.Wi.read(r,!0),()=>(0,d.Pn)(r)}(r,250),ie.hasAnimatedSinceResize&&(ie.hasAnimatedSinceResize=!1,this.nodes.forEach(ot))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||ft,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),u=!this.targetLayout||!Pe(this.targetLayout,r)||n,l=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||l||t&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,l);const t={...(0,Re.e)(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ot(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,d.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(st),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const e=this.path[o];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(tt);this.isUpdating||this.nodes.forEach(nt),this.isUpdating=!1,this.nodes.forEach(rt),this.nodes.forEach(Ke),this.nodes.forEach(Xe),this.clearAllSnapshots();const e=performance.now();m.frameData.delta=(0,I.u)(0,1e3/60,e-m.frameData.timestamp),m.frameData.timestamp=e,m.frameData.isProcessing=!0,d.S6.update.process(m.frameData),d.S6.preRender.process(m.frameData),d.S6.render.process(m.frameData),m.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask((()=>this.update())))}clearAllSnapshots(){this.nodes.forEach(et),this.sharedNodes.forEach(ut)}scheduleUpdateProjection(){d.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){d.Wi.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,V.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!De(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||(0,He.ud)(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),ht((r=n).x),ht(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return(0,V.dO)();const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&((0,Se.am)(t.x,n.offset.x),(0,Se.am)(t.y,n.offset.y)),t}removeElementScroll(e){const t=(0,V.dO)();_e(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){_e(t,e);const{scroll:n}=this.root;n&&((0,Se.am)(t.x,-n.offset.x),(0,Se.am)(t.y,-n.offset.y))}(0,Se.am)(t.x,o.offset.x),(0,Se.am)(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n=(0,V.dO)();_e(n,e);for(let r=0;r<this.path.length;r++){const e=this.path[r];!t&&e.options.layoutScroll&&e.scroll&&e!==e.root&&(0,Se.D2)(n,{x:-e.scroll.offset.x,y:-e.scroll.offset.y}),(0,He.ud)(e.latestValues)&&(0,Se.D2)(n,e.latestValues)}return(0,He.ud)(this.latestValues)&&(0,Se.D2)(n,this.latestValues),n}removeTransform(e){const t=(0,V.dO)();_e(t,e);for(let n=0;n<this.path.length;n++){const e=this.path[n];if(!e.instance)continue;if(!(0,He.ud)(e.latestValues))continue;(0,He.Lj)(e.latestValues)&&e.updateSnapshot();const r=(0,V.dO)();_e(r,e.measurePageBox()),Te(t,e.latestValues,e.snapshot?e.snapshot.layoutBox:void 0,r)}return(0,He.ud)(this.latestValues)&&Te(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==m.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
1haredProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=m.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,V.dO)(),this.relativeTargetOrigin=(0,V.dO)(),P(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),_e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,u;if(this.target||(this.target=(0,V.dO)(),this.targetWithTransforms=(0,V.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,u=this.relativeParent.target,L(a.x,s.x,u.x),L(a.y,s.y,u.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):_e(this.target,this.layout.layoutBox),(0,Se.o2)(this.target,this.targetDelta)):_e(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,V.dO)(),this.relativeTargetOrigin=(0,V.dO)(),P(this.relativeTargetOrigin,this.target,e.target),_e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ge.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!(0,He.Lj)(this.parent.latestValues)&&!(0,He.D_)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===m.frameData.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;_e(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;(0,Se.YY)(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:u}=t;if(!u)return void(this.projectionTransform&&(this.projectionDelta=(0,V.wc)(),this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta=(0,V.wc)(),this.projectionDeltaWithTransform=(0,V.wc)());const l=this.projectionTransform;R(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.projectionTransform=Ne(this.projectionDelta,this.treeScale),this.projectionTransform===l&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),Ge.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i=(0,V.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a=(0,V.dO)(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),l=!u||u.members.length<=1,c=Boolean(s&&!l&&!0===this.options.crossfade&&!this.path.some(dt));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;lt(i.x,e.x,n),lt(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(P(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){ct(e.x,t.x,n.x,r),ct(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Pe(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d=(0,V.dO)()),_e(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=(0,M.C)(0,void 0!==n.opacity?n.opacity:1,xe(r)),e.o
1pacityExit=(0,M.C)(void 0!==t.opacity?t.opacity:1,0,Ce(r))):i&&(e.opacity=(0,M.C)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let a=0;a<ve;a++){const o=`border${me[a]}Radius`;let i=we(t,o),s=we(n,o);void 0===i&&void 0===s||(i||(i=0),s||(s=0),0===i||0===s||be(i)===be(s)?(e[o]=Math.max((0,M.C)(ye(i),ye(s),r),0),(q.aQ.test(s)||q.aQ.test(i))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=(0,M.C)(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,c,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,d.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=d.Wi.update((()=>{ie.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=(0,We.i)(e)?e:(0,Ue.B)(e);return r.start((0,G.v)("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&pt(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,V.dO)();const t=O(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=O(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}_e(t,n),(0,Se.D2)(t,o),R(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ze);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let o=0;o<$e.length;o++){const t="rotate"+$e[o];n[t]&&(r[t]=n[t],e.setStaticValue(t,0))}e.render();for(const o in r)e.setStaticValue(o,r[o]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=(0,ze.b)(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,ze.b)(e.pointerEvents)||""),this.hasProjected&&!(0,He.ud)(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=Ne(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));const{x:s,y:u}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*u.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const l in ce.P){if(void 0===a[l])continue;const{correct:e,applyTo:t}=ce.P[l],n="none"===r.transform?a[l]:e(a[l],i);if(t){const e=t.length;for(let o=0;o<e;o++)r[t[o]]=n}else r[l]=n}return this.options.layoutId&&(r.pointerEvents=i===this?(0,ze.b)(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
1resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(tt),this.root.sharedNodes.clear()}}}function Ke(e){e.updateLayout()}function Xe(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?z((e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=O(r);r.min=t[e].min,r.max=r.min+o})):pt(o,n.layoutBox,t)&&z((r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=O(t[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)}));const a=(0,V.wc)();R(a,t,n.layoutBox);const s=(0,V.wc)();i?R(s,e.applyTransform(r,!0),n.measuredBox):R(s,t,n.layoutBox);const u=!De(a);let l=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a=(0,V.dO)();P(a,n.layoutBox,o.layoutBox);const s=(0,V.dO)();P(s,t,i.layoutBox),Pe(a,s)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:l})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Je(e){Ge.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Qe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function et(e){e.clearSnapshot()}function tt(e){e.clearMeasurements()}function nt(e){e.isLayoutDirty=!1}function rt(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ot(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function it(e){e.resolveTargetDelta()}function at(e){e.calcProjection()}function st(e){e.resetRotation()}function ut(e){e.removeLeadSnapshot()}function lt(e,t,n){e.translate=(0,M.C)(t.translate,0,n),e.scale=(0,M.C)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ct(e,t,n,r){e.min=(0,M.C)(t.min,n.min,r),e.max=(0,M.C)(t.max,n.max,r)}function dt(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ft={duration:.45,ease:[.4,0,.1,1]};function ht(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function pt(e,t,n){return"position"===e||"preserve-aspect"===e&&!A(Ie(t),Ie(n),.2)}const gt=Ye({attachResizeListener:(e,t)=>(0,$.E)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),mt={current:void 0},vt=Ye({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!mt.current){const e=new gt({});e.mount(window),e.setOptions({layoutScroll:!0}),mt.current=e}return mt.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),yt={pan:{Feature:ee},drag:{Feature:J,ProjectionNode:vt,MeasureLayout:fe}};var bt=n(74547);const wt={layout:{ProjectionNode:vt,MeasureLayout:fe}},xt={...a.s,...i.E,...yt,...wt},Ct=(0,r.D)(((e,t)=>(0,o.w)(e,t,xt,bt.b)))},4527:function(e,t,n){"use strict";function r(e){return window.crypto.getRandomValues(e)}n.d(t,{Z:function(){return r}})},12902:function(e,t,n){"use strict";function r(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("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[q]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===G}(e)||Array.isArray(e)||!!e[$]||!!(null===(t=e.constructor)||void 0===t?void 0:t[$])||f(e)||h(e))}function a(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:Y)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:f(e)?2:h(e)?3:0}function u(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===s(e)?e.get(t):e[t]}
vendor: 8,295 bytes, line 1
1function c(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return V&&e instanceof Map}function h(e){return z&&e instanceof Set}function p(e){return e.o||e.t}function g(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=K(e);delete t[q];for(var n=Y(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),y(e)||o(e)||!i(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&a(e,(function(e,t){return m(t,!0)}),!0)),e}function v(){r(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=X[e];return t||r(18,e),t}function w(e,t){X[e]||(X[e]=t)}function x(){return H}function C(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function k(e){E(e),e.p.forEach(S),e.p=null}function E(e){e===H&&(H=e.l)}function _(e){return H={p:[],l:H,h:e,m:!0,_:0}}function S(e){var t=e[q];0===t.i||1===t.i?t.j():t.g=!0}function j(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||b("ES5").S(t,e,o),o?(n[q].P&&(k(t),r(4)),i(e)&&(e=M(t,e),t.l||A(t,e)),t.u&&b("Patches").M(n[q].t,e,t.u,t.s)):e=M(t,n,[]),k(t),t.u&&t.v(t.u,t.s),e!==W?e:void 0}function M(e,t,n){if(y(t))return t;var r=t[q];if(!r)return a(t,(function(o,i){return O(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return A(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=g(r.k):r.o,i=o,s=!1;3===r.i&&(i=new Set(o),o.clear(),s=!0),a(i,(function(t,i){return O(e,r,o,t,i,n,s)})),A(e,o,!1),n&&e.u&&b("Patches").N(r,n,e.u,e.s)}return r.o}function O(e,t,n,r,a,s,l){if(o(a)){var d=M(e,a,s&&t&&3!==t.i&&!u(t.R,r)?s.concat(r):void 0);if(c(n,r,d),!o(d))return;e.m=!1}else l&&n.add(a);if(i(a)&&!y(a)){if(!e.h.D&&e._<1)return;M(e,a),t&&t.A.l||A(e,a)}}function A(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function T(e,t){var n=e[q];return(n?p(n):e)[t]}function R(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function L(e){e.P||(e.P=!0,e.l&&L(e.l))}function D(e){e.o||(e.o=g(e.t))}function P(e,t,n){var r=f(t)?b("MapSet").F(t,n):h(t)?b("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:x(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=J;n&&(o=[r],i=Q);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(t,n):b("ES5").J(t,n);return(n?n.A:x()).p.push(r),r}function I(e){return o(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[q],o=s(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=F(t,o),r.I=!1}else n=F(t,o);return a(n,(function(t,o){r&&l(r.t,t)===o||c(n,t,e(o))})),3===o?new Set(n):n}(e)}function F(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return g(e)}function Z(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[q];return J.get(t,e)},set:function(t){var n=this[q];J.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][q];if(!o.P)switch(o.i){case 5:r(o)&&L(o);break;case 4:n(o)&&L(o)}}}function n(e){for(var t=e.t,n=e.k,r=Y(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==q){var a=t[i];if(void 0===a&&!u(t,i))return!0;var s=n[i],l=s&&s[q];if(l?l.t!==a:!d(s,a))return!0}}var c=!!t[q];return r.length!==Y(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var i={};w("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=K(n);delete i[q];for(var a=Y(i),s=0;s<a.length;s++){var u=a[s];i[u]=e(u,t||!!i[u].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:x(),P:!1,I:!1,R:{},l:n,t:t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,q,{value:i,writable:!0}),o},S:function(e,n,i){i?o(n)&&n[q].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[q];if(n){var o=n.t,i=n.k,s=n.R,l=n.i;if(4===l)a(i,(function(t){t!==q&&(void 0!==o[t]||u(o,t)?s[t]||e(i[t]):(s[t]=!0,L(n)))})),a(o,(function(e){void 0!==i[e]||u(i,e)||(s[e]=!1,L(n))}));else if(5===l){if(r(n)&&(L(n),s.length=!0),i.length<o.length)for(var c=i.length;c<o.length;c++)s[c]=!1;else for(var d=o.length;d<i.length;d++)s[d]=!0;for(var f=Math.min(i.length,o.length),h=0;h<f;h++)i.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&e(i[h])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,{P2:function(){return re},Uy:function(){return ne},_x:function(){return oe},mv:function(){return o},o$:function(){return i},pV:function(){return Z}});var N,H,B="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,z="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,W=B?Symbol.for("immer-nothing"):((N={})["immer-nothing"]=!0,N),$=B?Symbol.for("immer-draftable"):"__$immer_draftable",q=B?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,K=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},X={},J={get:function(e,t){if(t===q)return e;var n=p(e);if(!u(n,t))return function(e,t,n){var r,o=R(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!i(r)?r:r===T(e.t,t)?(D(e),e.o[t]=P(e.A.h,r,e)):r},has:function(e,t){return t in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,t,n){var r=R(p(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=T(p(e),t),i=null==o?void 0:o[q];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(d(n,o)&&(void 0!==n||u(e.t,t)))return!0;D(e),L(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==T(e.t,t)||t in e.t?(e.R[t]=!1,D(e),L(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=p(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},Q={};a(J,(function(e,t){Q[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Q.deleteProperty=function(e,t){return Q.set.call(this,e,t,void 0)},Q.set=function(e,t,n){return J.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.O=U,this.D=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return s.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(o))}))}}var u;if("function"!=typeof n&&r(6),void 0!==o&&"function"!=typeof o&&r(7),i(e)){var l=_(t),c=P(t,e,void 0),d=!0;try{u=n(c),d=!1}finally{d?k(l):E(l)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return C(l,o),j(e,l)}),(function(e){throw k(l),e})):(C(l,o),j(u,l))}if(!e||"object"!=typeof e){if(void 0===(u=n(e))&&(u=e),u===W&&(u=void 0),t.D&&m(u,!0),o){var f=[],h=[];b("Patches").M(e,u,f,h),o(f,h)}return u}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]}
1)):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||r(8),o(e)&&(e=I(e));var t=_(this),n=P(this,e,void 0);return n[q].C=!0,E(t),n},t.finishDraft=function(e,t){var n=(e&&e[q]).A;return C(n,t),j(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!U&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),te=new ee,ne=te.produce,re=(te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te)),oe=te.finishDraft.bind(te);t.ZP=ne},53416:function(e,t,n){"use strict";n.d(t,{kP:function(){return o},x0:function(){return i}});let r=e=>crypto.getRandomValues(new Uint8Array(e)),o=(e,t=21)=>((e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return(i=t)=>{let a="";for(;;){let t=n(o),s=o;for(;s--;)if(a+=e[t[s]&r]||"",a.length===i)return a}}})(e,t,r),i=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"),"")},50276:function(e,t,n){"use strict";n.d(t,{nD:function(){return b}});var r=n(85893),o=n(67294),i=n(32932),a=n(14141),s=n(40168),u=n(11636);function l(e){const t=(0,o.useMemo)((()=>Array.isArray(e)?e[0]:e),[e]);return(0,o.useMemo)((()=>(null==t?void 0:t.theme)||u.Lg),[t])}const c={__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"},d=()=>(0,r.jsx)("noscript",{children:(0,r.jsx)("div",{className:"sanity-app-no-js__root",children:(0,r.jsxs)("div",{className:"sanity-app-no-js__content",children:[(0,r.jsx)("style",{type:"text/css",dangerouslySetInnerHTML:c}),(0,r.jsx)("h1",{children:"JavaScript disabled"}),(0,r.jsxs)("p",{children:["Please ",(0,r.jsx)("a",{href:"https://www.enable-javascript.com/",children:"enable JavaScript"})," in your browser and reload the page to proceed."]})]})})});function f(e){const{config:t,scheme:n="light",unstable__noScript:o=!0}=e,i="next-sanity-spinner",a=l(t),{fonts:c,media:f}=a,h=(0,u.Lt)(f,[2],(e=>{const{ascenderHeight:t,descenderHeight:r,lineHeight:o,iconSize:s}=c.text.sizes[e],l=o-t-r;return{wrapper:{display:"block",animation:"".concat(i," 500ms linear infinite"),color:a.color["dark"===n?"dark":"light"].default.muted.default.enabled.muted.fg,width:(0,u.hO)(l),height:(0,u.hO)(l)},svg:{display:"block",width:(0,u.hO)(s),height:(0,u.hO)(s),margin:(l-s)/2}}}))[0];return(0,r.jsxs)(r.Fragment,{children:[o&&(0,r.jsx)(d,{}),(0,r.jsx)("div",{style:{fontFamily:c.text.family,backgroundColor:a.color["dark"===n?"dark":"light"].default.base.bg,height:"100vh",maxHeight:"100dvh",overscrollBehavior:"none",WebkitFontSmoothing:"antialiased",overflow:"auto"},children:(0,r.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,r.jsx)("style",{children:"@keyframes ".concat(i," {").concat("\nfrom {\n transform: rotate(0deg);\n}\n\nto {\n transform: rotate(360deg);\n}\n","}")},n),(0,r.jsx)("div",{"data-ui":"Text",style:{position:"relative",fontWeight:400,padding:"1px 0px",fontSize:"1rem",lineHeight:"calc(1.3125)",transform:"translateY(-5px)",color:a.color["dark"===n?"dark":"light"].default.muted.default.enabled.muted.fg},children:(0,r.jsx)("span",{children:"Loading\u2026"})}),(0,r.jsx)("div",{"data-ui":"Spinner",style:h.wrapper,children:(0,r.jsx)(s.L4p,{style:h.svg})})]})})]})}var h;function p(e){let{children:t,fallback:n}=e;const[i,a]=(0,o.useState)(!1);return(0,o.useEffect)((()=>(0,o.startTransition)((()=>a(!0)))),[]),(0,r.jsx)(r.Fragment,{children:i?t:n})}const g=a.ZP.div(h||(m=["\n font-family: ",";\n background-color: ",";\n height: 100vh;\n max-height: 100dvh;
1\n overscroll-behavior: none;\n -webkit-font-smoothing: antialiased;\n overflow: auto;\n"],v||(v=m.slice(0)),h=Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(v)}}))),(e=>{let{$fontFamily:t}=e;return t}),(e=>{let{$bg:t}=e;return t}));var m,v;const y=(0,o.memo)((e=>{let{children:t,config:n,scheme:o="light"}=e;const i=l(n);return(0,r.jsx)(g,{"data-ui":"NextStudioLayout",$fontFamily:i.fonts.text.family,$bg:i.color["dark"===o?"dark":"light"].default.base.bg,children:t})})),b=(0,o.memo)((e=>{let{children:t,config:n,unstable__noScript:o=!0,unstable__fastRender:a,scheme:s,...u}=e;return a?(0,r.jsxs)(r.Fragment,{children:[o&&(0,r.jsx)(d,{}),(0,r.jsx)(y,{config:n,scheme:s,children:t||(0,r.jsx)(i.NEx,{config:n,scheme:s,unstable_globalStyles:!0,...u})})]}):(0,r.jsxs)(r.Fragment,{children:[o&&(0,r.jsx)(d,{}),(0,r.jsx)(p,{fallback:(0,r.jsx)(f,{unstable__noScript:o,config:n,scheme:s}),children:(0,r.jsx)(y,{config:n,scheme:s,children:t||(0,r.jsx)(i.NEx,{config:n,scheme:s,unstable_globalStyles:!0,...u})})})]})}));!function(){if("undefined"===typeof document)return{subscribe:()=>()=>{},getSnapshot:()=>"light",getServerSnapshot:()=>"light"};const e=window.matchMedia("(prefers-color-scheme: dark)")}()},11530:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});const r={viewport:"width=device-width,initial-scale=1,viewport-fit=cover",referrer:"same-origin",robots:"noindex"}},3982:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});const r=[],o=[],i=new Set,a=new Map,s=new Map,u=e=>"string"===typeof e?new RegExp("^".concat(e,"$"),"i"):e,l=(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||i.has(e))return t;let{length:r}=n;for(;r--;){const e=n[r];if(e[0].test(t))return t.replace(e[0],(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];const[i,a]=r,s=e[1].replace(/\$(\d{1,2})/g,((e,t)=>r[t]||""));return l(""===i?t[a-1]:i,s)}))}return t},d=(e,t,n,r)=>{const o=e.toLowerCase();return n.has(o)?l(e,o):t.has(o)?l(e,t.get(o)):c(o,e,r)},f=(e,t,n,r)=>{const o=e.toLowerCase();return!!n.has(o)||!t.has(o)&&c(o,o,r)===o},h=(e,t,n)=>{const r=1===t?h.singular(e):h.plural(e);return n?"".concat(t," ").concat(r):r};h.plural=e=>d(e,s,a,r),h.singular=e=>d(e,a,s,o),h.addPluralRule=(e,t)=>{r.push([u(e),t])},h.addSingularRule=(e,t)=>{o.push([u(e),t])},h.addIrregularRule=(e,t)=>{const 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")):i.add(e.toLowerCase())},h.isPlural=e=>f(e,s,a,r),h.isSingular=e=>f(e,a,s,o);const p=[["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"]],g=[[/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"]],m=[[/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"]],v=["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\xe9]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i];for(const[y,b]of p)h.addIrregularRule(y,b);for(const[y,b]of g)h.addPluralRule(y,b);for(const[y,b]of m)h.addSingularRule(y,b);for(const y of v)h.addUncountableRule(y)},26246:function(e,t,n){"use strict";n.d(t,{Mr:function(){return Rn},OO:function(){return tn},Px:function(){return nn}});var r=n(67294),o=n(73935);function i(e,t){return n=>e(t(n))}function a(e,t){return t(e)}function s(e,t){return n=>e(t,n)}function u(e,t){return()=>e(t)}function l(e,t){return t(e),e}function c(...e){return e}function d(e){e()}function f(e){return()=>e}function h(e){return void 0!==e}function p(){}function g(e,t){return e(1,t)}function m(e,t){e(0,t)}function v(e){e(2)}
1function y(e){return e(4)}function b(e,t){return g(e,s(t,0))}function w(e,t){const n=e(1,(e=>{n(),t(e)}));return n}function x(){const e=[];return(t,n)=>{switch(t){case 2:return void e.splice(0,e.length);case 1:return e.push(n),()=>{const t=e.indexOf(n);t>-1&&e.splice(t,1)};case 0:return void e.slice().forEach((e=>{e(n)}));default:throw new Error(`unrecognized action ${t}`)}}}function C(e){let t=e;const n=x();return(e,r)=>{switch(e){case 1:r(t);break;case 0:t=r;break;case 4:return t}return n(e,r)}}function k(e){return l(x(),(t=>b(e,t)))}function E(e,t){return l(C(t),(t=>b(e,t)))}function _(e,...t){const n=function(...e){return t=>e.reduceRight(a,t)}(...t);return(t,r)=>{switch(t){case 1:return g(e,n(r));case 2:return void v(e)}}}function S(e,t){return e===t}function j(e=S){let t;return n=>r=>{e(t,r)||(t=r,n(r))}}function M(e){return t=>n=>{e(n)&&t(n)}}function O(e){return t=>i(t,e)}function A(e){return t=>()=>t(e)}function T(e,t){return n=>r=>n(t=e(t,r))}function R(e){return t=>n=>{e>0?e--:t(n)}}function L(e){let t,n=null;return r=>o=>{n=o,t||(t=setTimeout((()=>{t=void 0,r(n)}),e))}}function D(e){let t,n;return r=>o=>{t=o,n&&clearTimeout(n),n=setTimeout((()=>{r(t)}),e)}}function P(...e){const t=new Array(e.length);let n=0,r=null;const o=Math.pow(2,e.length)-1;return e.forEach(((e,i)=>{const a=Math.pow(2,i);g(e,(e=>{const s=n;n|=a,t[i]=e,s!==o&&n===o&&r&&(r(),r=null)}))})),e=>i=>{const a=()=>e([i].concat(t));n===o?a():r=a}}function I(...e){return function(t,n){switch(t){case 1:return function(...e){return()=>{e.map(d)}}(...e.map((e=>g(e,n))));case 2:return;default:throw new Error(`unrecognized action ${t}`)}}}function F(e,t=S){return _(e,j(t))}function Z(...e){const t=x(),n=new Array(e.length);let r=0;const o=Math.pow(2,e.length)-1;return e.forEach(((e,i)=>{const a=Math.pow(2,i);g(e,(e=>{n[i]=e,r|=a,r===o&&m(t,n)}))})),function(e,i){switch(e){case 1:return r===o&&i(n),g(t,i);case 2:return v(t);default:throw new Error(`unrecognized action ${e}`)}}}function N(e,t=[],{singleton:n}={singleton:!0}){return{id:H(),constructor:e,dependencies:t,singleton:n}}const H=()=>Symbol();const B="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function V(e,t,n){const o=Object.keys(t.required||{}),i=Object.keys(t.optional||{}),a=Object.keys(t.methods||{}),c=Object.keys(t.events||{}),d=r.createContext({});function h(e,n){e.propsReady&&m(e.propsReady,!1);for(const r of o){m(e[t.required[r]],n[r])}for(const r of i)if(r in n){m(e[t.optional[r]],n[r])}e.propsReady&&m(e.propsReady,!0)}function b(e){return c.reduce(((n,r)=>(n[r]=function(e){let t,n;const r=()=>t&&t();return function(o,i){switch(o){case 1:if(i){if(n===i)return;return r(),n=i,t=g(e,i),t}return r(),p;case 2:return r(),void(n=null);default:throw new Error(`unrecognized action ${o}`)}}}(e[t.events[r]]),n)),{})}const w=r.forwardRef(((s,p)=>{const{children:y,...w}=s,[x]=r.useState((()=>l(function(e){const t=new Map,n=({id:e,constructor:r,dependencies:o,singleton:i})=>{if(i&&t.has(e))return t.get(e);const a=r(o.map((e=>n(e))));return i&&t.set(e,a),a};return n(e)}(e),(e=>h(e,w))))),[C]=r.useState(u(b,x));return B((()=>{for(const e of c)e in w&&g(C[e],w[e]);return()=>{Object.values(C).map(v)}}),[w,C,x]),B((()=>{h(x,w)})),r.useImperativeHandle(p,f(function(e){return a.reduce(((n,r)=>(n[r]=n=>{m(e[t.methods[r]],n)},n)),{})}(x))),r.createElement(d.Provider,{value:x},n?r.createElement(n,function(e,t){const n={},r={};let o=0;const i=e.length;for(;o<i;)r[e[o]]=1,o+=1;for(const a in t)r.hasOwnProperty(a)||(n[a]=t[a]);return n}([...o,...i,...c],w),y):y)}));return{Component:w,usePublisher:e=>r.useCallback(s(m,r.useContext(d)[e]),[e]),useEmitterValue:e=>{const t=r.useContext(d)[e],[n,o]=r.useState(u(y,t));return B((()=>g(t,(e=>{e!==n&&o(f(e))}))),[t,n]),n},useEmitter:(e,t)=>{const n=r.useContext(d)[e];B((()=>g(n,t)),[t,n])}}}const z="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;var U=(e=>(e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR",e))(U||{});const W={0:"debug",1:"log",2:"warn",3:"error"},$=N((()=>{const e=C(3);return{log:C(((t,n,r=1)=>{var o;r>=(null!=(o=("undefined"===typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?o:y(e))&&console[W[r]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,n)})),logLevel:e}}),[],{singleton:!0});function q(e,t=!0){const n=r.useRef(null);let o=e=>{};if("undefined"!==typeof ResizeObserver){const i=r.useMemo((()=>new ResizeObserver((t=>{const n=t[0].target;null!==n.offsetParent&&e(n)}))),[e]);o=e=>{e&&t?(i.observe(e),n.current=e):(n.current&&i.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:o}}function G(e,t=!0){return q(e,t).callbackRef}function Y(e,t,n,o,i,a,s){const u=r.useCallback((n=>{const r=function(e,t,n,r){const o=e.length;if(0===o)return null;const i=[];for(let a=0;a<o;a++){const o=e.item(a);if(!o||void 0===o.dataset.index)continue;const s=parseInt(o.dataset.index),u=parseFloat(o.dataset.knownSize),l=t(o,n);if(0===l&&r("Zero-sized element, this should not happen",{child:o},U.ERROR),l===u)continue;const c=i[i.length-1];0===i.length||c.size!==l||c.endIndex!==s-1?i.push({startIndex:s,endIndex:s,size:l}):i[i.length-1].endIndex++}return i}(n.children,t,"offsetHeight",i);let u=n.parentElement;for(;!u.dataset.virtuosoScroller;)u=u.parentElement;const l="window"===u.lastElementChild.dataset.viewportType,c=s?s.scrollTop:l?window.pageYOffset||document.documentElement.scrollTop:u.scrollTop,d=s?s.scrollHeight:l?document.documentElement.scrollHeight:u.scrollHeight,f=s?s.offsetHeight:l?window.innerHeight:u.offsetHeight;
1o({scrollTop:Math.max(c,0),scrollHeight:d,viewportHeight:f}),null==a||a(function(e,t,n){"normal"===t||(null==t?void 0:t.endsWith("px"))||n(`${e} was not resolved to pixel value correctly`,t,U.WARN);if("normal"===t)return 0;return parseInt(null!=t?t:"0",10)}("row-gap",getComputedStyle(n).rowGap,i)),null!==r&&e(r)}),[e,t,i,a,s,o]);return q(u,n)}function K(e,t){return Math.round(e.getBoundingClientRect()[t])}function X(e,t){return Math.abs(e-t)<1.01}function J(e,t,n,i=p,a){const s=r.useRef(null),u=r.useRef(null),l=r.useRef(null),c=r.useCallback((n=>{const r=n.target,i=r===window||r===document,a=i?window.pageYOffset||document.documentElement.scrollTop:r.scrollTop,s=i?document.documentElement.scrollHeight:r.scrollHeight,c=i?window.innerHeight:r.offsetHeight,d=()=>{e({scrollTop:Math.max(a,0),scrollHeight:s,viewportHeight:c})};n.suppressFlushSync?d():o.flushSync(d),null!==u.current&&(a===u.current||a<=0||a===s-c)&&(u.current=null,t(!0),l.current&&(clearTimeout(l.current),l.current=null))}),[e,t]);return r.useEffect((()=>{const e=a||s.current;return i(a||s.current),c({target:e,suppressFlushSync:!0}),e.addEventListener("scroll",c,{passive:!0}),()=>{i(null),e.removeEventListener("scroll",c)}}),[s,c,n,i,a]),{scrollerRef:s,scrollByCallback:function(e){s.current.scrollBy(e)},scrollToCallback:function(n){const r=s.current;if(!r||"offsetHeight"in r&&0===r.offsetHeight)return;const o="smooth"===n.behavior;let i,a,c;r===window?(a=Math.max(K(document.documentElement,"height"),document.documentElement.scrollHeight),i=window.innerHeight,c=document.documentElement.scrollTop):(a=r.scrollHeight,i=K(r,"height"),c=r.scrollTop);const d=a-i;if(n.top=Math.ceil(Math.max(Math.min(d,n.top),0)),X(i,a)||n.top===c)return e({scrollTop:c,scrollHeight:a,viewportHeight:i}),void(o&&t(!0));o?(u.current=n.top,l.current&&clearTimeout(l.current),l.current=setTimeout((()=>{l.current=null,u.current=null,t(!0)}),1e3)):u.current=null,r.scrollTo(n)}}}const Q=N((()=>{const e=x(),t=x(),n=C(0),r=x(),o=C(0),i=x(),a=x(),s=C(0),u=C(0),l=C(0),c=C(0),d=x(),f=x(),h=C(!1);return b(_(e,O((({scrollTop:e})=>e))),t),b(_(e,O((({scrollHeight:e})=>e))),a),b(t,o),{scrollContainerState:e,scrollTop:t,viewportHeight:i,headerHeight:s,fixedHeaderHeight:u,fixedFooterHeight:l,footerHeight:c,scrollHeight:a,smoothScrollTargetReached:r,scrollTo:d,scrollBy:f,statefulScrollTop:o,deviation:n,scrollingInProgress:h}}),[],{singleton:!0}),ee={lvl:0};function te(e,t,n,r=ee,o=ee){return{k:e,v:t,lvl:n,l:r,r:o}}function ne(e){return e===ee}function re(){return ee}function oe(e,t){if(ne(e))return ee;const{k:n,l:r,r:o}=e;if(t===n){if(ne(r))return o;if(ne(o))return r;{const[t,n]=ce(r);return ge(fe(e,{k:t,v:n,l:de(r)}))}}return ge(fe(e,t<n?{l:oe(r,t)}:{r:oe(o,t)}))}function ie(e,t){if(!ne(e))return t===e.k?e.v:t<e.k?ie(e.l,t):ie(e.r,t)}function ae(e,t,n="k"){if(ne(e))return[-1/0,void 0];if(Number(e[n])===t)return[e.k,e.v];if(Number(e[n])<t){const r=ae(e.r,t,n);return r[0]===-1/0?[e.k,e.v]:r}return ae(e.l,t,n)}function se(e,t,n){return ne(e)?te(t,n,1):t===e.k?fe(e,{k:t,v:n}):t<e.k?pe(fe(e,{l:se(e.l,t,n)})):pe(fe(e,{r:se(e.r,t,n)}))}function ue(e,t,n){if(ne(e))return[];const{k:r,v:o,l:i,r:a}=e;let s=[];return r>t&&(s=s.concat(ue(i,t,n))),r>=t&&r<=n&&s.push({k:r,v:o}),r<=n&&(s=s.concat(ue(a,t,n))),s}function le(e){return ne(e)?[]:[...le(e.l),{k:e.k,v:e.v},...le(e.r)]}function ce(e){return ne(e.r)?[e.k,e.v]:ce(e.r)}function de(e){return ne(e.r)?e.l:ge(fe(e,{r:de(e.r)}))}function fe(e,t){return te(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function he(e){return ne(e)||e.lvl>e.r.lvl}function pe(e){return ye(be(e))}function ge(e){const{l:t,r:n,lvl:r}=e;if(n.lvl>=r-1&&t.lvl>=r-1)return e;if(r>n.lvl+1){if(he(t))return be(fe(e,{lvl:r-1}));if(ne(t)||ne(t.r))throw new Error("Unexpected empty nodes");return fe(t.r,{l:fe(t,{r:t.r.l}),r:fe(e,{l:t.r.r,lvl:r-1}),lvl:r})}if(he(e))return ye(fe(e,{lvl:r-1}));if(ne(n)||ne(n.l))throw new Error("Unexpected empty nodes");{const t=n.l,o=he(t)?n.lvl-1:n.lvl;return fe(t,{l:fe(e,{r:t.l,lvl:r-1}),r:ye(fe(n,{l:t.r,lvl:o})),lvl:t.lvl+1})}}function me(e,t,n){if(ne(e))return[];const r=ae(e,t)[0];return ve(ue(e,r,n),(({k:e,v:t})=>({index:e,value:t})))}function ve(e,t){const n=e.length;if(0===n)return[];let{index:r,value:o}=t(e[0]);const i=[];for(let a=1;a<n;a++){const{index:n,value:s}=t(e[a]);i.push({start:r,end:n-1,value:o}),r=n,o=s}return i.push({start:r,end:1/0,value:o}),i}function ye(e){const{r:t,lvl:n}=e;return ne(t)||ne(t.r)||t.lvl!==n||t.r.lvl!==n?e:fe(t,{l:fe(e,{r:t.l}),lvl:n+1})}function be(e){const{l:t}=e;return ne(t)||t.lvl!==e.lvl?e:fe(t,{r:fe(e,{l:t.r})})}function we(e,t,n,r=0){let o=e.length-1;for(;r<=o;){const i=Math.floor((r+o)/2),a=n(e[i],t);
1if(0===a)return i;if(-1===a){if(o-r<2)return i-1;o=i-1}else{if(o===r)return i;r=i+1}}throw new Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${t}`)}function xe(e,t,n){return e[we(e,t,n)]}const Ce=N((()=>({recalcInProgress:C(!1)})),[],{singleton:!0});function ke(e){const{size:t,startIndex:n,endIndex:r}=e;return e=>e.start===n&&(e.end===r||e.end===1/0)&&e.value===t}function Ee(e,t){let n=0,r=0;for(;n<e;)n+=t[r+1]-t[r]-1,r++;return r-(n===e?0:1)}function _e({index:e},t){return t===e?0:t<e?-1:1}function Se({offset:e},t){return t===e?0:t<e?-1:1}function je(e){return{index:e.index,value:e}}function Me(e,t,n,r=0){return r>0&&(t=Math.max(t,xe(e,r,_e).offset)),ve(function(e,t,n,r){const o=we(e,t,r),i=we(e,n,r,o);return e.slice(o,i+1)}(e,t,n,Se),je)}function Oe(e,t,n,r){let o=e,i=0,a=0,s=0,u=0;if(0!==t){u=we(o,t-1,_e);s=o[u].offset;const e=ae(n,t-1);i=e[0],a=e[1],o.length&&o[u].size===ae(n,t)[1]&&(u-=1),o=o.slice(0,u+1)}else o=[];for(const{start:l,value:c}of me(n,t,1/0)){const e=l-i,t=e*a+s+e*r;o.push({offset:t,size:c,index:l}),i=l,s=t,a=c}return{offsetTree:o,lastIndex:i,lastOffset:s,lastSize:a}}function Ae(e,[t,n,r,o]){t.length>0&&r("received item sizes",t,U.DEBUG);const i=e.sizeTree;let a=i,s=0;if(n.length>0&&ne(i)&&2===t.length){const e=t[0].size,r=t[1].size;a=n.reduce(((t,n)=>se(se(t,n,e),n+1,r)),a)}else[a,s]=function(e,t){let n=ne(e)?0:1/0;for(const r of t){const{size:t,startIndex:o,endIndex:i}=r;if(n=Math.min(n,o),ne(e)){e=se(e,0,t);continue}const a=me(e,o-1,i+1);if(a.some(ke(r)))continue;let s=!1,u=!1;for(const{start:n,end:r,value:l}of a)s?(i>=n||t===l)&&(e=oe(e,n)):(u=l!==t,s=!0),r>i&&i>=n&&l!==t&&(e=se(e,i+1,l));u&&(e=se(e,o,t))}return[e,n]}(a,t);if(a===i)return e;const{offsetTree:u,lastIndex:l,lastSize:c,lastOffset:d}=Oe(e.offsetTree,s,a,o);return{sizeTree:a,offsetTree:u,lastIndex:l,lastOffset:d,lastSize:c,groupOffsetTree:n.reduce(((e,t)=>se(e,t,Te(t,u,o))),re()),groupIndices:n}}function Te(e,t,n){if(0===t.length)return 0;const{offset:r,index:o,size:i}=xe(t,e,_e),a=e-o,s=i*a+(a-1)*n+r;return s>0?s+n:s}function Re(e,t,n){if(function(e){return"undefined"!==typeof e.groupIndex}(e))return t.groupIndices[e.groupIndex]+1;{let r=Le("LAST"===e.index?n:e.index,t);return r=Math.max(0,r,Math.min(n,r)),r}}function Le(e,t){if(!De(t))return e;let n=0;for(;t.groupIndices[n]<=e+n;)n++;return e+n}function De(e){return!ne(e.groupOffsetTree)}const Pe={offsetHeight:"height",offsetWidth:"width"},Ie=N((([{log:e},{recalcInProgress:t}])=>{const n=x(),r=x(),o=E(r,0),i=x(),a=x(),s=C(0),u=C([]),l=C(void 0),c=C(void 0),d=C(((e,t)=>K(e,Pe[t]))),f=C(void 0),h=C(0),p={offsetTree:[],sizeTree:re(),groupOffsetTree:re(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},v=E(_(n,P(u,e,h),T(Ae,p),j()),p),w=E(_(u,j(),T(((e,t)=>({prev:e.current,current:t})),{prev:[],current:[]}),O((({prev:e})=>e))),[]);b(_(u,M((e=>e.length>0)),P(v,h),O((([e,t,n])=>{const r=e.reduce(((e,r,o)=>se(e,r,Te(r,t.offsetTree,n)||o)),re());return{...t,groupIndices:e,groupOffsetTree:r}}))),v),b(_(r,P(v),M((([e,{lastIndex:t}])=>e<t)),O((([e,{lastIndex:t,lastSize:n}])=>[{startIndex:e,endIndex:t,size:n}]))),n),b(l,c);const S=E(_(l,O((e=>void 0===e))),!0);b(_(c,M((e=>void 0!==e&&ne(y(v).sizeTree))),O((e=>[{startIndex:0,endIndex:0,size:e}]))),n);const A=k(_(n,P(v),T((({sizes:e},[t,n])=>({changed:n!==e,sizes:n})),{changed:!1,sizes:p}),O((e=>e.changed))));g(_(s,T(((e,t)=>({diff:e.prev-t,prev:t})),{diff:0,prev:0}),O((e=>e.diff))),(e=>{const{groupIndices:n}=y(v);if(e>0)m(t,!0),m(i,e+Ee(e,n));else if(e<0){const t=y(w);t.length>0&&(e-=Ee(-e,t)),m(a,e)}})),g(_(s,P(e)),(([e,t])=>{e<0&&t("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:s},U.ERROR)}));const R=k(i);b(_(i,P(v),O((([e,t])=>{const n=t.groupIndices.length>0,r=[],o=t.lastSize;if(n){const n=ie(t.sizeTree,0);let i=0,a=0;for(;i<e;){const e=t.groupIndices[a],s=t.groupIndices.length===a+1?1/0:t.groupIndices[a+1]-e-1;r.push({startIndex:e,endIndex:e,size:n}),r.push({startIndex:e+1,endIndex:e+1+s-1,size:o}),a++,i+=s+1}const s=le(t.sizeTree);return i!==e&&s.shift(),s.reduce(((t,{k:n,v:r})=>{let o=t.ranges;return 0!==t.prevSize&&(o=[...t.ranges,{startIndex:t.prevIndex,endIndex:n+e-1,size:t.prevSize}]),{ranges:o,prevIndex:n+e,prevSize:r}}
1),{ranges:r,prevIndex:e,prevSize:0}).ranges}return le(t.sizeTree).reduce(((t,{k:n,v:r})=>({ranges:[...t.ranges,{startIndex:t.prevIndex,endIndex:n+e-1,size:t.prevSize}],prevIndex:n+e,prevSize:r})),{ranges:[],prevIndex:0,prevSize:o}).ranges}))),n);const L=k(_(a,P(v,h),O((([e,{offsetTree:t},n])=>Te(-e,t,n)))));return b(_(a,P(v,h),O((([e,t,n])=>{if(t.groupIndices.length>0){if(ne(t.sizeTree))return t;let r=re();const o=y(w);let i=0,a=0,s=0;for(;i<-e;){s=o[a];const e=o[a+1]-s-1;a++,i+=e+1}r=le(t.sizeTree).reduce(((t,{k:n,v:r})=>se(t,Math.max(0,n+e),r)),r);if(i!==-e){r=se(r,0,ie(t.sizeTree,s));r=se(r,1,ae(t.sizeTree,1-e)[1])}return{...t,sizeTree:r,...Oe(t.offsetTree,0,r,n)}}{const r=le(t.sizeTree).reduce(((t,{k:n,v:r})=>se(t,Math.max(0,n+e),r)),re());return{...t,sizeTree:r,...Oe(t.offsetTree,0,r,n)}}}))),v),{data:f,totalCount:r,sizeRanges:n,groupIndices:u,defaultItemSize:c,fixedItemSize:l,unshiftWith:i,shiftWith:a,shiftWithOffset:L,beforeUnshiftWith:R,firstItemIndex:s,gap:h,sizes:v,listRefresh:A,statefulTotalCount:o,trackItemSizes:S,itemSize:d}}),c($,Ce),{singleton:!0}),Fe="undefined"!==typeof document&&"scrollBehavior"in document.documentElement.style;function Ze(e){const t="number"===typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&Fe||(t.behavior="auto"),t.offset||(t.offset=0),t}const Ne=N((([{sizes:e,totalCount:t,listRefresh:n,gap:r},{scrollingInProgress:o,viewportHeight:i,scrollTo:a,smoothScrollTargetReached:s,headerHeight:u,footerHeight:l,fixedHeaderHeight:c,fixedFooterHeight:d},{log:f}])=>{const h=x(),p=C(0);let v=null,y=null,k=null;function E(){v&&(v(),v=null),k&&(k(),k=null),y&&(clearTimeout(y),y=null),m(o,!1)}return b(_(h,P(e,i,t,p,u,l,f),P(r,c,d),O((([[e,t,r,i,a,u,l,c],d,f,p])=>{const b=Ze(e),{align:x,behavior:C,offset:S}=b,j=i-1,M=Re(b,t,j);let O=Te(M,t.offsetTree,d)+u;"end"===x?(O+=f+ae(t.sizeTree,M)[1]-r+p,M===j&&(O+=l)):"center"===x?O+=(f+ae(t.sizeTree,M)[1]-r+p)/2:O-=a,S&&(O+=S);const A=t=>{E(),t?(c("retrying to scroll to",{location:e},U.DEBUG),m(h,e)):c("list did not change, scroll successful",{},U.DEBUG)};if(E(),"smooth"===C){let e=!1;k=g(n,(t=>{e=e||t})),v=w(s,(()=>{A(e)}))}else v=w(_(n,(T=150,e=>{const t=setTimeout((()=>{e(!1)}),T);return n=>{n&&(e(!0),clearTimeout(t))}})),A);var T;return y=setTimeout((()=>{E()}),1200),m(o,!0),c("scrolling from index to",{index:M,top:O,behavior:C},U.DEBUG),{top:O,behavior:C}}))),a),{scrollToIndex:h,topListHeight:p}}),c(Ie,Q,$),{singleton:!0});const He="up",Be="down",Ve={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},ze=N((([{scrollContainerState:e,scrollTop:t,viewportHeight:n,headerHeight:r,footerHeight:o,scrollBy:i}])=>{const a=C(!1),s=C(!0),u=x(),l=x(),c=C(4),d=C(0),f=E(_(I(_(F(t),R(1),A(!0)),_(F(t),R(1),A(!1),D(100))),j()),!1),h=E(_(I(_(i,A(!0)),_(i,A(!1),D(200))),j()),!1);b(_(Z(F(t),F(d)),O((([e,t])=>e<=t)),j()),s),b(_(s,L(50)),l);const p=k(_(Z(e,F(n),F(r),F(o),F(c)),T(((e,[{scrollTop:t,scrollHeight:n},r,o,i,a])=>{const s={viewportHeight:r,scrollTop:t,scrollHeight:n};if(t+r-n>-a){let n,r;return t>e.state.scrollTop?(n="SCROLLED_DOWN",r=e.state.scrollTop-t):(n="SIZE_DECREASED",r=e.state.scrollTop-t||e.scrollTopDelta),{atBottom:!0,state:s,atBottomBecause:n,scrollTopDelta:r}}let u;return u=s.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":r<e.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":t<e.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",{atBottom:!1,notAtBottomBecause:u,state:s}}),Ve),j(((e,t)=>e&&e.atBottom===t.atBottom)))),g=E(_(e,T(((e,{scrollTop:t,scrollHeight:n,viewportHeight:r})=>{if(X(e.scrollHeight,n))return{scrollTop:t,scrollHeight:n,jump:0,changed:!1};{const o=n-(t+r)<1;return e.scrollTop!==t&&o?{scrollHeight:n,scrollTop:t,jump:e.scrollTop-t,changed:!0}:{scrollHeight:n,scrollTop:t,jump:0,changed:!0}}}),{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),M((e=>e.changed)),O((e=>e.jump))),0);b(_(p,O((e=>e.atBottom))),a),b(_(a,L(50)),u);const m=C(Be);b(_(e,O((({scrollTop:e})=>e)),j(),T(((e,t)=>y(h)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?He:Be,prevScrollTop:t}),{direction:Be,prevScrollTop:0}),O((e=>e.direction))),m),b(_(e,L(50),A("none")),m);const v=C(0);return b(_(f,M((e=>!e)),A(0)),v),b(_(t,L(100),P(f),M((([e,t])=>!!t)),T((([e,t],[n])=>[t,n]),[0,0]),O((([e,t])=>t-e))),v),{isScrolling:f,isAtTop:s,isAtBottom:a,atBottomState:p,atTopStateChange:l,atBottomStateChange:u,scrollDirection:m,atBottomThreshold:c,atTopThreshold:d,scrollVelocity:v,lastJumpDueToItemResize:g}}),c(Q)),Ue=N((([{log:e}])=>{const t=C(!1),n=k(_(t,M((e=>e)),j()));return g(t,(t=>{t&&y(e)("props updated",{},U.DEBUG)})),{propsReady:t,didMount:n}}),c($),{singleton:!0});function We(e,t){0==e?t():requestAnimationFrame((()=>We(e-1,t)))}const $e=N((([{sizes:e,listRefresh:t,defaultItemSize:n},{scrollTop:r},{scrollToIndex:o},{didMount:i}])=>{const a=C(!0),s=C(0),u=C(!1);return b(_(i,P(s),M((([e,t])=>!!t)),A(!1)),a),g(_(Z(t,i),P(a,e,n,u),M((([[,e],t,{sizeTree:n},r,o])=>e&&(!ne(n)||h(r))&&!t&&!o)),P(s)),(([,e])=>{m(u,!0),We(2,(()=>{w(r,(()=>m(a,!0))),m(o,e)}))}
1)),{scrolledToInitialItem:a,initialTopMostItemIndex:s}}),c(Ie,Q,Ne,Ue),{singleton:!0});function qe(e){return!!e&&("smooth"===e?"smooth":"auto")}const Ge=N((([{totalCount:e,listRefresh:t},{isAtBottom:n,atBottomState:r},{scrollToIndex:o},{scrolledToInitialItem:i},{propsReady:a,didMount:s},{log:u},{scrollingInProgress:l}])=>{const c=C(!1),d=x();let f=null;function h(e){m(o,{index:"LAST",align:"end",behavior:e})}function p(e){const t=w(r,(t=>{!e||t.atBottom||"SIZE_INCREASED"!==t.notAtBottomBecause||f||(y(u)("scrolling to bottom due to increased size",{},U.DEBUG),h("auto"))}));setTimeout(t,100)}return g(_(Z(_(F(e),R(1)),s),P(F(c),n,i,l),O((([[e,t],n,r,o,i])=>{let a=t&&o,s="auto";return a&&(s=((e,t)=>"function"===typeof e?qe(e(t)):t&&qe(e))(n,r||i),a=a&&!!s),{totalCount:e,shouldFollow:a,followOutputBehavior:s}})),M((({shouldFollow:e})=>e))),(({totalCount:e,followOutputBehavior:n})=>{f&&(f(),f=null),f=w(t,(()=>{y(u)("following output to ",{totalCount:e},U.DEBUG),h(n),f=null}))})),g(_(Z(F(c),e,a),M((([e,,t])=>e&&t)),T((({value:e},[,t])=>({refreshed:e===t,value:t})),{refreshed:!1,value:0}),M((({refreshed:e})=>e)),P(c,e)),(([,e])=>{p(!1!==e)})),g(d,(()=>{p(!1!==y(c))})),g(Z(F(c),r),(([e,t])=>{e&&!t.atBottom&&"VIEWPORT_HEIGHT_DECREASING"===t.notAtBottomBecause&&h("auto")}
1)),{followOutput:c,autoscrollToBottom:d}}),c(Ie,ze,Ne,$e,Ue,$,Q));function Ye(e){return e.reduce(((e,t)=>(e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e)),{totalCount:0,groupIndices:[]})}const Ke=N((([{totalCount:e,groupIndices:t,sizes:n},{scrollTop:r,headerHeight:o}])=>{const i=x(),a=x(),s=k(_(i,O(Ye)));return b(_(s,O((e=>e.totalCount))),e),b(_(s,O((e=>e.groupIndices))),t),b(_(Z(r,n,o),M((([e,t])=>De(t))),O((([e,t,n])=>ae(t.groupOffsetTree,Math.max(e-n,0),"v")[0])),j(),O((e=>[e]))),a),{groupCounts:i,topItemsIndexes:a}}),c(Ie,Q));function Xe(e,t){return!(!e||e[0]!==t[0]||e[1]!==t[1])}function Je(e,t){return!(!e||e.startIndex!==t.startIndex||e.endIndex!==t.endIndex)}const Qe="top",et="bottom",tt="none";function nt(e,t,n){return"number"===typeof e?n===He&&t===Qe||n===Be&&t===et?e:0:n===He?t===Qe?e.main:e.reverse:t===et?e.main:e.reverse}function rt(e,t){return"number"===typeof e?e:e[t]||0}const ot=N((([{scrollTop:e,viewportHeight:t,deviation:n,headerHeight:r,fixedHeaderHeight:o}])=>{const i=x(),a=C(0),s=C(0),u=C(0);return{listBoundary:i,overscan:u,topListHeight:a,increaseViewportBy:s,visibleRange:E(_(Z(F(e),F(t),F(r),F(i,Xe),F(u),F(a),F(o),F(n),F(s)),O((([e,t,n,[r,o],i,a,s,u,l])=>{const c=e-u,d=a+s,f=Math.max(n-c,0);let h=tt;const p=rt(l,Qe),g=rt(l,et);return r-=u,o+=n+s,(r+=n+s)>e+d-p&&(h=He),(o-=u)<e-f+t+g&&(h=Be),h!==tt?[Math.max(c-n-nt(i,Qe,h)-p,0),c-f-s+t+nt(i,et,h)+g]:null})),M((e=>null!=e)),j(Xe)),[0,0])}}),c(Q),{singleton:!0});const it={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function at(e,t,n){if(0===e.length)return[];if(!De(t))return e.map((e=>({...e,index:e.index+n,originalIndex:e.index})));const r=e[0].index,o=e[e.length-1].index,i=[],a=me(t.groupOffsetTree,r,o);let s,u=0;for(const l of e){let e;(!s||s.end<l.index)&&(s=a.shift(),u=t.groupIndices.indexOf(s.start)),e=l.index===s.start?{type:"group",index:u}:{index:l.index-(u+1)+n,groupIndex:u},i.push({...e,size:l.size,offset:l.offset,originalIndex:l.index,data:l.data})}return i}function st(e,t,n,r,o,i){const{lastSize:a,lastOffset:s,lastIndex:u}=o;let l=0,c=0;if(e.length>0){l=e[0].offset;const t=e[e.length-1];c=t.offset+t.size}const d=n-u,f=l,h=s+d*a+(d-1)*r-c;return{items:at(e,o,i),topItems:at(t,o,i),topListHeight:t.reduce(((e,t)=>t.size+e),0),offsetTop:l,offsetBottom:h,top:f,bottom:c,totalCount:n,firstItemIndex:i}}const ut=N((([{sizes:e,totalCount:t,data:n,firstItemIndex:r,gap:o},i,{visibleRange:a,listBoundary:s,topListHeight:u},{scrolledToInitialItem:c,initialTopMostItemIndex:d},{topListHeight:f},p,{didMount:g},{recalcInProgress:m}])=>{const v=C([]),y=x();b(i.topItemsIndexes,v);const w=E(_(Z(g,m,F(a,Xe),F(t),F(e),F(d),c,F(v),F(r),F(o),n),M((([e,t,,n,,,,,,,r])=>{const o=r&&r.length!==n;return e&&!t&&!o})),O((([,,[e,t],n,r,o,i,a,s,u,c])=>{const d=r,{sizeTree:f,offsetTree:h}=d;if(0===n||0===e&&0===t)return{...it,totalCount:n};if(ne(f))return st(function(e,t,n){if(De(t)){const r=Le(e,t);return[{index:ae(t.groupOffsetTree,r)[0],size:0,offset:0},{index:r,size:0,offset:0,data:n&&n[0]}]}return[{index:e,size:0,offset:0,data:n&&n[0]}]}(function(e,t){const n=t-1;return"number"===typeof e?e:"LAST"===e.index?n:e.index}(o,n),d,c),[],n,u,d,s);const p=[];if(a.length>0){const e=a[0],t=a[a.length-1];let n=0;for(const r of me(f,e,t)){const o=r.value,i=Math.max(r.start,e),a=Math.min(r.end,t);for(let e=i;e<=a;e++)p.push({index:e,size:o,offset:n,data:c&&c[e]}),n+=o}}if(!i)return st([],p,n,u,d,s);const g=a.length>0?a[a.length-1]+1:0,m=Me(h,e,t,g);if(0===m.length)return null;const v=n-1;return st(l([],(n=>{for(const r of m){const o=r.value;let i=o.offset,a=r.start;const s=o.size;if(o.offset<e){a+=Math.floor((e-o.offset+u)/(s+u));const t=a-r.start;i+=t*s+t*u}a<g&&(i+=(g-a)*s,a=g);const l=Math.min(r.end,v);for(let e=a;e<=l&&!(i>=t);e++)n.push({index:e,size:s,offset:i,data:c&&c[e]}),i+=s+u}})),p,n,u,d,s)})),M((e=>null!==e)),j()),it);b(_(n,M(h),O((e=>null==e?void 0:e.length))),t),b(_(w,O((e=>e.topListHeight))),f),b(f,u),b(_(w,O((e=>[e.top,e.bottom]))),s),b(_(w,O((e=>e.items))),y);return{listState:w,topItemsIndexes:v,endReached:k(_(w,M((({items:e})=>e.length>0)),P(t,n),M((([{items:e},t])=>e[e.length-1].originalIndex===t-1)),O((([,e,t])=>[e-1,t])),j(Xe),O((([e])=>e)))),startReached:k(_(w,L(200),M((({items:e,topItems:t})=>e.length>0&&e[0].originalIndex===t.length)),O((({items:e})=>e[0].index)),j())),rangeChanged:k(_(w,M((({items:e})=>e.length>0)),O((({items:e})=>{let t=0,n=e.length-1;for(;"group"===e[t].type&&t<n;)t++;for(;"group"===e[n].type&&n>t;)n--;return{startIndex:e[t].index,endIndex:e[n].index}})),j(Je))),itemsRendered:y,...p}}),c(Ie,Ke,ot,$e,Ne,ze,Ue,Ce),{singleton:!0}),lt=N((([{sizes:e,firstItemIndex:t,data:n,gap:r},{listState:o},{didMount:i}])=>{const a=C(0);return b(_(i,P(a),M((([,e])=>0!==e)),P(e,t,r,n),O((([[,e],t,n,r,o=[]])=>{let i=0;if(t.groupIndices.length>0)for(const s of t.groupIndices){if(s-i>=e)break;i++}const a=e+i;return st(Array.from({length:a}).map(((e,t)=>({index:t,size:0,offset:0,data:o[t]}))),[],a,r,t,n)}))),o),{initialItemCount:a}}),c(Ie,ut,Ue),{singleton:!0}),ct=N((([{scrollVelocity:e}])=>{const t=C(!1),n=x(),r=C(!1);return b(_(e,P(r,t,n),M((([e,t])=>!!t)),O((([e,t,n,r])=>{const{exit:o,enter:i}=t;if(n){if(o(e,r))return!1}else if(i(e,r))return!0;return n})),j()),t),g(_(Z(t,e,n),P(r)),(([[e,t,n],r])=>e&&r&&r.change&&r.change(t,n))),{isSeeking:t,scrollSeekConfiguration:r,scrollVelocity:e,scrollSeekRangeChanged:n}}),c(ze),{singleton:!0}),dt=N((([{topItemsIndexes:e}])=>{const t=C(0);return b(_(t,M((e=>e>0)),O((e=>Array.from({length:e}).map(((e,t)=>t))))),e),{topItemCount:t}}
1),c(ut)),ft=N((([{footerHeight:e,headerHeight:t,fixedHeaderHeight:n,fixedFooterHeight:r},{listState:o}])=>{const i=x(),a=E(_(Z(e,r,t,n,o),O((([e,t,n,r,o])=>e+t+n+r+o.offsetBottom+o.bottom))),0);return b(F(a),i),{totalListHeight:a,totalListHeightChanged:i}}),c(Q,ut),{singleton:!0});function ht(e){let t,n=!1;return()=>(n||(n=!0,t=e()),t)}const pt=ht((()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent))),gt=N((([{scrollBy:e,scrollTop:t,deviation:n,scrollingInProgress:r},{isScrolling:o,isAtBottom:i,scrollDirection:a,lastJumpDueToItemResize:s},{listState:u},{beforeUnshiftWith:l,shiftWithOffset:c,sizes:d,gap:f},{log:h},{recalcInProgress:p}])=>{const v=k(_(u,P(s),T((([,e,t,n],[{items:r,totalCount:o,bottom:i,offsetBottom:a},s])=>{const u=i+a;let l=0;if(t===o&&e.length>0&&r.length>0){0===r[0].originalIndex&&0===e[0].originalIndex||(l=u-n,0!==l&&(l+=s))}return[l,r,o,u]}),[0,[],0,0]),M((([e])=>0!==e)),P(t,a,r,i,h,p),M((([,e,t,n,,,r])=>!r&&!n&&0!==e&&t===He)),O((([[e],,,,,t])=>(t("Upward scrolling compensation",{amount:e},U.DEBUG),e)))));function y(t){t>0?(m(e,{top:-t,behavior:"auto"}),m(n,0)):(m(n,0),m(e,{top:-t,behavior:"auto"}))}return g(_(v,P(n,o)),(([e,t,r])=>{r&&pt()?m(n,t-e):y(-e)})),g(_(Z(E(o,!1),n,p),M((([e,t,n])=>!e&&!n&&0!==t)),O((([e,t])=>t)),L(1)),y),b(_(c,O((e=>({top:-e})))),e),g(_(l,P(d,f),O((([e,{lastSize:t,groupIndices:n,sizeTree:r},o])=>{function i(e){return e*(t+o)}if(0===n.length)return i(e);{let t=0;const o=ie(r,0);let a=0,s=0;for(;a<e;){a++,t+=o;let r=n.length===s+1?1/0:n[s+1]-n[s]-1;a+r>e&&(t-=o,r=e-a+1),a+=r,t+=i(r),s++}return t}}))),(t=>{m(n,t),requestAnimationFrame((()=>{m(e,{top:t}),requestAnimationFrame((()=>{m(n,0),m(p,!1)}))}))})),{deviation:n}}),c(Q,ze,ut,Ie,$,Ce)),mt=N((([{didMount:e},{scrollTo:t},{listState:n}])=>{const r=C(0);return g(_(e,P(r),M((([,e])=>0!==e)),O((([,e])=>({top:e})))),(e=>{w(_(n,R(1),M((e=>e.items.length>1))),(()=>{requestAnimationFrame((()=>{m(t,e)}))}))})),{initialScrollTop:r}}),c(Ue,Q,ut),{singleton:!0}),vt=N((([{viewportHeight:e},{totalListHeight:t}])=>{const n=C(!1);return{alignToBottom:n,paddingTopAddition:E(_(Z(n,e,t),M((([e])=>e)),O((([,e,t])=>Math.max(0,e-t))),L(0),j()),0)}}),c(Q,ft),{singleton:!0}),yt=N((([{scrollTo:e,scrollContainerState:t}])=>{const n=x(),r=x(),o=x(),i=C(!1),a=C(void 0);return b(_(Z(n,r),O((([{viewportHeight:e,scrollTop:t,scrollHeight:n},{offsetTop:r}])=>({scrollTop:Math.max(0,t-r),scrollHeight:n,viewportHeight:e})))),t),b(_(e,P(r),O((([e,{offsetTop:t}])=>({...e,top:e.top+t})))),o),{useWindowScroll:i,customScrollParent:a,windowScrollContainerState:n,windowViewportRect:r,windowScrollTo:o}}),c(Q)),bt=({itemTop:e,itemBottom:t,viewportTop:n,viewportBottom:r,locationParams:{behavior:o,align:i,...a}})=>e<n?{...a,behavior:o,align:null!=i?i:"start"}:t>r?{...a,behavior:o,align:null!=i?i:"end"}:null,wt=N((([{sizes:e,totalCount:t,gap:n},{scrollTop:r,viewportHeight:o,headerHeight:i,fixedHeaderHeight:a,fixedFooterHeight:s,scrollingInProgress:u},{scrollToIndex:l}])=>{const c=x();return b(_(c,P(e,o,t,i,a,s,r),P(n),O((([[e,t,n,r,o,i,a,s],l])=>{const{done:c,behavior:d,align:f,calculateViewLocation:h=bt,...p}=e,g=Re(e,t,r-1),m=Te(g,t.offsetTree,l)+o+i,v=h({itemTop:m,itemBottom:m+ae(t.sizeTree,g)[1],viewportTop:s+i,viewportBottom:s+n-a,locationParams:{behavior:d,align:f,...p}});return v?c&&w(_(u,M((e=>!1===e)),R(y(u)?1:2)),c):c&&c(),v})),M((e=>null!==e))),l),{scrollIntoView:c}}),c(Ie,Q,Ne,ut,$),{singleton:!0}),xt=N((([{sizes:e,sizeRanges:t},{scrollTop:n},{initialTopMostItemIndex:r},{didMount:o}])=>{const i=x(),a=C(void 0);return g(_(i,P(e,n)),(([e,t,n])=>{e({ranges:le(t.sizeTree).map((({k:e,v:t},n,r)=>{const o=r[n+1];return{startIndex:e,endIndex:o?o.k-1:1/0,size:t}})),scrollTop:n})})),b(_(a,M(h),O(Ct)),r),b(_(o,P(a),M((([,e])=>void 0!==e)),j(),O((([,e])=>e.ranges))),t),{getState:i,restoreStateFrom:a}}),c(Ie,Q,$e,Ue));function Ct(e){return{offset:e.scrollTop,index:0,align:"start"}}const kt=N((([e,t,n,r,o,i,a,s,u,l])=>({...e,...t,...n,...r,...o,...i,...a,...s,...u,...l})),c(ot,lt,Ue,ct,ft,mt,vt,yt,wt,$)),Et=N((([{totalCount:e,sizeRanges:t,fixedItemSize:n,defaultItemSize:r,trackItemSizes:o,itemSize:i,data:a,firstItemIndex:s,groupIndices:u,statefulTotalCount:l,gap:c,sizes:d}
1,{initialTopMostItemIndex:f,scrolledToInitialItem:h},p,g,m,{listState:v,topItemsIndexes:y,...w},{scrollToIndex:x},C,{topItemCount:k},{groupCounts:E},S])=>(b(w.rangeChanged,S.scrollSeekRangeChanged),b(_(S.windowViewportRect,O((e=>e.visibleHeight))),p.viewportHeight),{totalCount:e,data:a,firstItemIndex:s,sizeRanges:t,initialTopMostItemIndex:f,scrolledToInitialItem:h,topItemsIndexes:y,topItemCount:k,groupCounts:E,fixedItemHeight:n,defaultItemHeight:r,gap:c,...m,statefulTotalCount:l,listState:v,scrollToIndex:x,trackItemSizes:o,itemSize:i,groupIndices:u,...w,...S,...p,sizes:d,...g})),c(Ie,$e,Q,xt,Ge,ut,Ne,gt,dt,Ke,kt)),_t="-webkit-sticky",St="sticky",jt=ht((()=>{if("undefined"===typeof document)return St;const e=document.createElement("div");return e.style.position=_t,e.style.position===_t?_t:St}));function Mt(e,t){const n=r.useRef(null),o=r.useCallback((r=>{if(null===r||!r.offsetParent)return;const o=r.getBoundingClientRect(),i=o.width;let a,s;if(t){const e=t.getBoundingClientRect(),n=o.top-e.top;a=e.height-Math.max(0,n),s=n+t.scrollTop}else a=window.innerHeight-Math.max(0,o.top),s=o.top+window.pageYOffset;n.current={offsetTop:s,visibleHeight:a,visibleWidth:i},e(n.current)}),[e,t]),{callbackRef:i,ref:a}=q(o),s=r.useCallback((()=>{o(a.current)}),[o,a]);return r.useEffect((()=>{if(t){t.addEventListener("scroll",s);const e=new ResizeObserver(s);return e.observe(t),()=>{t.removeEventListener("scroll",s),e.unobserve(t)}}return window.addEventListener("scroll",s),window.addEventListener("resize",s),()=>{window.removeEventListener("scroll",s),window.removeEventListener("resize",s)}}),[s,t]),i}const Ot=r.createContext(void 0),At=r.createContext(void 0);function Tt(e){return e}const Rt=N((([e,t])=>({...e,...t})),c(Et,N((()=>{const e=C((e=>`Item ${e}`)),t=C(null),n=C((e=>`Group ${e}`)),r=C({}),o=C(Tt),i=C("div"),a=C(p),s=(e,t=null)=>E(_(r,O((t=>t[e])),j()),t);return{context:t,itemContent:e,groupContent:n,components:r,computeItemKey:o,headerFooterTag:i,scrollerRef:a,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}})))),Lt=({height:e})=>r.createElement("div",{style:{height:e}}),Dt={position:jt(),zIndex:1,overflowAnchor:"none"},Pt={overflowAnchor:"none"},It=r.memo((function({showTopList:e=!1}){const t=Xt("listState"),n=Kt("sizeRanges"),o=Xt("useWindowScroll"),i=Xt("customScrollParent"),a=Kt("windowScrollContainerState"),s=Kt("scrollContainerState"),u=i||o?a:s,l=Xt("itemContent"),c=Xt("context"),d=Xt("groupContent"),f=Xt("trackItemSizes"),h=Xt("itemSize"),g=Xt("log"),m=Kt("gap"),{callbackRef:v}=Y(n,h,f,e?p:u,g,m,i),[y,b]=r.useState(0);Jt("deviation",(e=>{y!==e&&b(e)}));const w=Xt("EmptyPlaceholder"),x=Xt("ScrollSeekPlaceholder")||Lt,C=Xt("ListComponent"),k=Xt("ItemComponent"),E=Xt("GroupComponent"),_=Xt("computeItemKey"),S=Xt("isSeeking"),j=Xt("groupIndices").length>0,M=Xt("paddingTopAddition"),O=Xt("scrolledToInitialItem"),A=e?{}:{boxSizing:"border-box",paddingTop:t.offsetTop+M,paddingBottom:t.offsetBottom,marginTop:y,...O?{}:{visibility:"hidden"}};return!e&&0===t.totalCount&&w?r.createElement(w,Ht(w,c)):r.createElement(C,{...Ht(C,c),ref:v,style:A,"data-test-id":e?"virtuoso-top-item-list":"virtuoso-item-list"},(e?t.topItems:t.items).map((e=>{const n=e.originalIndex,o=_(n+t.firstItemIndex,e.data,c);return S?r.createElement(x,{...Ht(x,c),key:o,index:e.index,height:e.size,type:e.type||"item",..."group"===e.type?{}:{groupIndex:e.groupIndex}}):"group"===e.type?r.createElement(E,{...Ht(E,c),key:o,"data-index":n,"data-known-size":e.size,"data-item-index":e.index,style:Dt},d(e.index,c)):r.createElement(k,{...Ht(k,c),key:o,"data-index":n,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,item:e.data,style:Pt},j?l(e.index,e.groupIndex,e.data,c):l(e.index,e.data,c))})))})),Ft={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},Zt={width:"100%",height:"100%",position:"absolute",top:0},Nt={width:"100%",position:jt(),top:0,zIndex:1};function Ht(e,t){if("string"!==typeof e)return{context:t}}const Bt=r.memo((function(){const e=Xt("HeaderComponent"),t=Kt("headerHeight"),n=Xt("headerFooterTag"),o=G((e=>t(K(e,"height")))),i=Xt("context");return e?r.createElement(n,{ref:o},r.createElement(e,Ht(e,i))):null})),Vt=r.memo((function(){const e=Xt("FooterComponent"),t=Kt("footerHeight"),n=Xt("headerFooterTag"),o=G((e=>t(K(e,"height")))),i=Xt("context");return e?r.createElement(n,{ref:o},r.createElement(e,Ht(e,i))):null}));function zt({usePublisher:e,useEmitter:t,useEmitterValue:n}){return r.memo((function({style:o,children:i,...a}){const s=e("scrollContainerState"),u=n("ScrollerComponent"),l=e("smoothScrollTargetReached"),c=n("scrollerRef"),d=n("context"),{scrollerRef:f,scrollByCallback:h,scrollToCallback:p}=J(s,l,u,c);return t("scrollTo",p),t("scrollBy",h),r.createElement(u,{ref:f,style:{...Ft,...o},"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0,...a,...Ht(u,d)},i)}))}function Ut({usePublisher:e,useEmitter:t,useEmitterValue:n}){return r.memo((function({style:o,children:i,...a}){const s=e("windowScrollContainerState"),u=n("ScrollerComponent"),l=e("smoothScrollTargetReached"),c=n("totalListHeight"),d=n("deviation"),f=n("customScrollParent"),h=n("context"),{scrollerRef:g,scrollByCallback:m,scrollToCallback:v}=J(s,l,u,p,f);return z((()=>(g.current=f||window,()=>{g.current=null})),[g,f]),t("windowScrollTo",v),t("scrollBy",m),r.createElement(u,{style:{position:"relative",...o,...0!==c?{height:c+d}:{}},"data-virtuoso-scroller":!0,...a,...Ht(u,h)},i)}))}const Wt=({children:e})=>
1{const t=r.useContext(Ot),n=Kt("viewportHeight"),o=Kt("fixedItemHeight"),a=G(i(n,(e=>K(e,"height"))));return r.useEffect((()=>{t&&(n(t.viewportHeight),o(t.itemHeight))}),[t,n,o]),r.createElement("div",{style:Zt,ref:a,"data-viewport-type":"element"},e)},$t=({children:e})=>{const t=r.useContext(Ot),n=Kt("windowViewportRect"),o=Kt("fixedItemHeight"),i=Xt("customScrollParent"),a=Mt(n,i);return r.useEffect((()=>{t&&(o(t.itemHeight),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))}),[t,n,o]),r.createElement("div",{ref:a,style:Zt,"data-viewport-type":"window"},e)},qt=({children:e})=>{const t=Xt("TopItemListComponent"),n=Xt("headerHeight"),o={...Nt,marginTop:`${n}px`},i=Xt("context");return r.createElement(t||"div",{style:o,context:i},e)},Gt=r.memo((function(e){const t=Xt("useWindowScroll"),n=Xt("topItemsIndexes").length>0,o=Xt("customScrollParent"),i=o||t?en:Qt,a=o||t?$t:Wt;return r.createElement(i,{...e},n&&r.createElement(qt,null,r.createElement(It,{showTopList:!0})),r.createElement(a,null,r.createElement(Bt,null),r.createElement(It,null),r.createElement(Vt,null)))})),{Component:Yt,usePublisher:Kt,useEmitterValue:Xt,useEmitter:Jt}=V(Rt,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",groupCounts:"groupCounts",topItemCount:"topItemCount",firstItemIndex:"firstItemIndex",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",autoscrollToBottom:"autoscrollToBottom",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},Gt),Qt=zt({usePublisher:Kt,useEmitterValue:Xt,useEmitter:Jt}),en=Ut({usePublisher:Kt,useEmitterValue:Xt,useEmitter:Jt}),tn=Yt,nn=Yt,rn={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},on={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},{round:an,ceil:sn,floor:un,min:ln,max:cn}=Math;function dn(e,t,n){return Array.from({length:t-e+1}).map(((t,r)=>({index:r+e,data:null==n?void 0:n[r+e]})))}function fn(e,t){return e&&e.column===t.column&&e.row===t.row}function hn(e,t){return e&&e.width===t.width&&e.height===t.height}const pn=N((([{overscan:e,visibleRange:t,listBoundary:n},{scrollTop:r,viewportHeight:o,scrollBy:i,scrollTo:a,smoothScrollTargetReached:s,scrollContainerState:u,footerHeight:l,headerHeight:c},d,f,{propsReady:p,didMount:g},{windowViewportRect:m,windowScrollTo:v,useWindowScroll:y,customScrollParent:w,windowScrollContainerState:S},T])=>{const R=C(0),L=C(0),D=C(rn),I=C({height:0,width:0}),N=C({height:0,width:0}),H=x(),B=x(),V=C(0),z=C(void 0),U=C({row:0,column:0});b(_(g,P(L,z),M((([e,t])=>e&&0!==t)),O((([,e,t])=>({items:dn(0,e-1,t),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0})))),D),b(_(Z(F(R),t,F(U,fn),F(N,hn),F(I,hn),z),O((([e,[t,n],r,o,i,a])=>{const{row:s,column:u}=r,{height:l,width:c}=o,{width:d}=i;if(0===e||0===d)return rn;if(0===c)return function(e){return{...on,items:e}}(dn(0,0,a));const f=vn(d,c,u);let h=f*un((t+s)/(l+s)),p=f*sn((n+s)/(l+s))-1;p=ln(e-1,cn(p,f-1)),h=ln(p,cn(0,h));const g=dn(h,p,a),{top:m,bottom:v}=gn(i,r,o,g),y=sn(e/f);return{items:g,offsetTop:m,offsetBottom:y*l+(y-1)*s-v,top:m,bottom:v,itemHeight:l,itemWidth:c}}))),D),b(_(z,M(h),O((e=>e.length))),R),b(_(I,O((({height:e})=>e))),o),b(_(Z(I,N,D,U),O((([e,t,{items:n},r])=>{const{top:o,bottom:i}=gn(e,r,t,n);return[o,i]})),j(Xe)),n);const W=C(!1);b(_(r,P(W),O((([e,t])=>t||0!==e))),W);const $=k(_(F(D),M((({items:e})=>e.length>0)),P(R,W),M((([{items:e},t,n])=>n&&e[e.length-1].index===t-1)),O((([,e])=>e-1)),j())),q=k(_(F(D),M((({items:e})=>e.length>0&&0===e[0].index)),A(0),j())),G=k(_(F(D),M((({items:e})=>e.length>0)),O((({items:e})=>({startIndex:e[0].index,endIndex:e[e.length-1].index}))),j(Je)));b(G,f.scrollSeekRangeChanged),b(_(H,P(I,N,R,U),O((([e,t,n,r,o])=>{const i=Ze(e),{align:a,behavior:s,offset:u}=i;let l=i.index;"LAST"===l&&(l=r-1),l=cn(0,l,ln(r-1,l));let c=mn(t,o,n,l);return"end"===a?c=an(c-t.height+n.height):"center"===a&&(c=an(c-t.height/2+n.height/2)),u&&(c+=u),{top:c,behavior:s}}))),a);const Y=E(_(D,O((e=>e.offsetBottom+e.bottom))),0);return b(_(m,O((e=>({width:e.visibleWidth,height:e.visibleHeight})))),I),{data:z,totalCount:R,viewportDimensions:I,itemDimensions:N,scrollTop:r,scrollHeight:B,overscan:e,scrollBy:i,scrollTo:a,scrollToIndex:H,smoothScrollTargetReached:s,windowViewportRect:m,windowScrollTo:v,useWindowScroll:y,customScrollParent:w,windowScrollContainerState:S,deviation:V,scrollContainerState:u,footerHeight:l,headerHeight:c,initialItemCount:L,gap:U,...f,gridState:D,totalListHeight:Y,...d,startReached:q,endReached:$,rangeChanged:G,propsReady:p,...T}}),c(ot,Q,ze,ct,Ue,yt,$));function gn(e,t,n,r){const{height:o}=n;
1if(void 0===o||0===r.length)return{top:0,bottom:0};return{top:mn(e,t,n,r[0].index),bottom:mn(e,t,n,r[r.length-1].index)+o}}function mn(e,t,n,r){const o=vn(e.width,n.width,t.column),i=un(r/o),a=i*n.height+cn(0,i-1)*t.row;return a>0?a+t.row:a}function vn(e,t,n){return cn(1,un((e+n)/(un(t)+n)))}const yn=N((([e,t])=>({...e,...t})),c(pn,N((()=>{const e=C((e=>`Item ${e}`)),t=C({}),n=C(null),r=C("virtuoso-grid-item"),o=C("virtuoso-grid-list"),i=C(Tt),a=C("div"),s=C(p),u=(e,n=null)=>E(_(t,O((t=>t[e])),j()),n);return{context:n,itemContent:e,components:t,computeItemKey:i,itemClassName:r,listClassName:o,headerFooterTag:a,scrollerRef:s,FooterComponent:u("Footer"),HeaderComponent:u("Header"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),ScrollerComponent:u("Scroller","div"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder","div")}})))),bn=r.memo((function(){const e=jn("gridState"),t=jn("listClassName"),n=jn("itemClassName"),o=jn("itemContent"),i=jn("computeItemKey"),a=jn("isSeeking"),s=Sn("scrollHeight"),u=jn("ItemComponent"),l=jn("ListComponent"),c=jn("ScrollSeekPlaceholder"),d=jn("context"),f=Sn("itemDimensions"),h=Sn("gap"),p=jn("log"),g=G((e=>{const t=e.parentElement.parentElement.scrollHeight;s(t);const n=e.firstChild;n&&f(n.getBoundingClientRect()),h({row:Tn("row-gap",getComputedStyle(e).rowGap,p),column:Tn("column-gap",getComputedStyle(e).columnGap,p)})}));return r.createElement(l,{ref:g,className:t,...Ht(l,d),style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom},"data-test-id":"virtuoso-item-list"},e.items.map((t=>{const s=i(t.index,t.data,d);return a?r.createElement(c,{key:s,...Ht(c,d),index:t.index,height:e.itemHeight,width:e.itemWidth}):r.createElement(u,{...Ht(u,d),className:n,"data-index":t.index,key:s},o(t.index,t.data,d))})))})),wn=r.memo((function(){const e=jn("HeaderComponent"),t=Sn("headerHeight"),n=jn("headerFooterTag"),o=G((e=>t(K(e,"height")))),i=jn("context");return e?r.createElement(n,{ref:o},r.createElement(e,Ht(e,i))):null})),xn=r.memo((function(){const e=jn("FooterComponent"),t=Sn("footerHeight"),n=jn("headerFooterTag"),o=G((e=>t(K(e,"height")))),i=jn("context");return e?r.createElement(n,{ref:o},r.createElement(e,Ht(e,i))):null})),Cn=({children:e})=>{const t=r.useContext(At),n=Sn("itemDimensions"),o=Sn("viewportDimensions"),i=G((e=>{o(e.getBoundingClientRect())}));return r.useEffect((()=>{t&&(o({height:t.viewportHeight,width:t.viewportWidth}),n({height:t.itemHeight,width:t.itemWidth}))}),[t,o,n]),r.createElement("div",{style:Zt,ref:i},e)},kn=({children:e})=>{const t=r.useContext(At),n=Sn("windowViewportRect"),o=Sn("itemDimensions"),i=jn("customScrollParent"),a=Mt(n,i);return r.useEffect((()=>{t&&(o({height:t.itemHeight,width:t.itemWidth}),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))}),[t,n,o]),r.createElement("div",{ref:a,style:Zt},e)},En=r.memo((function({...e}){const t=jn("useWindowScroll"),n=jn("customScrollParent"),o=n||t?An:On,i=n||t?kn:Cn;return r.createElement(o,{...e},r.createElement(i,null,r.createElement(wn,null),r.createElement(bn,null),r.createElement(xn,null)))})),{Component:_n,usePublisher:Sn,useEmitterValue:jn,useEmitter:Mn}=V(yn,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},En),On=zt({usePublisher:Sn,useEmitterValue:jn,useEmitter:Mn}),An=Ut({usePublisher:Sn,useEmitterValue:jn,useEmitter:Mn});function Tn(e,t,n){return"normal"===t||(null==t?void 0:t.endsWith("px"))||n(`${e} was not resolved to pixel value correctly`,t,U.WARN),"normal"===t?0:p
1arseInt(null!=t?t:"0",10)}const Rn=_n,Ln=N((([e,t])=>({...e,...t})),c(Et,N((()=>{const e=C((e=>r.createElement("td",null,"Item $",e))),t=C(null),n=C(null),o=C(null),i=C({}),a=C(Tt),s=C(p),u=(e,t=null)=>E(_(i,O((t=>t[e])),j()),t);return{context:t,itemContent:e,fixedHeaderContent:n,fixedFooterContent:o,components:i,computeItemKey:a,scrollerRef:s,TableComponent:u("Table","table"),TableHeadComponent:u("TableHead","thead"),TableFooterComponent:u("TableFoot","tfoot"),TableBodyComponent:u("TableBody","tbody"),TableRowComponent:u("TableRow","tr"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder"),FillerRow:u("FillerRow")}})))),Dn=({height:e})=>r.createElement("tr",null,r.createElement("td",{style:{height:e}})),Pn=({height:e})=>r.createElement("tr",null,r.createElement("td",{style:{height:e,padding:0,border:0}})),In=r.memo((function(){const e=Vn("listState"),t=Bn("sizeRanges"),n=Vn("useWindowScroll"),o=Vn("customScrollParent"),i=Bn("windowScrollContainerState"),a=Bn("scrollContainerState"),s=o||n?i:a,u=Vn("itemContent"),l=Vn("trackItemSizes"),c=Vn("itemSize"),d=Vn("log"),{callbackRef:f,ref:h}=Y(t,c,l,s,d,void 0,o),[p,g]=r.useState(0);zn("deviation",(e=>{p!==e&&(h.current.style.marginTop=`${e}px`,g(e))}));const m=Vn("EmptyPlaceholder"),v=Vn("ScrollSeekPlaceholder")||Dn,y=Vn("FillerRow")||Pn,b=Vn("TableBodyComponent"),w=Vn("TableRowComponent"),x=Vn("computeItemKey"),C=Vn("isSeeking"),k=Vn("paddingTopAddition"),E=Vn("firstItemIndex"),_=Vn("statefulTotalCount"),S=Vn("context");if(0===_&&m)return r.createElement(m,Ht(m,S));const j=e.offsetTop+k+p,M=e.offsetBottom,O=j>0?r.createElement(y,{height:j,key:"padding-top",context:S}):null,A=M>0?r.createElement(y,{height:M,key:"padding-bottom",context:S}):null,T=e.items.map((e=>{const t=e.originalIndex,n=x(t+E,e.data,S);return C?r.createElement(v,{...Ht(v,S),key:n,index:e.index,height:e.size,type:e.type||"item"}):r.createElement(w,{...Ht(w,S),key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,item:e.data,style:{overflowAnchor:"none"}},u(e.index,e.data,S))}));return r.createElement(b,{ref:f,"data-test-id":"virtuoso-item-list",...Ht(b,S)},[O,...T,A])})),Fn=({children:e})=>{const t=r.useContext(Ot),n=Bn("viewportHeight"),o=Bn("fixedItemHeight"),a=G(i(n,(e=>K(e,"height"))));return r.useEffect((()=>{t&&(n(t.viewportHeight),o(t.itemHeight))}),[t,n,o]),r.createElement("div",{style:Zt,ref:a,"data-viewport-type":"element"},e)},Zn=({children:e})=>{const t=r.useContext(Ot),n=Bn("windowViewportRect"),o=Bn("fixedItemHeight"),i=Vn("customScrollParent"),a=Mt(n,i);return r.useEffect((()=>{t&&(o(t.itemHeight),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))}),[t,n,o]),r.createElement("div",{ref:a,style:Zt,"data-viewport-type":"window"},e)},Nn=r.memo((function(e){const t=Vn("useWindowScroll"),n=Vn("customScrollParent"),o=Bn("fixedHeaderHeight"),a=Bn("fixedFooterHeight"),s=Vn("fixedHeaderContent"),u=Vn("fixedFooterContent"),l=Vn("context"),c=G(i(o,(e=>K(e,"height")))),d=G(i(a,(e=>K(e,"height")))),f=n||t?Wn:Un,h=n||t?Zn:Fn,p=Vn("TableComponent"),g=Vn("TableHeadComponent"),m=Vn("TableFooterComponent"),v=s?r.createElement(g,{key:"TableHead",style:{zIndex:2,position:"sticky",top:0},ref:c,...Ht(g,l)},s()):null,y=u?r.createElement(m,{key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d,...Ht(m,l)},u()):null;return r.createElement(f,{...e},r.createElement(h,null,r.createElement(p,{style:{borderSpacing:0,overflowAnchor:"none"},...Ht(p,l)},[v,r.createElement(In,{key:"TableBody"}),y])))})),{Component:Hn,usePublisher:Bn,useEmitterValue:Vn,useEmitter:zn}=V(Ln,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},Nn),Un=zt({usePublisher:Bn,useEmitterValue:Vn,useEmitter:zn}),Wn=Ut({usePublisher:Bn,useEmitterValue:Vn,useEmitter:zn})},96500:function(e,t,n){"use strict";n.d(t,{tK:function(){return Io},uC:function(){return Gr},mo:function(){return Or},sh:function(){return Nr},iC:function(){return Hr},Zb:function(){return Br},kj:function(){return Vr},uj:function(){return oi},m8:function(){return Er}});var r=n(32932),o=n(85893),i=n(67294),a=n(61688);const s=()=>{},u=s(),l=Object,c=e=>e===u,d=e=>"function"==typeof e,f=(e,t)=>({...e,...t}),h=new WeakMap;let p=0;const g=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(l(e)!==e||r||n==RegExp)o=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(o=h.get(e),o)return o;if(o=++p+"~",h.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=g(e[i])+",";h.set(e,o)}if(n==l){o="#";const t=l.keys(e).sort();for(;!c(i=t.pop());)c(e[i])||(o+=i+":"+g(e[i])+",");h.set(e,o)}}return o},m=new WeakMap,v={},y={},b="undefined",w=typeof window!=b,x=typeof document!=b,C=(e,t)=>{const n=m.get(e);return[()=>!c(t)&&e.get(t)||v,r=>{if(!c(t)){const o=e.get(t);t in y||(y[t]=o),n[5](t,f(o,r),o||v)}},n[6],()=>!c(t)&&t in y?y[t]:!c(t)&&e.get(t)||v]};let k=!0;const[E,_]=w&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[s,s],S={isOnline:()=>k,isVisible:()=>{const e=x&&document.visibilityState;
1return c(e)||"hidden"!==e}},j={initFocus:e=>(x&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{x&&document.removeEventListener("visibilitychange",e),_("focus",e)}),initReconnect:e=>{const t=()=>{k=!0,e()},n=()=>{k=!1};return E("online",t),E("offline",n),()=>{_("online",t),_("offline",n)}}},M=!i.useId,O=!w||"Deno"in window,A=e=>w&&typeof window.requestAnimationFrame!=b?window.requestAnimationFrame(e):setTimeout(e,1),T=O?i.useEffect:i.useLayoutEffect,R="undefined"!==typeof navigator&&navigator.connection,L=!O&&R&&(["slow-2g","2g"].includes(R.effectiveType)||R.saveData),D=e=>{if(d(e))try{e=e()}catch(n){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?g(e):"",t]};let P=0;const I=()=>++P;var F=3,Z=0,N=2,H=1;async function B(...e){const[t,n,r,o]=e,i=f({populateCache:!0,throwOnError:!0},"boolean"===typeof o?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const h=!1!==i.revalidate,p=i.throwOnError;if(d(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(g))}return g(n);async function g(n){const[o]=D(n);if(!o)return;const[i,f]=C(t,o),[g,v,y,b]=m.get(t),w=g[o],x=()=>h&&(delete y[o],delete b[o],w&&w[0])?w[0](2).then((()=>i().data)):i().data;if(e.length<3)return x();let k,E=r;const _=I();v[o]=[_,0];const S=!c(l),j=i(),M=j.data,O=j._c,A=c(O)?M:O;if(S&&(l=d(l)?l(A,M):l,f({data:l,_c:A})),d(E))try{E=E(A)}catch(R){k=R}if(E&&(e=>d(e.then))(E)){if(E=await E.catch((e=>{k=e})),_!==v[o][0]){if(k)throw k;return E}k&&S&&(e=>"function"===typeof s?s(e):!1!==s)(k)&&(a=!0,E=A,f({data:E,_c:u}))}a&&(k||(d(a)&&(E=a(E,A)),f({data:E,error:u,_c:u}))),v[o][1]=I();const T=await x();if(f({_c:u}),!k)return a?T:E;if(p)throw k}}const V=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},z=(e,t)=>{if(!m.has(e)){const n=f(j,t),r={},o=B.bind(u,e);let i=s;const a={},l=(e,t)=>{const n=a[e]||[];return a[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},c=(t,n,r)=>{e.set(t,n);const o=a[t];if(o)for(const e of o)e(n,r)},d=()=>{if(!m.has(e)&&(m.set(e,[r,{},{},{},o,c,l]),!O)){const t=n.initFocus(setTimeout.bind(u,V.bind(u,r,0))),o=n.initReconnect(setTimeout.bind(u,V.bind(u,r,1)));i=()=>{t&&t(),o&&o(),m.delete(e)}}};return d(),[e,o,d,i]}return[e,m.get(e)[4]]},[U,W]=z(new Map),$=f({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!c(i)&&a>i||setTimeout(r,s,o)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:(e,t)=>g(e)==g(t),isPaused:()=>!1,cache:U,mutate:W,fallback:{}},S),q=(e,t)=>{const n=f(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=f(o,a))}return n},G=(0,i.createContext)({}),Y=w&&window.__SWR_DEVTOOLS_USE__,K=Y?window.__SWR_DEVTOOLS_USE__:[],X=e=>d(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],J=K.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=D(t),[,,,o]=m.get(U),i=o[r];return c(i)?n(...e):(delete o[r],i)}),r)));Y&&(window.__SWR_DEVTOOLS_REACT__=i);const Q=i.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),ee={dedupe:!0},te=(l.defineProperty((e=>{const{value:t}=e,n=(0,i.useContext)(G),r=d(t),o=(0,i.useMemo)((()=>r?t(n):t),[r,n,t]),a=(0,i.useMemo)((()=>r?o:q(n,o)),[r,n,o]),s=o&&o.provider,l=(0,i.useRef)(u);s&&!l.current&&(l.current=z(s(a.cache||U),o));const c=l.current;return c&&(a.cache=c[0],a.mutate=c[1]),T((()=>{if(c)return c[2]&&c[2](),c[3]}),[]),(0,i.createElement)(G.Provider,f(e,{value:a}))}),"defaultValue",{value:$}),ne=(e,t,n)=>{const{cache:r,compare:o,suspense:s,fallbackData:l,revalidateOnMount:h,revalidateIfStale:p,refreshInterval:g,refreshWhenHidden:v,refreshWhenOffline:y,keepPreviousData:b}=n,[w,x,k,E]=m.get(r),[_,S]=D(e),j=(0,i.useRef)(!1),R=(0,i.useRef)(!1),L=(0,i.useRef)(_),P=(0,i.useRef)(t),V=(0,i.useRef)(n),z=()=>V.current,U=()=>z().isVisible()&&z().isOnline(),[W,$,q,G]=C(r,_),Y=(0,i.useRef)({}).current,K=c(l)?n.fallback[_]:l,X=(e,t)=>{for(const n in Y){const r=n;if("data"===r){if(!o(e[r],t[r])){if(!c(e[r]))return!1;if(!o(ue,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},J=(0,i.useMemo)((()=>{const e=!!_&&!!t&&(c(h)?!z().isPaused()&&!s&&(!!c(p)||p):h),n=t=>{const n=f(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=W(),o=G(),i=n(r),a=r===o?i:n(o);let u=i;return[()=>{const e=n(W());return X(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>a]}),[r,_]),te=(0,a.useSyncExternalStore)((0,i.useCallback)((e=>q(_,((t,n)=>{X(n,t)||e()}))),[r,_]),J[0],J[1]),ne=!j.current,re=w[_]&&w[_].length>0,oe=te.data,ie=c(oe)?K:oe,ae=te.error,se=(0,i.useRef)(ie),ue=b?c(oe)?se.current:oe:ie,le=!(re&&!c(ae))&&(ne&&!c(h)?h:!z().isPaused()&&(s?!c(ie)&&p:c(ie)||p)),ce=!!(_&&t&&ne&&le),de=c(te.isValidating)?ce:te.isValidating,fe=c(te.isLoading)?ce:te.isLoading,he=(0,i.useCallback)((async e=>{const t=P.current;if(!_||!t||R.current||z().isPaused())return!1;let r,i,a=!0;const s=e||{},l=!k[_]||!s.dedupe,f=()=>M?!R.current&&_===L.current&&j.current:_===L.current,h={isValidating:!1,isLoading:!1},p=()=>{$(h)},g=()=>{const e=k[_];e&&e[1]===i&&delete k[_]},m={isValidating:!0};c(W().data)&&(m.isLoading=!0);try{if(l&&($(m),n.loadingTimeout&&c(W().data)&&setTimeout((()=>{a&&f()&&z().onLoadingSlow(_,n)}),n.loadingTimeout),k[_]=[t(S),I()]),[r,i]=k[_],r=await r,l&&setTimeout(g,n.dedupingInterval),!k[_]||k[_][1]!==i)return l&&f()&&z().onDiscarded(_),!1;h.error=u;const e=x[_];if(!c(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return p(),l&&f()&&z().onDiscarded(_),!1;const s=W().data;
1h.data=o(s,r)?s:r,l&&f()&&z().onSuccess(r,_,n)}catch(v){g();const e=z(),{shouldRetryOnError:t}=e;e.isPaused()||(h.error=v,l&&f()&&(e.onError(v,_,e),(!0===t||d(t)&&t(v))&&U()&&e.onErrorRetry(v,_,e,(e=>{const t=w[_];t&&t[0]&&t[0](F,e)}),{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return a=!1,p(),!0}),[_,r]),pe=(0,i.useCallback)(((...e)=>B(r,L.current,...e)),[]);if(T((()=>{P.current=t,V.current=n,c(oe)||(se.current=oe)})),T((()=>{if(!_)return;const e=he.bind(u,ee);let t=0;const n=((e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}})(_,w,((n,r={})=>{if(n==Z){const n=Date.now();z().revalidateOnFocus&&n>t&&U()&&(t=n+z().focusThrottleInterval,e())}else if(n==H)z().revalidateOnReconnect&&U()&&e();else{if(n==N)return he();if(n==F)return he(r)}}));return R.current=!1,L.current=_,j.current=!0,$({_k:S}),le&&(c(ie)||O?e():A(e)),()=>{R.current=!0,n()}}),[_]),T((()=>{let e;function t(){const t=d(g)?g(W().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){W().error||!v&&!z().isVisible()||!y&&!z().isOnline()?t():he(ee).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[g,v,y,_]),(0,i.useDebugValue)(ue),s&&c(ie)&&_){if(!M&&O)throw new Error("Fallback data is required when using suspense in SSR.");P.current=t,V.current=n,R.current=!1;const e=E[_];if(!c(e)){const t=pe(e);Q(t)}if(!c(ae))throw ae;{const e=he(ee);c(ue)||(e.status="fulfilled",e.value=!0),Q(e)}}return{mutate:pe,get data(){return Y.data=!0,ue},get error(){return Y.error=!0,ae},get isValidating(){return Y.isValidating=!0,de},get isLoading(){return Y.isLoading=!0,fe}}},function(...e){const t=f($,(0,i.useContext)(G)),[n,r,o]=X(e),a=q(t,o);let s=ne;const{use:u}=a,l=(u||[]).concat(J);for(let i=l.length;i--;)s=l[i](s);return s(n,r||a.fetcher||null,a)});var ne,re=n(19293),oe=n(19917),ie=n(69243),ae=n(32817),se=n(83610),ue=n(40052),le=n(82649),ce=n(34978),de=n(5014),fe=n(79878),he=n(48902),pe=n(83505),ge=n(42006),me=n(25934),ve=n(34155),ye=Object.create,be=Object.defineProperty,we=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Ce=Object.getPrototypeOf,ke=Object.prototype.hasOwnProperty,Ee=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),_e=Ee(((e,t)=>{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t.exports=n})),Se=Ee(((e,t)=>{t.exports=function(e){if(!e)return!1;var t=n.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var n=Object.prototype.toString})),je=Ee(((e,t)=>{var n=function(e){return e.replace(/^\s+|\s+$/g,"")},r=function(e){return"[object Array]"===Object.prototype.toString.call(e)};t.exports=function(e){if(!e)return{};for(var t={},o=n(e).split("\n"),i=0;i<o.length;i++){var a=o[i],s=a.indexOf(":"),u=n(a.slice(0,s)).toLowerCase(),l=n(a.slice(s+1));"undefined"==typeof t[u]?t[u]=l:r(t[u])?t[u].push(l):t[u]=[t[u],l]}return t}})),Me=Ee(((e,t)=>{t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var o in r)n.call(r,o)&&(e[o]=r[o])}return e};var n=Object.prototype.hasOwnProperty})),Oe=Ee(((e,t)=>{var n=_e(),r=Se(),o=je(),i=Me();function a(e,t,n){var o=e;return r(t)?(n=t,"string"==typeof e&&(o={uri:e})):o=i(t,{uri:e}),o.callback=n,o}function s(e,t,n){return u(t=a(e,t,n))}function u(e){if("undefined"==typeof e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,o){t||(t=!0,e.callback(n,r,o))};function r(){var e=void 0;if(e=u.response?u.response:u.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch{}return null}(u),v)try{e=JSON.parse(e)}catch{}return e}function i(e){return clearTimeout(d),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,y)}function a(){if(!c){var t;clearTimeout(d),t=e.useXDR&&void 0===u.status?200:1223===u.status?204:u.status;var i=y,a=null;return 0!==t?(i={body:r(),statusCode:t,method:h,headers:{},url:f,rawRequest:u},u.getAllResponseHeaders&&(i.headers=o(u.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),n(a,i,i.body)}}var u=e.xhr||null;u||(u=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var l,c,d,f=u.url=e.uri||e.url,h=u.method=e.method||"GET",p=e.body||e.data,g=u.headers=e.headers||{},m=!!e.sync,v=!1,y={body:void 0,headers:{},statusCode:0,method:h,url:f,rawRequest:u};if("json"in e&&!1!==e.json&&(v=!0,g.accept||g.Accept||(g.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(g["content-type"]||g["Content-Type"]||(g["Content-Type"]="application/json"),p=JSON.stringify(!0===e.json?p:e.json))),u.onreadystatechange=function(){4===u.readyState&&setTimeout(a,0)},u.onload=a,u.onerror=i,u.onprogress=function(){},u.onabort=function(){c=!0},u.ontimeout=i,u.open(h,f,!m,e.username,e.password),m||(u.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(d=setTimeout((function(){if(!c){c=!0,u.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),u.setRequestHeader)for(l in g)g.hasOwnProperty(l)&&u.setRequestHeader(l,g[l]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(u.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(u),u.send(p||null),u}t.exports=s,t.exports.default=s,s.XMLHttpRequest=n.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:n.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],(function(e){s["delete"===e?"del":e]=function(t,n,r){return(n=a(t,
1n,r)).method=e.toUpperCase(),u(n)}}))}));function Ae(e,t,...n){if(!e)throw new TypeError(Te(t,n))}function Te(e,t){let n=0;return e.replace(/%[os]/gu,(()=>Re(t[n++])))}function Re(e){return"object"!=typeof e||null===e?String(e):Object.prototype.toString.call(e)}var Le,De="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:void 0,Pe=class{constructor(e,t){this.code=e,this.message=t}warn(...e){var t;try{Le;let n=(null!==(t=(new Error).stack)&&void 0!==t?t:"").replace(/^(?:.+?\n){2}/gu,"\n");console.warn(this.message,...e,n)}catch{}}},Ie=new Pe("W01","Unable to initialize event under dispatching."),Fe=new Pe("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),Ze=new Pe("W03","Assigning any truthy value to 'returnValue' property has no effect."),Ne=new Pe("W04","Unable to preventDefault on non-cancelable events."),He=new Pe("W05","Unable to preventDefault inside passive event listener invocation."),Be=new Pe("W06","An event listener wasn't added because it has been added already: %o, %o"),Ve=new Pe("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),ze=new Pe("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o"),Ue=(new Pe("W09","Event attribute handler must be a function: %o"),class{static get NONE(){return We}static get CAPTURING_PHASE(){return $e}static get AT_TARGET(){return qe}static get BUBBLING_PHASE(){return Ge}constructor(e,t){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let n=null!=t?t:{};Ye.set(this,{type:String(e),bubbles:Boolean(n.bubbles),cancelable:Boolean(n.cancelable),composed:Boolean(n.composed),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return Ke(this).type}get target(){return Ke(this).target}get srcElement(){return Ke(this).target}get currentTarget(){return Ke(this).currentTarget}composedPath(){let e=Ke(this).currentTarget;return e?[e]:[]}get NONE(){return We}get CAPTURING_PHASE(){return $e}get AT_TARGET(){return qe}get BUBBLING_PHASE(){return Ge}get eventPhase(){return Ke(this).dispatchFlag?2:0}stopPropagation(){Ke(this).stopPropagationFlag=!0}get cancelBubble(){return Ke(this).stopPropagationFlag}set cancelBubble(e){e?Ke(this).stopPropagationFlag=!0:Fe.warn()}stopImmediatePropagation(){let e=Ke(this);e.stopPropagationFlag=e.stopImmediatePropagationFlag=!0}get bubbles(){return Ke(this).bubbles}get cancelable(){return Ke(this).cancelable}get returnValue(){return!Ke(this).canceledFlag}set returnValue(e){e?Ze.warn():Xe(Ke(this))}preventDefault(){Xe(Ke(this))}get defaultPrevented(){return Ke(this).canceledFlag}get composed(){return Ke(this).composed}get isTrusted(){return!1}get timeStamp(){return Ke(this).timeStamp}initEvent(e,t=!1,n=!1){let r=Ke(this);r.dispatchFlag?Ie.warn():Ye.set(this,{...r,type:String(e),bubbles:Boolean(t),cancelable:Boolean(n),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}}),We=0,$e=1,qe=2,Ge=3,Ye=new WeakMap;function Ke(e,t="this"){let n=Ye.get(e);return Ae(null!=n,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),n}function Xe(e){e.inPassiveListenerFlag?He.warn():e.cancelable?e.canceledFlag=!0:Ne.warn()}Object.defineProperty(Ue,"NONE",{enumerable:!0}),Object.defineProperty(Ue,"CAPTURING_PHASE",{enumerable:!0}),Object.defineProperty(Ue,"AT_TARGET",{enumerable:!0}),Object.defineProperty(Ue,"BUBBLING_PHASE",{enumerable:!0});var Je=Object.getOwnPropertyNames(Ue.prototype);for(let ii=0;ii<Je.length;++ii)"constructor"!==Je[ii]&&Object.defineProperty(Ue.prototype,Je[ii],{enumerable:!0});"undefined"!=typeof De&&"undefined"!=typeof De.Event&&Object.setPrototypeOf(Ue.prototype,De.Event.prototype);var Qe,et={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ER
1R:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25};function tt(e){let t=Object.keys(et);for(let n=0;n<t.length;++n){let r=t[n],o=et[r];Object.defineProperty(e,r,{get:()=>o,configurable:!0,enumerable:!0})}}var nt=class extends Ue{static wrap(e){return new(at(e))(e)}constructor(e){super(e.type,{bubbles:e.bubbles,cancelable:e.cancelable,composed:e.composed}),e.cancelBubble&&super.stopPropagation(),e.defaultPrevented&&super.preventDefault(),rt.set(this,{original:e});let t=Object.keys(e);for(let n=0;n<t.length;++n){let r=t[n];r in this||Object.defineProperty(this,r,st(e,r))}}stopPropagation(){super.stopPropagation();let{original:e}=ot(this);"stopPropagation"in e&&e.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(e){super.cancelBubble=e;let{original:t}=ot(this);"cancelBubble"in t&&(t.cancelBubble=e)}stopImmediatePropagation(){super.stopImmediatePropagation();let{original:e}=ot(this);"stopImmediatePropagation"in e&&e.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(e){super.returnValue=e;let{original:t}=ot(this);"returnValue"in t&&(t.returnValue=e)}preventDefault(){super.preventDefault();let{original:e}=ot(this);"preventDefault"in e&&e.preventDefault()}get timeStamp(){let{original:e}=ot(this);return"timeStamp"in e?e.timeStamp:super.timeStamp}},rt=new WeakMap;function ot(e){let t=rt.get(e);return Ae(null!=t,"'this' is expected an Event object, but got",e),t}var it=new WeakMap;function at(e){let t=Object.getPrototypeOf(e);if(null==t)return nt;let n=it.get(t);return null==n&&(n=function(e,t){class n extends e{}let r=Object.keys(t);for(let o=0;o<r.length;++o)Object.defineProperty(n.prototype,r[o],st(t,r[o]));return n}(at(t),t),it.set(t,n)),n}function st(e,t){let n=Object.getOwnPropertyDescriptor(e,t);return{get(){let e=ot(this).original,n=e[t];return"function"==typeof n?n.bind(e):n},set(e){ot(this).original[t]=e},configurable:n.configurable,enumerable:n.enumerable}}function ut(e){return 1===(1&e.flags)}function lt(e){return 2===(2&e.flags)}function ct(e){return 4===(4&e.flags)}function dt(e){return 8===(8&e.flags)}function ft({callback:e},t,n){try{"function"==typeof e?e.call(t,n):"function"==typeof e.handleEvent&&e.handleEvent(n)}catch(r){!function(e){try{let t=e instanceof Error?e:new Error(Re(e));if("function"==typeof dispatchEvent&&"function"==typeof ErrorEvent)dispatchEvent(new ErrorEvent("error",{error:t,message:t.message}));else if("undefined"!=typeof ve&&"function"==typeof ve.emit)return void ve.emit("uncaughtException",t);console.error(t)}catch{}}(r)}}function ht({listeners:e},t,n){for(let r=0;r<e.length;++r)if(e[r].callback===t&&ut(e[r])===n)return r;return-1}function pt(e,t,n){let r=ht(e,t,n);return-1!==r&>(e,r)}function gt(e,t,n=!1){let r=e.listeners[t];return function(e){e.flags|=8}(r),r.signal&&r.signal.removeEventListener("abort",r.signalListener),e.cow&&!n?(e.cow=!1,e.listeners=e.listeners.filter(((e,n)=>n!==t)),!1):(e.listeners.splice(t,1),!0)}it.set(Object.prototype,nt),"undefined"!=typeof De&&"undefined"!=typeof De.Event&&it.set(De.Event.prototype,nt);var mt=class{constructor(){vt.set(this,Object.create(null))}addEventListener(e,t,n){let r=yt(this),{callback:o,capture:i,once:a,passive:s,signal:u,type:l}=function(e,t,n){var r;return bt(t),"object"==typeof n&&null!==n?{type:String(e),callback:null!=t?t:void 0,capture:Boolean(n.capture),passive:Boolean(n.passive),once:Boolean(n.once),signal:null!==(r=n.signal)&&void 0!==r?r:void 0}:{type:String(e),callback:null!=t?t:void 0,capture:Boolean(n),passive:!1,once:!1,signal:void 0}}(e,t,n);if(null==o||(null==u?void 0:u.aborted))return;let c=function(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e[t]={attrCallback:void 0,attrListener:void 0,cow:!1,listeners:[]}}(r,l),d=ht(c,o,i);-1===d?function(e,t,n,r,o,i){let a;i&&(a=pt.bind(null,e,t,n),i.addEventListener("abort",a));let s=function(e,t,n,r,o,i){return{callback:e,flags:(t?1:0)|(n?2:0)|(r?4:0),signal:o,signalListener:i}}(t,n,r,o,i,a);e.cow?(e.cow=!1,e.listeners=[...e.listeners,s]):e.listeners.push(s)}(c,o,i,s,a,u):function(e,t,n,r){Be.warn(ut(e)?"capture":"bubble",e.callback),lt(e)!==t&&Ve.warn("passive"),ct(e)!==n&&Ve.warn("once"),e.signal!==r&&Ve.warn("signal")}(c.listeners[d],s,a,u)}removeEventListener(e,t,n){let r=yt(this),{callback:o,capture:i,type:a}=function(e,t,n){return bt(t),"object"==typeof n&&null!==n?{type:String(e),callback:null!=t?t:void 0,capture:Boolean(n.capture)}:{type:String(e),callback:null!=t?t:void 0,capture:Boolean(n)}}
1(e,t,n),s=r[a];null!=o&&s&&pt(s,o,i)}dispatchEvent(e){let t=yt(this)[String(e.type)];if(null==t)return!0;let n=e instanceof Ue?e:nt.wrap(e),r=Ke(n,"event");if(r.dispatchFlag)throw o="This event has been in dispatching.",De.DOMException?new De.DOMException(o,"InvalidStateError"):(null==Qe&&(Qe=class e extends Error{constructor(t){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,e)}get code(){return 11}get name(){return"InvalidStateError"}},Object.defineProperties(Qe.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),tt(Qe),tt(Qe.prototype)),new Qe(o));var o;if(r.dispatchFlag=!0,r.target=r.currentTarget=this,!r.stopPropagationFlag){let{cow:e,listeners:o}=t;t.cow=!0;for(let i=0;i<o.length;++i){let a=o[i];if(!dt(a)&&(ct(a)&>(t,i,!e)&&(i-=1),r.inPassiveListenerFlag=lt(a),ft(a,this,n),r.inPassiveListenerFlag=!1,r.stopImmediatePropagationFlag))break}e||(t.cow=!1)}return r.target=null,r.currentTarget=null,r.stopImmediatePropagationFlag=!1,r.stopPropagationFlag=!1,r.dispatchFlag=!1,!r.canceledFlag}},vt=new WeakMap;function yt(e,t="this"){let n=vt.get(e);return Ae(null!=n,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),n}function bt(e){if("function"!=typeof e&&("object"!=typeof e||null===e||"function"!=typeof e.handleEvent)){if(null==e||"object"==typeof e)return void ze.warn(e);throw new TypeError(Te(ze.message,[e]))}}var wt=Object.getOwnPropertyNames(mt.prototype);for(let ii=0;ii<wt.length;++ii)"constructor"!==wt[ii]&&Object.defineProperty(mt.prototype,wt[ii],{enumerable:!0});"undefined"!=typeof De&&"undefined"!=typeof De.EventTarget&&Object.setPrototypeOf(mt.prototype,De.EventTarget.prototype);var xt,Ct,kt,Et=(xt=Oe(),kt=null!=xt?ye(Ce(xt)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of xe(t))!ke.call(e,o)&&o!==n&&be(e,o,{get:()=>t[o],enumerable:!(r=we(t,o))||r.enumerable});return e})(!Ct&&xt&&xt.__esModule?kt:be(kt,"default",{value:xt,enumerable:!0}),xt)),_t=512e3,St=256,jt=(e,{minChunkSize:t=St,maxChunkSize:n=_t}={})=>null==e||"number"==typeof e&&e>=256&&e%256===0&&e>=t&&e<=n,Mt=(e,{minChunkSize:t=St,maxChunkSize:n=_t}={})=>new TypeError(`chunkSize ${e} must be a positive number in multiples of 256, between ${t} and ${n}`),Ot=class{constructor(e,t={}){var n,r,o;if(this.readableStream=e,!jt(t.defaultChunkSize,t))throw Mt(t.defaultChunkSize,t);this.defaultChunkSize=null!=(n=t.defaultChunkSize)?n:30720,this.minChunkSize=null!=(r=t.minChunkSize)?r:St,this.maxChunkSize=null!=(o=t.maxChunkSize)?o:_t}get chunkSize(){var e;return null!=(e=this._chunkSize)?e:this.defaultChunkSize}set chunkSize(e){if(!jt(e,this))throw Mt(e,this);this._chunkSize=e}get chunkByteSize(){return 1024*this.chunkSize}async*[Symbol.asyncIterator](){let e,t=this.readableStream.getReader();try{for(;;){let{done:n,value:r}=await t.read();if(n){if(e){let t=e;e=void 0,yield t}break}let o=r instanceof Uint8Array?new Blob([r],{type:"application/octet-stream"}):r;for(e=e?new Blob([e,o]):o;e;){if(e.size===this.chunkByteSize){let t=e;e=void 0,yield t;break}if(e.size<this.chunkByteSize)break;{let t=e.slice(0,this.chunkByteSize);e=e.slice(this.chunkByteSize),yield t}}}}finally{if(e){let t=e;e=void 0,yield t}return void t.releaseLock()}}},At=[200,201,202,204,308],Tt=[408,502,503,504],Rt=(e,t)=>
1!!e&&At.includes(e.statusCode),Lt=(e,t)=>t.attemptCount>=t.attempts||!(Rt(e)||((e,{retryCodes:t=Tt})=>!e||t.includes(e.statusCode))(e,t)),Dt=class{static createUpload(e){return new Dt(e)}constructor(e){this.endpoint=e.endpoint,this.file=e.file,this.headers=e.headers||{},this.method=e.method||"PUT",this.attempts=e.attempts||5,this.delayBeforeAttempt=e.delayBeforeAttempt||1,this.retryCodes=e.retryCodes||Tt,this.dynamicChunkSize=e.dynamicChunkSize||!1,this.maxFileBytes=1024*(e.maxFileSize||0),this.chunkCount=0,this.attemptCount=0,this.offline=!1,this._paused=!1,this.success=!1,this.nextChunkRangeStart=0,this.chunkedStreamIterable=new Ot(this.file.stream(),{...e,defaultChunkSize:e.chunkSize}),this.chunkedStreamIterator=this.chunkedStreamIterable[Symbol.asyncIterator](),this.totalChunks=Math.ceil(this.file.size/this.chunkByteSize),this.eventTarget=new mt,this.validateOptions(),this.getEndpoint().then((()=>this.sendChunks())),"undefined"!=typeof window&&(window.addEventListener("online",(()=>{!this.offline||(this.offline=!1,this.dispatch("online"),this.sendChunks())})),window.addEventListener("offline",(()=>{this.offline=!0,this.dispatch("offline")})))}get maxChunkSize(){var e,t;return null!=(t=null==(e=this.chunkedStreamIterable)?void 0:e.maxChunkSize)?t:_t}get minChunkSize(){var e,t;return null!=(t=null==(e=this.chunkedStreamIterable)?void 0:e.minChunkSize)?t:St}get chunkSize(){var e,t;return null!=(t=null==(e=this.chunkedStreamIterable)?void 0:e.chunkSize)?t:30720}set chunkSize(e){this.chunkedStreamIterable.chunkSize=e}get chunkByteSize(){return this.chunkedStreamIterable.chunkByteSize}get totalChunkSize(){return Math.ceil(this.file.size/this.chunkByteSize)}on(e,t){this.eventTarget.addEventListener(e,t)}once(e,t){this.eventTarget.addEventListener(e,t,{once:!0})}off(e,t){this.eventTarget.removeEventListener(e,t)}get paused(){return this._paused}abort(){var e;this.pause(),null==(e=this.currentXhr)||e.abort()}pause(){this._paused=!0}resume(){this._paused&&(this._paused=!1,this.sendChunks())}dispatch(e,t){let n=new CustomEvent(e,{detail:t});this.eventTarget.dispatchEvent(n)}validateOptions(){if(!this.endpoint||"function"!=typeof this.endpoint&&"string"!=typeof this.endpoint)throw new TypeError("endpoint must be defined as a string or a function that returns a promise");if(!(this.file instanceof File))throw new TypeError("file must be a File object");if(this.headers&&"function"!=typeof this.headers&&"object"!=typeof this.headers)throw new TypeError("headers must be null, an object, or a function that returns an object or a promise");if(!jt(this.chunkSize,{maxChunkSize:this.maxChunkSize,minChunkSize:this.minChunkSize}))throw Mt(this.chunkSize,{maxChunkSize:this.maxChunkSize,minChunkSize:this.minChunkSize});if(this.maxChunkSize&&("number"!=typeof this.maxChunkSize||this.maxChunkSize<256||this.maxChunkSize%256!==0||this.maxChunkSize<this.chunkSize||this.maxChunkSize<this.minChunkSize))throw new TypeError(`maxChunkSize must be a positive number in multiples of 256, and larger than or equal to both ${this.minChunkSize} and ${this.chunkSize}`);if(this.minChunkSize&&("number"!=typeof this.minChunkSize||this.minChunkSize<256||this.minChunkSize%256!==0||this.minChunkSize>this.chunkSize||this.minChunkSize>this.maxChunkSize))throw new TypeError(`minChunkSize must be a positive number in multiples of 256, and smaller than ${this.chunkSize} and ${this.maxChunkSize}`);if(this.maxFileBytes>0&&this.maxFileBytes<this.file.size)throw new Error(`file size exceeds maximum (${this.file.size} > ${this.maxFileBytes})`);if(this.attempts&&("number"!=typeof this.attempts||this.attempts<=0))throw new TypeError("retries must be a positive number");if(this.delayBeforeAttempt&&("number"!=typeof this.delayBeforeAttempt||this.delayBeforeAttempt<0))throw new TypeError("delayBeforeAttempt must be a positive number")}getEndpoint(){return"string"==typeof this.endpoint?(this.endpointValue=this.endpoint,Promise.resolve(this.endpoint)):this.endpoint(this.file).then((e=>(this.endpointValue=e,this.endpointValue)))}xhrPromise(e){let t=e=>{e.upload.onprogress=e=>{var t;let n=this.totalChunks-this.chunkCount,r=(this.file.size-this.nextChunkRangeStart)/this.file.size/n,o=this.nextChunkRangeStart/this.file.size,i=e.loaded/(null!=(t=e.total)?t:this.chunkByteSize)*r;this.dispatch("progress",Math.min(100*(o+i),100))}};return new Promise(((n,r)=>{this.currentXhr=(0,Et.default)({...e,beforeSend:t},((e,t)=>(this.currentXhr=void 0,e?r(e):n(t))))}))}async sendChunk(e){let t=this.nextChunkRangeStart,n=t+e.size-1,r={...await("function"==typeof this.headers?this.headers():this.headers),"Content-Type":this.file.type,"Content-Range":`bytes ${t}-${n}/${this.file.size}`};return this.dispatch("attempt",{chunkNumber:this.chunkCount,totalChunks:this.totalChunks,chunkSize:this.chunkSize}),this.xhrPromise({headers:r,url:this.endpointValue,method:this.method,body:e})}async sendChunkWithRetries(e){let t;try{this.attemptCount=this.attemptCount+1,this.lastChunkStart=new Date,t=await this.sendChunk(e)}catch{}let n={retryCodes:this.retryCodes,attemptCount:this.attemptCount,attempts:this.attempts};return Rt(t)?(async(e,t)=>{var n;let r=((new Date).getTime()-this.lastChunkStart.getTime())/1e3;if(this.dispatch("chunkSuccess",{chunk:this.chunkCount,chunkSize:this.chunkSize,attempts:this.attemptCount,timeInterval:r,response:e}),this.attemptCount=0,this.chunkCount=(null!=(n=this.chunkCount)?n:0)+1,this.nextChunkRangeStart=this.nextChunkRangeStart+this.chunkByteSize,this.dynamicChunkSize){let e=this.chunkSize;r<10?e=Math.min(2*this.chunkSize,this.maxChunkSize):r>30&&(e=Math.max(this.chunkSize/2,this.minChunkSize)),this.chunkSize=256*Math.ceil(e/256);let t=(this.file.size-this.nextChunkRangeStart)/this.chunkByteSize;this.totalChunks=Math.ceil(this.chunkCount+t)}return!0})(t):Lt(t,n)?(async(e,t)=>(this.dispatch("error",{message:`Server responded with ${e.statusCode}. Stopping upload.`,chunk:this.chunkCount,attempts:this.attemptCount}),!1))(t):(async(t,n)=>(this.dispatch("attemptFailure",{message:`An error occured uploading chunk ${this.chunkCount}. ${this.attempts-this.attemptCount} retries left.`,chunkNumber:this.chunkCount,attemptsLeft:this.attempts-this.attemptCount}),new Promise((t=>{setTimeout((async()=>
1{if(this._paused||this.offline)return this.pendingChunk=e,void t(!1);let n=await this.sendChunkWithRetries(e);t(n)}),1e3*this.delayBeforeAttempt)}))))()}async sendChunks(){if(this.pendingChunk&&!this._paused&&!this.offline){let e=this.pendingChunk;this.pendingChunk=void 0;let t=await this.sendChunkWithRetries(e);this.success&&t&&this.dispatch("success")}for(;!(this.success||this._paused||this.offline);){let{value:e,done:t}=await this.chunkedStreamIterator.next(),n=!e&&t;if(e&&(n=await this.sendChunkWithRetries(e)),this.success=!!t,this.success&&n&&this.dispatch("success"),!n)return}}},Pt=(Dt.createUpload,n(11636)),It=n(40168);const Ft={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},Zt=e=>1e3*e,Nt=e=>e/1e3,Ht=()=>{},Bt=e=>e;function Vt(e,t=!0){if(e&&"finished"!==e.playState)try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(Ct){}}const zt=e=>e(),Ut=(e,t,n=Ft.duration)=>new Proxy({animations:e.map(zt).filter(Boolean),duration:n,options:t},Wt),Wt={get:(e,t)=>{const n=e.animations[0];switch(t){case"duration":return e.duration;case"currentTime":return Nt((null===n||void 0===n?void 0:n[t])||0);case"playbackRate":case"playState":return null===n||void 0===n?void 0:n[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map($t)).catch(Ht)),e.finished;case"stop":return()=>{e.animations.forEach((e=>Vt(e)))};case"forEachNative":return t=>{e.animations.forEach((n=>t(n,e)))};default:return"undefined"===typeof(null===n||void 0===n?void 0:n[t])?void 0:()=>e.animations.forEach((e=>e[t]()))}},set:(e,t,n)=>{switch(t){case"currentTime":n=Zt(n);case"currentTime":case"playbackRate":for(let r=0;r<e.animations.length;r++)e.animations[r][t]=n;return!0}return!1}},$t=e=>e.finished,qt=e=>"object"===typeof e&&Boolean(e.createAnimation),Gt=e=>"number"===typeof e,Yt=e=>
1Array.isArray(e)&&!Gt(e[0]),Kt=(e,t,n)=>-n*e+n*t+e,Xt=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function Jt(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Xt(0,t,r);e.push(Kt(n,1,o))}}const Qt=(e,t,n)=>Math.min(Math.max(n,e),t);function en(e,t=function(e){const t=[0];return Jt(t,e-1),t}(e.length),n=Bt){const r=e.length,o=r-t.length;return o>0&&Jt(t,o),o=>{let i=0;for(;i<r-2&&!(o<t[i+1]);i++);let a=Qt(0,1,Xt(t[i],t[i+1],o));const s=function(e,t){return Yt(e)?e[((e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e})(0,e.length,t)]:e}(n,i);return a=s(a),Kt(e[i],e[i+1],a)}}const tn=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function nn(e,t,n,r){if(e===t&&n===r)return Bt;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=tn(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:tn(o(e),t,r)}const rn=e=>"function"===typeof e,on=e=>Array.isArray(e)&&Gt(e[0]),an={ease:nn(.25,.1,.25,1),"ease-in":nn(.42,0,1,1),"ease-in-out":nn(.42,0,.58,1),"ease-out":nn(0,0,.58,1)},sn=/\((.*?)\)/;function un(e){if(rn(e))return e;if(on(e))return nn(...e);if(an[e])return an[e];if(e.startsWith("steps")){const t=sn.exec(e);if(t){const e=t[1].split(",");return((e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return Qt(0,1,o/e)})(parseFloat(e[0]),e[1].trim())}}return Bt}class ln{constructor(e,t=[0,1],{easing:n,duration:r=Ft.duration,delay:o=Ft.delay,endDelay:i=Ft.endDelay,repeat:a=Ft.repeat,offset:s,direction:u="normal"}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=Bt,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),n=n||Ft.easing,qt(n)){const e=n.createAnimation(t);n=e.easing,t=e.keyframes||t,r=e.duration||r}this.repeat=a,this.easing=Yt(n)?Bt:un(n),this.updateDuration(r);const l=en(t,s,Yt(n)?n.map(un):Bt);this.tick=t=>{var n;let r=0;r=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate,this.t=r,r/=1e3,r=Math.max(r-o,0),"finished"===this.playState&&void 0===this.pauseTime&&(r=this.totalDuration);const a=r/this.duration;let s=Math.floor(a),c=a%1;!c&&a>=1&&(c=1),1===c&&s--;const d=s%2;("reverse"===u||"alternate"===u&&d||"alternate-reverse"===u&&!d)&&(c=1-c);const f=r>=this.totalDuration?1:Math.min(c,1),h=l(this.easing(f));e(h);void 0===this.pauseTime&&("finished"===this.playState||r>=this.totalDuration+i)?(this.playState="finished",null===(n=this.resolve)||void 0===n||n.call(this,h)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},this.play()}play(){const e=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(e=this.reject)||void 0===e||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){void 0!==this.pauseTime||0===this.rate?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}class cn{setAnimation(e){this.animation=e,null===e||void 0===e||e.finished.then((()=>this.clearAnimation())).catch((()=>{}))}clearAnimation(){this.animation=this.generator=void 0}}const dn=new WeakMap;function fn(e){return dn.has(e)||dn.set(e,{transforms:[],values:new Map}),dn.get(e)}const hn=["","X","Y","Z"],pn={x:"translateX",y:"translateY",z:"translateZ"},gn={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},mn={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:gn,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:Bt},skew:gn},vn=new Map,yn=e=>`--motion-${e}`,bn=["x","y","z"];["translate","scale","rotate","skew"].forEach((e=>{hn.forEach((t=>{bn.push(e+t),vn.set(yn(e+t),mn[e])}))}));const wn=(e,t)=>bn.indexOf(e)-bn.indexOf(t),xn=new Set(bn),Cn=e=>xn.has(e),kn=e=>e.sort(wn).reduce(En,"").trim(),En=(e,t)=>`${e} ${t}(var(${yn(t)}))`,_n=e=>e.startsWith("--"),Sn=new Set;const jn=(e,t)=>document.createElement("div").animate(e,t),Mn={cssRegisterProperty:()=>"undefined"!==typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{jn({opacity:[1]})}catch(Ct){return!1}return!0},finished:()=>Boolean(jn({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{jn({opacity:0}
1,{easing:"linear(0, 1)"})}catch(Ct){return!1}return!0}},On={},An={};for(const ii in Mn)An[ii]=()=>(void 0===On[ii]&&(On[ii]=Mn[ii]()),On[ii]);const Tn=(e,t)=>rn(e)?An.linearEasing()?`linear(${((e,t)=>{let n="";const r=Math.round(t/.015);for(let o=0;o<r;o++)n+=e(Xt(0,r-1,o))+", ";return n.substring(0,n.length-2)})(e,t)})`:Ft.easing:on(e)?Rn(e):e,Rn=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`;function Ln(e){return pn[e]&&(e=pn[e]),Cn(e)?yn(e):e}const Dn=(e,t)=>{t=Ln(t);let n=_n(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&0!==n){const e=vn.get(t);e&&(n=e.initialValue)}return n},Pn=(e,t,n)=>{t=Ln(t),_n(t)?e.style.setProperty(t,n):e.style[t]=n};function In(e,t,n,r={},o){const i=window.__MOTION_DEV_TOOLS_RECORD,a=!1!==r.record&&i;let s,{duration:u=Ft.duration,delay:l=Ft.delay,endDelay:c=Ft.endDelay,repeat:d=Ft.repeat,easing:f=Ft.easing,persist:h=!1,direction:p,offset:g,allowWebkitAcceleration:m=!1}=r;const v=fn(e),y=Cn(t);let b=An.waapi();y&&((e,t)=>{pn[t]&&(t=pn[t]);const{transforms:n}=fn(e);var r,o;o=t,-1===(r=n).indexOf(o)&&r.push(o),e.style.transform=kn(n)})(e,t);const w=Ln(t),x=function(e,t){return e.has(t)||e.set(t,new cn),e.get(t)}(v.values,w),C=vn.get(w);return Vt(x.animation,!(qt(f)&&x.generator)&&!1!==r.record),()=>{const v=()=>{var t,n;return null!==(n=null!==(t=Dn(e,w))&&void 0!==t?t:null===C||void 0===C?void 0:C.initialValue)&&void 0!==n?n:0};let k=function(e,t){for(let n=0;n<e.length;n++)null===e[n]&&(e[n]=n?e[n-1]:t());return e}((e=>Array.isArray(e)?e:[e])(n),v);const E=function(e,t){var n;let r=(null===t||void 0===t?void 0:t.toDefaultUnit)||Bt;const o=e[e.length-1];if("string"===typeof o){const e=(null===(n=o.match(/(-?[\d.]+)([a-z%]*)/))||void 0===n?void 0:n[2])||"";e&&(r=t=>t+e)}return r}(k,C);if(qt(f)){const e=f.createAnimation(k,"opacity"!==t,v,w,x);f=e.easing,k=e.keyframes||k,u=e.duration||u}if(_n(w)&&(An.cssRegisterProperty()?function(e){if(!Sn.has(e)){Sn.add(e);try{const{syntax:t,initialValue:n}=vn.has(e)?vn.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(Ct){}}}(w):b=!1),y&&!An.linearEasing()&&(rn(f)||Yt(f)&&f.some(rn))&&(b=!1),b){C&&(k=k.map((e=>Gt(e)?C.toDefaultUnit(e):e))),1!==k.length||An.partialKeyframes()&&!a||k.unshift(v());const t={delay:Zt(l),duration:Zt(u),endDelay:Zt(c),easing:Yt(f)?void 0:Tn(f,u),direction:p,iterations:d+1,fill:"both"};s=e.animate({[w]:k,offset:g,easing:Yt(f)?f.map((e=>Tn(e,u))):void 0},t),s.finished||(s.finished=new Promise(((e,t)=>{s.onfinish=e,s.oncancel=t})));const n=k[k.length-1];s.finished.then((()=>{h||(Pn(e,w,n),s.cancel())})).catch(Ht),m||(s.playbackRate=1.000001)}else if(o&&y)k=k.map((e=>"string"===typeof e?parseFloat(e):e)),1===k.length&&k.unshift(parseFloat(v())),s=new o((t=>{Pn(e,w,E?E(t):t)}),k,Object.assign(Object.assign({},r),{duration:u,easing:f}));else{const t=k[k.length-1];Pn(e,w,C&&Gt(t)?C.toDefaultUnit(t):t)}return a&&i(e,t,k,{duration:u,delay:l,easing:f,repeat:d,offset:g},"motion-one"),x.setAnimation(s),s}}const Fn=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function Zn(e,t,n){return rn(e)?e(t,n):e}const Nn=(Hn=ln,function(e,t,n={}){const r=(e=function(e,t){var n;return"string"===typeof e?t?(null!==(n=t[e])&&void 0!==n||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}(e)).length;Boolean(r),Boolean(t);const o=[];for(let i=0;i<r;i++){const a=e[i];for(const e in t){const s=Fn(n,e);s.delay=Zn(s.delay,i,r);const u=In(a,e,t[e],s,Hn);o.push(u)}}return Ut(o,n,n.duration)});var Hn;function Bn(e,t={}){return Ut([()=>{const n=new ln(e,[0,1],t);return n.finished.catch((()=>{})),n}],t,t.duration)}function Vn(e,t,n){return(rn(e)?Bn:Nn)(e,t,n)}var zn=n(14141),Un=n(98235);const Wn=[];function $n(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;const r=e.length;if(t.length!==r)return!1;for(let o=0;o<r;o++)if(!n(e[o],t[o]))return!1;return!0}function qn(e,t,n=!1,r={}){for(const i of Wn)if($n(t,i.keys,i.equal)){if(n)return;if(Object.prototype.hasOwnProperty.call(i,"error"))throw i.error;if(Object.prototype.hasOwnProperty.call(i,"response"))return r.lifespan&&r.lifespan>0&&(i.timeout&&clearTimeout(i.timeout),i.timeout=setTimeout(i.remove,r.lifespan)),i.response;if(!n)throw i.promise}const o={keys:t,equal:r.equal,remove:()=>{const e=Wn.indexOf(o);-1!==e&&Wn.splice(e,1)},promise:e(...t).then((e=>{o.response=e,r.lifespan&&r.lifespan>0&&(o.timeout=setTimeout(o.remove,r.lifespan))})).catch((e=>o.error=e))};if(Wn.push(o),!n)throw o.promise}const Gn=(e,t,n)=>qn(e,t,!1,n),Yn=e=>{if(void 0===e||0===e.length)Wn.splice(0,Wn.length);else{const t=Wn.find((t=>$n(e,t.keys,t.equal)));t&&t.remove()}};var Kn=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).state={hasError:!1,error:null},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.getDerivedStateFromError=function(e){return{hasError:!0,error:e}};var o=r.prototype;return o.componentDidCatch=function(e,t){return this.props.onDidCatch(e,t)},o.render=function(){var e=this.state,t=this.props,n=t.render,r=t.children,o=t.renderError;return e.hasError?o?o({error:e.error}):null:n?n():r||null},r}(i.PureComponent),Xn=function(e,t){switch(t.type){case"catch":return{didCatch:!0,error:t.error};case"reset":return{didCatch:!1,error:null};default:return e}};function Jn(e){var t=(0,i.useReducer)(Xn,{didCatch:!1,error:null}),n=t[0],r=t[1],o=(0,i.useRef)(null);function a(){return t=function(t,n){r({type:"catch",error:t}),e&&e.onDidCatch&&e.onDidCatch(t,n)},function(e){return i.createElement(Kn,{onDidCatch:t,children:e.children,render:e.render,renderError:e.renderError})};var t}var s,u=(0,i.useCallback)((function(){o.current=a(),r({type:"reset"})}),[]);return{ErrorBoundary:(s=o.current,null!==s?s:(o.current=a(),o.current)),didCatch:n.didCatch,error:n.error,reset:u}}var Qn,er,tr,nr,rr,or,ir,ar,sr,ur,lr,cr,dr,fr,hr,pr,gr,mr,vr,yr,br,wr,xr=n(17423);function Cr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const kr=["assetId","data","playbackId","status","thumbTime","filename"];function Er(){return(0,r.m85)({apiVersion:"2022-09-14"})}const _r="mux-input",Sr="sanity-plugin-mux-input",jr=["token","secretKey","enableSignedUrls","signingKeyId","signingKeyPrivate"];function Mr(e,t,n){return new re.y((r=>{const o=Dt.createUpload({endpoint:t,file:n,dynamicChunkSize:!0});return o.on("success",(()=>{r.next({type:"success",id:e}),r.complete()}
1)),o.on("error",(e=>r.error(new Error(e.detail.message)))),o.on("progress",(e=>r.next({type:"progress",percent:e.detail}))),o.on("offline",(()=>{o.pause(),r.next({type:"pause",id:e})})),o.on("online",(()=>{o.resume(),r.next({type:"resume",id:e})})),()=>o.abort()}))}function Or(e,t){const{dataset:n}=e.config();return e.request({url:"/addons/mux/assets/".concat(n,"/").concat(t),withCredentials:!0,method:"DELETE"})}function Ar(e,t,n,r,o,i){const a={_id:"secrets.mux",_type:"mux.apiKey",token:t,secretKey:n,enableSignedUrls:r,signingKeyId:o,signingKeyPrivate:i};return e.createOrReplace(a)}function Tr(e){const{dataset:t}=e.config();return(0,oe.P)((()=>e.observable.request({url:"/addons/mux/secrets/".concat(t,"/test"),withCredentials:!0,method:"GET"})))}function Rr(e,t){return e.observable.request({url:"/addons/mux/uploads/".concat(e.config().dataset,"/").concat(t),withCredentials:!0,method:"DELETE"})}async function Lr(e,t){let n,r;try{n=await function(e,t){let n,r,o,i=0;return new Promise(((a,s)=>{n=setInterval((async()=>{try{o=await function(e,t){const{dataset:n}=e.config();return e.request({url:"/addons/mux/uploads/".concat(n,"/").concat(t),withCredentials:!0,method:"GET"})}(e,t)}catch(u){return void s(u)}r=o&&o.data&&o.data.asset_id,r&&(clearInterval(n),a(o)),i>10&&(clearInterval(n),s(new Error("Upload did not finish"))),i++}),2e3)}))}(e,t)}catch(i){return Promise.reject(i)}try{r=await function(e,t){const{dataset:n}=e.config();return e.request({url:"/addons/mux/assets/".concat(n,"/data/").concat(t),withCredentials:!0,method:"GET"})}(e,n.data.asset_id)}catch(i){return Promise.reject(i)}const o={_id:t,_type:"mux.videoAsset",status:r.data.status,data:r.data,assetId:r.data.id,playbackId:r.data.playback_ids[0].id,uploadId:n.data.id};return e.createOrReplace(o).then((()=>o))}function Dr(e){if("undefined"!==typeof window&&e instanceof window.File){const t=function(e,t){if("undefined"===typeof window||!(t instanceof window.File))return e;return{name:!1===e.preserveFilename?void 0:t.name,type:t.type}}({},e);return(0,ae.of)(t)}return(0,se._)(new Error("Invalid file"))}function Pr(e){const t=new Error("Invalid URL");if("string"!==typeof e)return(0,se._)(t);let n;try{n=new URL(e)}catch(r){return(0,se._)(t)}return n&&!n.protocol.match(/http:|https:/)?(0,se._)(t):(0,ae.of)(e)}function Ir(e){const t=Array.from(e.files||[]),n=Array.from(e.items||[]);return t&&t.length>0?Promise.resolve(t):function(e){return Promise.all(e.map((e=>{if("file"===e.kind&&e.webkitGetAsEntry){let n;try{n=e.webkitGetAsEntry()}catch(t){return[e.getAsFile()]}return n?n.isDirectory?Fr(n):[e.getAsFile()]:[]}if("file"===e.kind){const t=e.getAsFile();return Promise.resolve(t?[t]:[])}return new Promise((t=>e.getAsString(t))).then((t=>t?[new File([t],"unknown.txt",{type:e.type})]:[]))})))}(n).then((e=>e.flat()))}function Fr(e){if(function(e){return e.isFile}(e))return new Promise((t=>e.file(t))).then((e=>[e]));if(function(e){return e.isDirectory}(e)){const t=e.createReader();return new Promise((e=>t.readEntries(e))).then((e=>e.filter((e=>!e.name.startsWith("."))))).then((e=>Promise.all(e.map(Fr)).then((e=>e.flat()))))}return Promise.resolve([])}const Zr="secrets.mux";function Nr(e,t,r,o){const{signingKeyId:i,signingKeyPrivate:a}=function(e){const{projectId:t,dataset:n}=e.config();return Gn((async()=>{const t=await e.fetch("*[_id == $_id][0]{\n token,\n secretKey,\n enableSignedUrls,\n signingKeyId,\n signingKeyPrivate\n }",{_id:Zr});return{token:(null==t?void 0:t.token)||null,secretKey:(null==t?void 0:t.secretKey)||null,enableSignedUrls:Boolean(null==t?void 0:t.enableSignedUrls)||!1,signingKeyId:(null==t?void 0:t.signingKeyId)||null,signingKeyPrivate:(null==t?void 0:t.signingKeyPrivate)||null}}),[Sr,Zr,t,n])}(e);if(!i)throw new TypeError("Missing signingKeyId");if(!a)throw new TypeError("Missing signingKeyPrivate");const{default:s}=Gn((()=>Promise.all([n.e(642),n.e(167)]).then(n.bind(n,63167))),["jsonwebtoken-esm/sign"]);return s(o?JSON.parse(JSON.stringify(o,((e,t)=>null!=t?t:void 0))):{},atob(a),{algorithm:"RS256",keyid:i,audience:r,subject:t,noTimestamp:!0,expiresIn:"12h"})}function Hr(e){if(!(null==e?void 0:e.playbackId))throw console.error("Asset is missing a playbackId",{asset:e}),new TypeError("Missing playbackId");return e.playbackId}function Br(e){var t,n,r,o;return null!=(o=null==(r=null==(n=null==(t=e.data)?void 0:t.playback_ids)?void 0:n[0])?void 0:r.policy)?o:"public"}function Vr(e){let{asset:t,client:n,fit_mode:r,height:o,time:i=t.thumbTime,width:a}=e;const s={fit_mode:r,height:o,time:i,width:a},u=Hr(t);let l=new URLSearchParams(JSON.parse(JSON.stringify(s,((e,t)=>null!=t?t:void 0))));if("signed"===Br(t)){const e=Nr(n,u,"t",s);l=new URLSearchParams({token:e})}return"https://image.mux.com/".concat(u,"/thumbnail.png?").concat(l)}const zr={aspect:16/9},Ur=(0,i.memo)((function(e){let{alt:t,src:n,height:r,width:i,aspectRatio:a}=e;return Gn((async()=>{const e=new Image(i,r);e.decoding="async",e.src=n,await e.decode()}),["sanity-plugin-mux-input","image",n]),(0,o.jsx)("img",{alt:t,src:n,height:r,width:i,style:{aspectRatio:a}})})),Wr=(0,zn.ZP)(r.CnE)(Qn||(Qn=Cr(["\n img {\n object-fit: cover;\n }\n"]))),$r=e=>{let{solo:t}=e;return(0,o.jsxs)(Pt.gF,{space:1,style:{marginTop:t?"-1.35em":void 0,marginBottom:t?void 0:"0.35rem"},children:[(0,o.jsx)(It.mBM,{}),"Signed playback policy"]})},qr=e=>{let{asset:t,height:n,width:r,showTip:a}=e;const s=Er(),u=Vr({asset:t,client:s,height:n,width:r,fit_mode:"smartcrop"}),l=(0,i.useMemo)((()=>a&&"signed"===Br(t)?(0,o.jsx)($r,{solo:!0}):void 0),[t,a]);return(0,o.jsx)(Wr,{mediaDimensions:zr,subtitle:l,title:(0,o.jsx)(o.Fragment,{children:null}),media:(0,o.jsx)(Ur,{alt:"",src:u,height:n,width:r})})},Gr=(0,i.memo)((function(e){let{asset:t,width:n,showTip:r}=e;const{ErrorBoundary:a,didCatch:s,error:u}=Jn(),l=Math.round(9*n/16),c=(0,i.useMemo)((()=>r&&"signed"===Br(t)?(0,o.jsx)($r,{}):void 0),[r,t]);return s?(0,o.jsx)(Wr,{subtitle:u.message,mediaDimensions:zr,title:"Error when loading thumbnail",media:(0,o.jsx)(Pt.Zb,{radius:2,height:"fill",style:{position:"relative",width:"100%"},children:(0,o.jsx)(Pt.xu,{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",top:0,left:0,right:0,bottom:0},children:(0,o.jsx)(It.Tzq,{})})})}):(0,o.jsx)(a,{children:(0,o.jsx)(i.Suspense,{fallback:(0,o.jsx)(Wr,{isPlaceholder:!0,title:"Loading thumbnail...",subtitle:c,mediaDimensions:zr}),children:(0,o.jsx)(qr,{showTip:r,asset:t,height:l,width:n})})})}
1)),Yr=(0,zn.ZP)(r.CnE)(er||(er=Cr(["\n img {\n object-fit: contain;\n }\n"]))),Kr=e=>{let{asset:t,width:n}=e;const r=function(e){let{asset:t,client:n,height:r,width:o,start:i=(t.thumbTime?Math.max(0,t.thumbTime-2.5):0),end:a=i+5,fps:s=15}=e;const u={height:r,width:o,start:i,end:a,fps:s},l=Hr(t);let c=new URLSearchParams(JSON.parse(JSON.stringify(u,((e,t)=>null!=t?t:void 0))));if("signed"===Br(t)){const e=Nr(n,l,"g",u);c=new URLSearchParams({token:e})}return"https://image.mux.com/".concat(l,"/animated.gif?").concat(c)}({asset:t,client:Er(),width:n});return(0,o.jsx)(Yr,{withBorder:!1,mediaDimensions:zr,media:(0,o.jsx)(Ur,{alt:"",src:r,width:n,aspectRatio:"16:9"})})},Xr=(0,i.memo)((function(e){let{asset:t,width:n}=e;const{ErrorBoundary:r,didCatch:a}=Jn();return a?null:(0,o.jsx)(r,{children:(0,o.jsx)(i.Suspense,{fallback:(0,o.jsx)(Jr,{children:(0,o.jsx)(Wr,{mediaDimensions:zr,withBorder:!1,media:(0,o.jsx)(Pt.$j,{muted:!0})})}),children:(0,o.jsx)(Pt.Zb,{height:"fill",tone:"transparent",children:(0,o.jsx)(Kr,{asset:t,width:n})})})})})),Jr=(0,zn.ZP)(Pt.xu)(tr||(tr=Cr(["\n backdrop-filter: blur(8px) brightness(0.5) saturate(2);\n mix-blend-mode: color-dodge;\n"]))),Qr=(0,zn.ZP)(Pt.rj)(nr||(nr=Cr(["\n grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));\n"]))),eo=(0,zn.ZP)(Pt.Zb)(rr||(rr=Cr(["\n border-top: 1px solid var(--card-border-color);\n position: sticky;\n bottom: 0;\n z-index: 200;\n"])));function to(e){const{asset:t}=e,n=(0,i.useId)(),[r,a]=(0,i.useState)(),[s,u]=(0,i.useState)(!1),[l,c]=(0,i.useState)(null),d=(0,i.useCallback)((()=>a("confirm-delete")),[]),f=(0,i.useCallback)((()=>{a(!1),u(!0)}),[a]),h=(0,i.useCallback)((()=>{a(!1),u(!1)}),[a]);return(0,i.useEffect)((()=>{s&&r&&u(!1)}),[r,s]),(0,Pt.O8)((0,i.useCallback)((()=>u(!1)),[]),[l]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Pt.j2,{id:"".concat(n,"-asset-menu"),button:(0,o.jsx)(Pt.zx,{icon:It.zGg,mode:"ghost",onClick:f,padding:2}),menu:(0,o.jsx)(Pt.v2,{ref:c,children:(0,o.jsx)(Pt.sN,{tone:"critical",icon:It.XHJ,text:"Delete",onClick:d})}),portal:!0,placement:"right"}),"confirm-delete"===r&&(0,o.jsx)(no,{asset:t,onClose:h})]})}function no(e){const{asset:t,onClose:n}=e,r=Er(),{push:a}=(0,Pt.pm)(),[s,u]=(0,i.useState)(!1),[l,c]=(0,i.useState)(!1),d=(0,i.useId)(),f=200*(0,Un.x)({maxDpr:2}),h=(0,i.useCallback)((async()=>{var e,o,i;u(!0);try{(null==t?void 0:t._id)&&await r.delete(t._id),l&&(null==t?void 0:t.assetId)&&await Or(r,t.assetId),null==(i=null==(o=null==(e=document.querySelector('[data-id="'.concat(t._id,'"]')))?void 0:e.parentElement)?void 0:o.setAttribute)||i.call(o,"hidden","true")}catch(s){console.error("Failed during delete",s),a({closable:!0,description:null==s?void 0:s.message,duration:5e3,title:"Uncaught error",status:"error"})}finally{u(!1),n()}}),[t._id,t.assetId,r,l,n,a]);return(0,o.jsx)(Pt.Vq,{onClose:n,id:"".concat(d,"-confirm-delete"),header:"Delete video",footer:(0,o.jsxs)(Pt.rj,{padding:2,gap:2,columns:2,children:[(0,o.jsx)(Pt.zx,{mode:"bleed",text:"Cancel",onClick:n}),(0,o.jsx)(Pt.zx,{text:"Delete",tone:"critical",icon:It.XHJ,onClick:h,loading:s})]}),width:1,children:(0,o.jsx)(Pt.Kq,{paddingX:0,paddingY:0,space:1,children:(0,o.jsx)(Pt.Zb,{paddingX:[2,3,4],paddingY:[3,3,3,4],children:(0,o.jsxs)(Pt.rj,{columns:3,gap:3,children:[(0,o.jsx)(Pt.kC,{style:{gridColumn:"span 2"},align:"center",children:(0,o.jsx)(Pt.xu,{padding:4,children:(0,o.jsxs)(Pt.Kq,{space:4,children:[(0,o.jsxs)(Pt.kC,{align:"center",as:"label",children:[(0,o.jsx)(Pt.XZ,{checked:l,onChange:()=>c((e=>!e))}),(0,o.jsx)(Pt.xv,{style:{margin:"0 10px"},children:"Delete asset on Mux"})]}),(0,o.jsxs)(Pt.kC,{align:"center",as:"label",children:[(0,o.jsx)(Pt.XZ,{disabled:!0,checked:!0}),(0,o.jsx)(Pt.xv,{style:{margin:"0 10px"},children:"Delete video from dataset"})]})]})})}),(0,o.jsx)(Gr,{asset:t,width:f,showTip:!0})]})})})})}function ro(e){let{assets:t,isLoading:n,isLastPage:r,onSelect:a,onLoadMore:s}=e;const u=(0,i.useCallback)((e=>a(e.currentTarget.dataset.id)),[a]),l=(0,i.useCallback)((e=>{"Enter"===e.key&&a(e.currentTarget.dataset.id)}),[a]),c=200*(0,Un.x)({maxDpr:2});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(Pt.xu,{padding:4,children:[(0,o.jsx)(Qr,{gap:2,children:t.map((e=>(0,o.jsx)(oo,{asset:e,onClick:u,onKeyPress:l,width:c},e._id)))}),n&&0===t.length&&(0,o.jsx)(Pt.kC,{justify:"center",children:(0,o.jsx)(Pt.$j,{muted:!0}
1)}),!n&&0===t.length&&(0,o.jsx)(Pt.xv,{align:"center",muted:!0,children:"No videos"})]}),t.length>0&&!r&&(0,o.jsx)(eo,{tone:"default",padding:4,children:(0,o.jsx)(Pt.kC,{direction:"column",children:(0,o.jsx)(Pt.zx,{type:"button",icon:It._8t,loading:n,onClick:s,text:"Load more",tone:"primary"})})})]})}const oo=(0,i.memo)((e=>{let{asset:t,onClick:n,onKeyPress:r,width:a}=e;const[s,u]=(0,i.useState)(null),l=(0,i.useRef)(null);return(0,i.useLayoutEffect)((()=>{l.current&&null!==s&&Vn(l.current,s?{opacity:1}:{opacity:0})}),[s]),(0,o.jsxs)(Pt.xu,{height:"fill",style:{position:"relative"},children:[(0,o.jsxs)(Pt.Zb,{as:"button","data-id":t._id,onClick:n,onKeyPress:r,tabIndex:0,radius:2,padding:1,style:{lineHeight:0,position:"relative"},__unstable_focusRing:!0,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:[(0,o.jsx)(Gr,{asset:t,width:a,showTip:!0}),(null==t?void 0:t.playbackId)&&(0,o.jsx)(io,{tone:"transparent",ref:l,margin:1,radius:1,children:null!==s&&(0,o.jsx)(Xr,{asset:t,width:a})})]}),(0,o.jsx)(ao,{children:(0,o.jsx)(to,{asset:t})})]})})),io=(0,zn.ZP)(Pt.Zb)(or||(or=Cr(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n will-change: opacity;\n background: transparent;\n background-color: hsl(0deg 0% 0% / 33%);\n opacity: 0;\n pointer-events: none;\n"]))),ao=zn.ZP.div(ir||(ir=Cr(["\n box-sizing: border-box;\n position: absolute;\n z-index: 300;\n opacity: 0;\n top: 7px;\n right: 7px;\n\n button:hover + &,\n button:focus-visible + &,\n &:hover,\n &:focus-visible {\n opacity: 1;\n }\n"]))),so=200;function uo(e){let{asset:t,onChange:n,setDialogState:a}=e;const s=Er(),u=(0,i.useRef)(0),[l,c]=(0,i.useState)(!1),[d,f]=(0,i.useState)(!1),[h,p]=(0,i.useState)([]),g=(0,i.useCallback)((e=>{const t=e*so,n=t+so;return f(!0),s.fetch(function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:so;return'*[_type == "mux.videoAsset"] | order(_updatedAt desc) ['.concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"...").concat(e,"]")}(t,n)).then((e=>{c(e.length<so),p((t=>t.concat(e)))})).finally((()=>f(!1)))}),[s]),m=(0,i.useCallback)((e=>{const t=h.find((t=>t._id===e));if(!t)throw new TypeError("Failed to find video asset with id: ".concat(e));n(r._eo.from([(0,r.CbY)({asset:{}}),(0,r.t8m)({_type:"reference",_weak:!0,_ref:t._id},["asset"])])),a(!1)}),[h,n,a]),v=(0,i.useCallback)((()=>{g(++u.current)}),[g]);return(0,i.useEffect)((()=>{g(u.current)}),[g]),(0,o.jsx)(ro,{onSelect:m,assets:h,isLastPage:l,isLoading:d,onLoadMore:v})}function lo(e){let{setDialogState:t,asset:n,onChange:r}=e;const a="InputBrowser".concat((0,i.useId)()),s=(0,i.useCallback)((()=>t(!1)),[t]);return(0,o.jsx)(Pt.Vq,{scheme:"dark",__unstable_autoFocus:!0,header:"Select video",id:a,onClose:s,width:2,children:(0,o.jsx)(uo,{asset:n,onChange:r,setDialogState:t})})}var co,fo={},ho={get exports(){return fo},set exports(e){fo=e}},po={};function go(e){return"inset 0 0 0 ".concat(e.width,"px ").concat(e.color)}function mo(e){const{base:t,border:n,focusRing:r}=e,o=r.offset+r.width,i=0-r.offset,a=t?t.bg:"var(--card-bg-color)";return[i>0&&"inset 0 0 0 ".concat(i,"px var(--card-focus-ring-color)"),n&&go(n),i<0&&"0 0 0 ".concat(0-i,"px ").concat(a),o>0&&"0 0 0 ".concat(o,"px var(--card-focus-ring-color)")].filter(Boolean).join(",")}!function(e){e.exports=function(){if(co)return po;co=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case r:case i:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case u:case s:case l:case h:case f:case a:return e;default:return p}}case n:return p}}}return e=Symbol.for("react.module.reference"),po.ContextConsumer=s,po.
1ContextProvider=a,po.Element=t,po.ForwardRef=l,po.Fragment=r,po.Lazy=h,po.Memo=f,po.Portal=n,po.Profiler=i,po.StrictMode=o,po.Suspense=c,po.SuspenseList=d,po.isAsyncMode=function(){return!1},po.isConcurrentMode=function(){return!1},po.isContextConsumer=function(e){return g(e)===s},po.isContextProvider=function(e){return g(e)===a},po.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===t},po.isForwardRef=function(e){return g(e)===l},po.isFragment=function(e){return g(e)===r},po.isLazy=function(e){return g(e)===h},po.isMemo=function(e){return g(e)===f},po.isPortal=function(e){return g(e)===n},po.isProfiler=function(e){return g(e)===i},po.isStrictMode=function(e){return g(e)===o},po.isSuspense=function(e){return g(e)===c},po.isSuspenseList=function(e){return g(e)===d},po.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===r||t===i||t===o||t===c||t===d||t===p||"object"===typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===f||t.$$typeof===a||t.$$typeof===s||t.$$typeof===l||t.$$typeof===e||void 0!==t.getModuleId)},po.typeOf=g,po}()}(ho);const vo=(0,zn.ZP)(Pt.sN)((e=>{let{theme:t}=e;const{focusRing:n}=t.sanity,r=t.sanity.color.base;return(0,zn.iv)(ar||(ar=Cr(["\n position: relative;\n\n &:not([data-disabled='true']) {\n &:focus-within {\n box-shadow: ",";\n }\n }\n\n & input {\n overflow: hidden;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n position: absolute;\n min-width: 0;\n display: block;\n appearance: none;\n padding: 0;\n margin: 0;\n border: 0;\n opacity: 0;\n }\n "])),mo({base:r,border:{width:1,color:"var(--card-border-color)"},focusRing:n}))})),yo=i.forwardRef((function(e,t){const{icon:n,id:r,accept:a,capture:s,fontSize:u,multiple:l,onSelect:c,padding:d=3,space:f=3,textAlign:h,text:p,disabled:g,...m}=e,v=(0,i.useId)(),y=r||v,b=i.useCallback((e=>{c&&e.target.files&&c(Array.from(e.target.files))}),[c]),w=(0,o.jsxs)(Pt.kC,{align:"center",justify:"flex-start",padding:d,children:[n&&(0,o.jsx)(Pt.xu,{marginRight:p?f:void 0,children:(0,o.jsxs)(Pt.xv,{size:u,children:[(0,i.isValidElement)(n)&&n,fo.isValidElementType(n)&&(0,i.createElement)(n)]})}),p&&(0,o.jsx)(Pt.xv,{align:h,size:u,textOverflow:"ellipsis",children:p})]});return(0,o.jsxs)(vo,{...m,htmlFor:y,padding:0,fontSize:2,disabled:g,ref:t,children:[w,(0,o.jsx)("input",{"data-testid":"file-button-input",accept:a,capture:s,id:y,multiple:l,onChange:b,type:"file",value:"",disabled:g})]})})),bo=(0,zn.ZP)(Pt.Zb)(sr||(sr=Cr(["\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0.6;\n mix-blend-mode: screen;\n background: transparent;\n"]))),wo=(0,zn.ZP)(Pt.zx)(ur||(ur=Cr(["\n background: transparent;\n color: white;\n"])));var xo=(0,i.memo)((function(e){const{asset:t,readOnly:n,dialogState:a,setDialogState:s,onChange:u,onUpload:l}=e,[c,d]=(0,i.useState)(!1),[f,h]=(0,i.useState)(null),p=(0,i.useMemo)((()=>"signed"===Br(t)),[t]),g=(0,i.useCallback)((()=>u(r._eo.from((0,r.zNf)([])))),[u]);return(0,i.useEffect)((()=>{c&&a&&d(!1)}),[a,c]),(0,Pt.O8)((0,i.useCallback)((()=>d(!1)),[]),[f]),(0,o.jsxs)(Pt.gF,{space:1,padding:2,children:[p&&(0,o.jsx)(Pt.u,{content:(0,o.jsx)(Pt.xu,{padding:2,children:(0,o.jsx)(Pt.xv,{muted:!0,size:1,children:"Signed playback policy"})}),placement:"right",portal:!0,children:(0,o.jsx)(bo,{radius:2,margin:2,scheme:"dark",tone:"positive",children:(0,o.jsx)(wo,{icon:It.mBM,mode:"bleed",tone:"positive"})})}),!n&&(0,o.jsx)(Pt.zx,{icon:It.dY8,mode:"ghost",onClick:()=>s("edit-thumbnail")}),(0,o.jsx)(Pt.J2,{content:(0,o.jsxs)(Pt.v2,{ref:h,children:[(0,o.jsx)(Pt.xu,{padding:2,children:(0,o.jsx)(Pt.__,{muted:!0,size:1,children:"Replace"})}),(0,o.jsx)(yo,{accept:"video/*",icon:It.rG2,mode:"bleed",onSelect:l,text:"Upload",disabled:n,fontSize:2}),(0,o.jsx)(Pt.sN,{icon:It.W1M,text:"Browse",onClick:()=>s("select-video")}),(0,o.jsx)(Pt.R,{}),(0,o.jsx)(Pt.sN,{icon:It.BWR,text:"Configure API",onClick:()=>s("secrets")}),(0,o.jsx)(Pt.R,{}),(0,o.jsx)(Pt.sN,{tone:"critical",icon:It.X5P,text:"Clear field",onClick:g,disabled:n})]}),portal:!0,open:c,children:(0,o.jsx)(Pt.zx,{icon:It.zGg,mode:"ghost",onClick:()=>{s(!1),d(!0)}})})]})}));const Co=(ko=Pt.Zb,(0,zn.ZP)(ko)((e=>{const t={width:e.$border?1:0,color:"var(--card-border-color)"};
1return(0,zn.iv)(lr||(lr=Cr(["\n --card-focus-box-shadow: ",";\n\n border-radius: ",";\n outline: none;\n box-shadow: var(--card-focus-box-shadow);\n\n &:focus {\n --card-focus-box-shadow: ",";\n }\n "])),go(t),(0,Pt.hO)(e.theme.sanity.radius[1]),mo({base:e.theme.sanity.color.base,border:t,focusRing:e.theme.sanity.focusRing}))})));var ko;const Eo=(0,i.forwardRef)(((e,t)=>{let{children:n,tone:r,onPaste:a,onDrop:s,onDragEnter:u,onDragLeave:l,onDragOver:c}=e;const d=(0,i.useRef)(!1),f=(0,i.useRef)(null),h=(0,i.useCallback)((e=>{17!=e.keyCode&&91!=e.keyCode||(d.current=!0);d.current&&86==e.keyCode&&f.current.focus()}),[]),p=(0,i.useCallback)((e=>{17!=e.keyCode&&91!=e.keyCode||(d.current=!1)}),[]);return(0,o.jsxs)(Co,{tone:r,height:"fill",ref:t,padding:0,radius:2,shadow:0,tabIndex:0,onKeyDown:h,onKeyUp:p,onPaste:a,onDrop:s,onDragEnter:u,onDragLeave:l,onDragOver:c,children:[(0,o.jsx)(_o,{ref:f,onPaste:a}),n]})})),_o=zn.ZP.input.attrs({type:"text"})(cr||(cr=Cr(["\n position: absolute;\n border: 0;\n color: white;\n opacity: 0;\n\n &:focus {\n outline: none;\n }\n"]))),So=zn.ZP.input(dr||(dr=Cr(["\n overflow: hidden;\n width: 0.1px;\n height: 0.1px;\n opacity: 0;\n position: absolute;\n z-index: -1;\n"]))),jo=zn.ZP.label(fr||(fr=Cr(["\n position: relative;\n"]))),Mo=e=>{let{onSelect:t,...n}=e;const r="FileSelect".concat((0,i.useId)()),a=(0,i.useRef)(null),s=(0,i.useCallback)((e=>{t&&t(e.target.files)}),[t]),u=(0,i.useCallback)((()=>{var e;return null==(e=a.current)?void 0:e.click()}),[]);return(0,o.jsxs)(jo,{htmlFor:r,children:[(0,o.jsx)(So,{accept:"video/*",ref:a,tabIndex:0,type:"file",id:r,onChange:s,value:""}),(0,o.jsx)(Pt.zx,{onClick:u,mode:"default",tone:"primary",style:{width:"100%"},...n})]})},Oo=(0,zn.ZP)(Pt.Zb)(hr||(hr=Cr(["\n && {\n border-style: dashed;\n }\n"]))),Ao=(0,zn.ZP)(Pt.xu)(pr||(pr=Cr(["\n position: absolute;\n top: 0;\n right: 0;\n"])));function To(e){const{setDialogState:t,readOnly:n,onSelect:r,hovering:a,needsSetup:s}=e,u=(0,i.useCallback)((()=>t("select-video")),[t]),l=(0,i.useCallback)((()=>t("secrets")),[t]);return(0,o.jsx)(Pt.xu,{style:{padding:1,position:"relative"},height:"stretch",children:(0,o.jsxs)(Oo,{sizing:"border",height:"fill",tone:n?"transparent":"inherit",border:!0,padding:3,style:a?{borderColor:"transparent"}:void 0,children:[(0,o.jsx)(Ao,{padding:3,children:(0,o.jsx)(Pt.zx,{padding:3,radius:3,tone:s?"critical":void 0,onClick:l,icon:It.BWR,mode:"bleed"})}),(0,o.jsxs)(Pt.kC,{align:"center",justify:"space-between",gap:4,direction:["column","column","row"],paddingY:[2,2,0],sizing:"border",height:"fill",children:[(0,o.jsxs)(Pt.kC,{align:"center",justify:"center",gap:2,flex:1,children:[(0,o.jsx)(Pt.kC,{justify:"center",children:(0,o.jsx)(Pt.xv,{muted:!0,children:(0,o.jsx)(It.wt6,{})})}),(0,o.jsx)(Pt.kC,{justify:"center",children:(0,o.jsx)(Pt.xv,{size:1,muted:!0,children:"Drag video or paste URL here"})})]}),(0,o.jsxs)(Pt.gF,{space:2,children:[(0,o.jsx)(Mo,{mode:"ghost",tone:"default",icon:It.rG2,text:"Upload",onSelect:r}),(0,o.jsx)(Pt.zx,{mode:"ghost",icon:It.W1M,text:"Select",onClick:u})]})]})]})})}const Ro=(0,zn.ZP)(Pt.Zb)(gr||(gr=Cr(["\n min-height: 82px;\n box-sizing: border-box;\n"]))),Lo=(0,zn.ZP)(Pt.kC)(mr||(mr=Cr(["\n text-overflow: ellipsis;\n overflow: hidden;\n"]))),Do=(0,zn.ZP)(Pt.Kq)(vr||(vr=Cr(["\n position: relative;\n width: 60%;\n"]))),Po=(0,zn.ZP)(Pt.EK)(yr||(yr=Cr(["\n position: relative;\n width: 100%;\n\n code {\n overflow: hidden;\n text-overflow: ellipsis;\n position: relative;\n max-width: 200px;\n }\n"]))),Io=e=>{let{progress:t=100,onCancel:n,filename:i,text:a="Uploading"}=e;return(0,o.jsx)(Ro,{tone:"primary",padding:4,border:!0,height:"fill",children:(0,o.jsxs)(Lo,{align:"center",justify:"space-between",height:"fill",direction:"row",gap:2,children:[(0,o.jsxs)(Do,{children:[(0,o.jsx)(Pt.kC,{justify:"center",gap:[3,3,2,2],direction:["column","column","row"],children:(0,o.jsx)(Pt.xv,{size:1,children:(0,o.jsxs)(Pt.gF,{space:2,children:[a,(0,o.jsx)(Po,{size:1,children:i||"..."})]})})}
1),(0,o.jsx)(Pt.Zb,{marginTop:3,radius:5,shadow:1,children:(0,o.jsx)(r.ukE,{value:t})})]}),n?(0,o.jsx)(Pt.zx,{fontSize:2,text:"Cancel upload",mode:"ghost",tone:"critical",onClick:n}):null]})})},Fo=(0,i.lazy)((()=>n.e(154).then(n.bind(n,59154))));class Zo extends i.Component{constructor(){super(...arguments),this.state={isDraggingOver:!1,invalidPaste:!1,invalidFile:!1,uploadProgress:null,fileInfo:null,uuid:null,error:null,url:null},this.dragEnteredEls=[],this.ctrlDown=!1,this.upload=null,this.container=i.createRef(),this.handleProgress=e=>{this.setState({uploadProgress:e.percent})},this.onUpload=e=>{this.setState({uploadProgress:0,fileInfo:null,uuid:null}),this.upload=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Dr(n).pipe((0,ce.w)((o=>(0,ie.z)((0,ae.of)({type:"file",file:o}),Tr(t).pipe((0,ce.w)((o=>{if(!o||!o.status)return(0,se._)(new Error("Invalid credentials"));const i=(0,me.Z)(),{enableSignedUrls:a}=r,s={mp4_support:e.mp4_support,playback_policy:[a?"signed":"public"]};return(0,ie.z)((0,ae.of)({type:"uuid",uuid:i}),(0,oe.P)((()=>t.observable.request({url:"/addons/mux/uploads/".concat(t.config().dataset),withCredentials:!0,method:"POST",headers:{"MUX-Proxy-UUID":i,"Content-Type":"application/json"},body:s}))).pipe((0,de.z)((e=>Mr(i,e.upload.url,n).pipe((0,de.z)((e=>"success"!==e.type?(0,ae.of)(e):(0,ue.D)(Lr(t,i)).pipe((0,de.z)((t=>(0,ae.of)({...e,asset:t})))))),(0,fe.K)((e=>Rr(t,i).pipe((0,he.j)((0,se._)(e))))))))))})))))))}(this.props.config,this.props.client,e[0],{enableSignedUrls:this.props.secrets.enableSignedUrls}).pipe((0,pe.R)(this.onCancelUploadButtonClick$.pipe((0,ge.b)((()=>{this.state.uuid&&this.props.client.delete(this.state.uuid)}))))).subscribe({complete:()=>{this.setState({error:null,uploadProgress:null,uuid:null})},next:e=>{this.handleUploadEvent(e)},error:e=>{this.setState({error:e,uploadProgress:null,uuid:null})}})},this.handleUploadEvent=e=>{switch(e.type){case"success":return this.handleUploadSuccess(e.asset);case"progress":return this.handleProgress(e);case"file":return this.setState({fileInfo:e.file});case"uuid":return this.setState({uuid:e.uuid});case"url":return this.setState({url:e.url,uploadProgress:100});default:return null}},this.handleUploadSuccess=e=>{this.setState({uploadProgress:100}),this.props.onChange(r._eo.from([(0,r.CbY)({asset:{}}),(0,r.t8m)({_type:"reference",_weak:!0,_ref:e._id},["asset"])]))},this.handlePaste=e=>{const t=(e.clipboardData||window.clipboardData).getData("text"),n={enableSignedUrls:this.props.secrets.enableSignedUrls};this.upload=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Pr(n).pipe((0,ce.w)((n=>(0,ie.z)((0,ae.of)({type:"url",url:n}),Tr(t).pipe((0,ce.w)((o=>{if(!o||!o.status)return(0,se._)(new Error("Invalid credentials"));const i=(0,me.Z)(),{enableSignedUrls:a}=r,s={input:n,playback_policy:[a?"signed":"public"],mp4_support:e.mp4_support},u={muxBody:JSON.stringify(s),filename:n.split("/").slice(-1)[0]},l=t.config().dataset;return(0,oe.P)((()=>t.observable.request({url:"/addons/mux/assets/".concat(l),withCredentials:!0,method:"POST",headers:{"MUX-Proxy-UUID":i,"Content-Type":"application/json"},query:u}))).pipe((0,de.z)((e=>{const t=e&&e.results&&e.results[0]&&e.results[0].document||null;return t?(0,ae.of)({type:"success",id:i,asset:t}):(0,se._)(new Error("No asset document returned"))})))})))))))}(this.props.config,this.props.client,t,n).subscribe({complete:()=>{this.setState({error:null,uploadProgress:null,url:null})},next:e=>{this.handleUploadEvent(e)},error:e=>{let t;e.message.toLowerCase().match("invalid url")||(t=e),this.setState({invalidPaste:!0,error:t},(()=>{setTimeout((()=>{this.setState({invalidPaste:!1,uploadProgress:null})}),2e3)}))}})},this.handleDrop=e=>{this.setState({isDraggingOver:!1}),e.preventDefault(),e.stopPropagation(),Ir(e.nativeEvent.dataTransfer).then((e=>{e&&this.onUpload(e)}))},this.handleDragOver=e=>{e.preventDefault(),e.stopPropagation()},this.handleDragEnter=e=>{var t,n;e.stopPropagation(),this.dragEnteredEls.push(e.target),this.setState({isDraggingOver:!0});const r=null==(n=null==(t=e.dataTransfer.items)?void 0:t[0])?void 0:n.type;
1this.setState({invalidFile:!r.startsWith("video/")})},this.handleDragLeave=e=>{e.stopPropagation();const t=this.dragEnteredEls.indexOf(e.target);t>-1&&this.dragEnteredEls.splice(t,1),0===this.dragEnteredEls.length&&this.setState({isDraggingOver:!1})}}componentWillUnmount(){this.unSubscribeToUpload()}componentDidMount(){const e=new le.x;this.onCancelUploadButtonClick$=e.asObservable(),this.handleCancelUploadButtonClick=t=>e.next(t)}unSubscribeToUpload(){this.upload&&!this.upload.closed&&this.upload.unsubscribe()}render(){var e;if(null!==this.state.uploadProgress)return(0,o.jsx)(Io,{onCancel:this.handleCancelUploadButtonClick,progress:this.state.uploadProgress,filename:(null==(e=this.state.fileInfo)?void 0:e.name)||this.state.url});if(this.state.error)throw this.state.error;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Eo,{tone:this.state.isDraggingOver&&(this.state.invalidPaste||this.state.invalidFile)?"critical":this.state.isDraggingOver?"positive":void 0,onDrop:this.handleDrop,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDragEnter:this.handleDragEnter,onPaste:this.handlePaste,ref:this.container,children:this.props.asset?(0,o.jsx)(Fo,{readOnly:this.props.readOnly,asset:this.props.asset,onChange:this.props.onChange,dialogState:this.props.dialogState,setDialogState:this.props.setDialogState,buttons:(0,o.jsx)(xo,{asset:this.props.asset,dialogState:this.props.dialogState,setDialogState:this.props.setDialogState,onChange:this.props.onChange,onUpload:this.onUpload,readOnly:this.props.readOnly})}):(0,o.jsx)(To,{hovering:this.state.isDraggingOver,onSelect:this.onUpload,readOnly:this.props.readOnly,setDialogState:this.props.setDialogState,needsSetup:this.props.needsSetup})}),"select-video"===this.props.dialogState&&(0,o.jsx)(lo,{asset:this.props.asset,onChange:this.props.onChange,setDialogState:this.props.setDialogState})]})}}const No=(e,t)=>(0,i.useCallback)((async n=>{let{token:r,secretKey:o,enableSignedUrls:i}=n,{signingKeyId:a,signingKeyPrivate:s}=t;try{await Ar(e,r,o,i,a,s);const t=await function(e){const{dataset:t}=e.config();return e.request({url:"/addons/mux/secrets/".concat(t,"/test"),withCredentials:!0,method:"GET"})}(e);if(!(null==t?void 0:t.status)&&r&&o)throw new Error("Invalid secrets")}catch(u){throw console.error("Error while trying to save secrets:",u),u}if(i){const t=await async function(e,t,n){if(!t||!n)return!1;const{dataset:r}=e.config();try{const n=await e.request({url:"/addons/mux/signing-keys/".concat(r,"/").concat(t),withCredentials:!0,method:"GET"});return!(!n.data||!n.data.id)}catch(Ct){return console.error("Error fetching signingKeyId",t,"assuming it is not valid"),!1}}(e,a,s);if(!t)try{const{data:t}=await function(e){const{dataset:t}=e.config();return e.request({url:"/addons/mux/signing-keys/".concat(t),withCredentials:!0,method:"POST"})}(e);a=t.id,s=t.private_key,await Ar(e,r,o,i,a,s)}catch(u){throw console.log("Error while creating and saving signing key:",null==u?void 0:u.message),u}}return{token:r,secretKey:o,enableSignedUrls:i,signingKeyId:a,signingKeyPrivate:s}}),[e,t]);function Ho(e){let{token:t,secretKey:n,enableSignedUrls:r}=e;return{submitting:!1,error:null,token:null!=t?t:"",secretKey:null!=n?n:"",enableSignedUrls:null!=r&&r}}function Bo(e,t){switch(null==t?void 0:t.type){case"submit":return{...e,submitting:!0,error:null};case"error":return{...e,submitting:!1,error:t.payload};case"reset":return Ho(t.payload);case"change":return{...e,[t.payload.name]:t.payload.value};default:throw new Error("Unknown action type: ".concat(null==t?void 0:t.type))}}const Vo=["title","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r"];function zo(e){let{height:t=26}=e;const n=(0,i.useId)(),[r,a,s,u,l,c,d,f,h,p,g,m,v,y,b,w,x,C,k]=(0,i.useMemo)((()=>Vo.map((e=>"".concat(n,"-").concat(e)))),[n]);return(0,o.jsxs)("svg",{"aria-labelledby":r,role:"img",xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"92.08878326416016 102.66712188720703 692.76123046875 219.99948120117188",style:{height:"".concat(t,"px")},children:[(0,o.jsx)("title",{id:r,children:"Mux Logo"}),(0,o.jsxs)("defs",{children:[(0,o.jsxs)("linearGradient",{id:u,spreadMethod:"pad",gradientTransform:"matrix(528.38055 0 0 -528.38055 63.801 159.5)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:l,spreadMethod:"pad",gradientTransform:"matrix(523.66766 0 0 -523.66766 67.897 159.5)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}
1),(0,o.jsxs)("linearGradient",{id:f,spreadMethod:"pad",gradientTransform:"rotate(180 296.075 79.75) scale(524.84045)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:p,spreadMethod:"pad",gradientTransform:"matrix(524.84045 0 0 -524.84045 63.801 159.5)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:g,spreadMethod:"pad",gradientTransform:"matrix(523.08514 0 0 -523.08514 67.897 224.446)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:m,spreadMethod:"pad",gradientTransform:"matrix(524.84045 0 0 -524.84045 63.801 94.553)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:v,spreadMethod:"pad",gradientTransform:"matrix(524.84045 0 0 -524.84045 63.801 159.5)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:y,spreadMethod:"pad",gradientTransform:"matrix(524.84045 0 0 -524.84045 63.801 94.554)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:x,spreadMethod:"pad",gradientTransform:"matrix(521.97632 0 0 -521.97632 69.067 191.973)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:C,spreadMethod:"pad",gradientTransform:"matrix(523.09039 0 0 -523.09039 67.312 191.973)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsxs)("linearGradient",{id:k,spreadMethod:"pad",gradientTransform:"matrix(524.84045 0 0 -524.84045 63.801 159.5)",gradientUnits:"userSpaceOnUse",y2:0,x2:1,y1:0,x1:0,children:[(0,o.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#ff4e00"}}),(0,o.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#ff1791"}})]}),(0,o.jsx)("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:(0,o.jsx)("path",{d:"M0 319h657.706V0H0Z"})}),(0,o.jsx)("clipPath",{id:s,clipPathUnits:"userSpaceOnUse",children:(0,o.jsx)("path",{d:"M423.64 242h164.999V77H423.64Z"})}),(0,o.jsx)("clipPath",{id:c,clipPathUnits:"userSpaceOnUse",children:(0,o.jsx)("path",{d:"M0 319h657.706V0H0Z"})}),(0,o.jsx)("clipPath",{id:d,clipPathUnits:"userSpaceOnUse",children:(0,o.jsx)("path",{d:"M311.3 242h93.031V77H311.3Z"})}),(0,o.jsx)("clipPath",{id:h,clipPathUnits:"userSpaceOnUse",children:(0,o.jsx)("path",{d:"M198.96 242h35.106V77H198.96Z"})}),(0,o.jsx)("clipPath",{id:b,clipPathUnits:"userSpaceOnUse",children:(0,o.jsx)("path",{d:"M0 319h657.706V0H0Z"})}),(0,o.jsx)("clipPath",{id:w,clipPathUnits:"userSpaceOnUse",children:(0,o.jsx)("path",{d:"M69.067 242H169.12V141.947H69.067Z"})})]}),(0,o.jsx)("g",{clipPath:"url(#".concat(a,")"),transform:"matrix(1.33333 0 0 -1.33333 0 425.333)",children:(0,o.jsx)("g",{style:{opacity:.69999701},clipPath:"url(#".concat(s,")"),children:(0,o.jsx)("path",{style:{fill:"url(#".concat(u,")"),stroke:"none"},d:"M558.674 82.142c6.855-6.855 17.969-6.855 24.824 0 6.854 6.855 6.854 17.969 0 24.823L453.605 236.858c-6.855 6.855-17.969 6.855-24.824 0s-6.855-17.969 0-24.823z"})})}),(0,o.jsx)("path",{style:{fill:"url(#".concat(l,")"),stroke:"none"},d:"M558.674 236.858 428.781 106.966c-6.855-6.855-6.855-17.969 0-24.825 6.855-6.854 17.969-6.854 24.823 0l129.894 129.894c6.854 6.855 6.854 17.968 0 24.823A17.498 17.498 0 0 1 571.086 242a17.495 17.495 0 0 1-12.412-5.142",transform:"matrix(1.33333 0 0 -1.33333 0 425.333)"}),(0,o.jsxs)("g",{clipPath:"url(#".concat(c,")"),transform:"matrix(1.33333 0 0 -1.33333 0 425.333)",children:[(0,o.jsx)("g",{style:{opacity:.69999701},clipPath:"url(#".concat(d,")"),children:(0,o.jsx)("path",{style:{fill:"url(#".concat(f,")"),stroke:"none"},d:"M328.853 112.107c22.297 0 40.372 18.075 40.372 40.372v71.315c0 10.054 7.505 18.206 17.554 18.206 10.048 0 17.552-8.152 17.552-18.206v-71.315c0-41.686-33.793-75.479-75.478-75.479-9.694 0-17.553 7.859-17.553 17.554 0 9.694 7.859 17.553 17.553 17.553"})}),(0,o.jsx)("g",{style:{opacity:.69999701},clipPath:"url(#".concat(h,")"),children:(0,o.jsx)("path",{style:{fill:"url(#".concat(p,")"),stroke:"none"},d:"M216.513 242c-10.049 0-17.553-8.152-17.553-18.206V95.206c0-10.054 7.504-18.206 17.553-18.206 10.048 0 17.553 8.152 17.553 18.206v128.588c0 10.054-7.505 18.206-17.553 18.206"})})]}),(0,o.jsx)("path",{style:{fill:"url(#".concat(g,")"),stroke:"none"},d:"M369.225 224.447c0-9.694 7.859-17.553 17.553-17.553 9.695 0 17.553 7.859 17.553 17.553s-7.858 17.552-17.553 17.552c-9.694 0-17.553-7.858-17.553-17.552",transform:"matrix(1.33333 0 0 -1.33333 0 425.333)"}),(0,o.jsx)("path",{style:{fill:"url(#".concat(m,")"),stroke:"none"},d:"M553.532 94.554c0-9.695 7.859-17.554 17.553-17.554 9.695 0 17.554 7.859 17.554 17.554 0 9.694-7.859
117.552-17.554 17.552-9.694 0-17.553-7.858-17.553-17.552",transform:"matrix(1.33333 0 0 -1.33333 0 425.333)"}),(0,o.jsx)("path",{style:{fill:"url(#".concat(v,")"),stroke:"none"},d:"M69.067 223.794V95.206C69.067 85.152 76.571 77 86.62 77c10.048 0 17.553 8.152 17.553 18.206v128.588c0 10.055-7.505 18.205-17.553 18.205-10.049 0-17.553-8.15-17.553-18.205",transform:"matrix(1.33333 0 0 -1.33333 0 425.333)"}),(0,o.jsx)("path",{style:{fill:"url(#".concat(y,")"),stroke:"none"},d:"M198.96 94.554c0-9.695 7.859-17.554 17.553-17.554 9.695 0 17.554 7.859 17.554 17.554 0 9.694-7.859 17.553-17.554 17.553-9.694 0-17.553-7.859-17.553-17.553",transform:"matrix(1.33333 0 0 -1.33333 0 425.333)"}),(0,o.jsx)("g",{clipPath:"url(#".concat(b,")"),transform:"matrix(1.33333 0 0 -1.33333 0 425.333)",children:(0,o.jsx)("g",{style:{opacity:.69999701},clipPath:"url(#".concat(w,")"),children:(0,o.jsx)("path",{style:{fill:"url(#".concat(x,")"),stroke:"none"},d:"M139.155 147.088c6.855-6.855 17.969-6.855 24.824 0s6.855 17.969 0 24.824l-64.947 64.946c-6.855 6.855-17.969 6.855-24.824 0s-6.855-17.969 0-24.823z"})})}),(0,o.jsx)("path",{style:{fill:"url(#".concat(C,")"),stroke:"none"},d:"m204.101 236.858-64.947-64.946c-6.854-6.855-6.854-17.969 0-24.824 6.856-6.855 17.97-6.855 24.824 0l64.947 64.947c6.855 6.855 6.855 17.968 0 24.823A17.495 17.495 0 0 1 216.513 242a17.498 17.498 0 0 1-12.412-5.142",transform:"matrix(1.33333 0 0 -1.33333 0 425.333)"}),(0,o.jsx)("path",{style:{fill:"url(#".concat(k,")"),stroke:"none"},d:"M253.374 223.794v-71.315c0-41.685 33.793-75.479 75.479-75.479 9.695 0 17.553 7.859 17.553 17.554 0 9.694-7.858 17.553-17.553 17.553-22.297 0-40.372 18.075-40.372 40.372v71.315c0 10.055-7.505 18.205-17.554 18.205s-17.553-8.15-17.553-18.205",transform:"matrix(1.33333 0 0 -1.33333 0 425.333)"})]})}const Uo=zn.ZP.span(br||(br=Cr(["\n display: inline-block;\n height: 0.8em;\n margin-right: 1em;\n transform: translate(0.3em, -0.2em);\n"]))),Wo=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(Uo,{children:(0,o.jsx)(zo,{height:13})}),"API Credentials"]});var $o=(0,i.memo)((function(e){const{children:t,title:n,description:r,inputId:i}=e;return(0,o.jsxs)(Pt.Kq,{space:1,children:[(0,o.jsx)(Pt.kC,{align:"flex-end",children:(0,o.jsx)(Pt.xu,{flex:1,paddingY:2,children:(0,o.jsx)(Pt.Kq,{space:2,children:(0,o.jsxs)(Pt.kC,{children:[(0,o.jsx)(Pt.xv,{as:"label",htmlFor:i,weight:"semibold",size:1,children:n||(0,o.jsx)("em",{children:"Untitled"})}),r&&(0,o.jsx)(Pt.xv,{muted:!0,size:1,children:r})]})})})}),(0,o.jsx)("div",{children:t})]})}));const qo=["token","secretKey","enableSignedUrls"];var Go=(0,i.memo)((function(e){let{secrets:t,setDialogState:n}=e;var r,a;const s=Er(),[u,l]=(e=>(0,i.useReducer)(Bo,e,Ho))(t),c=(0,i.useMemo)((()=>t.token&&t.secretKey),[t]),d=(0,i.useCallback)((()=>n(!1)),[n]),f=(0,i.useMemo)((()=>t.token!==u.token||t.secretKey!==u.secretKey||t.enableSignedUrls!==u.enableSignedUrls),[t,u]),h="ConfigureApi".concat((0,i.useId)()),[p,g,m]=(0,i.useMemo)((()=>qo.map((e=>"".concat(h,"-").concat(e)))),[h]),v=(0,i.useRef)(null),y=No(s,t),b=(0,i.useRef)(!1),w=(0,i.useCallback)((e=>{if(e.preventDefault(),!b.current&&e.currentTarget.reportValidity()){b.current=!0,l({type:"submit"});const{token:e,secretKey:t,enableSignedUrls:r}=u;y({token:e,secretKey:t,enableSignedUrls:r}).then((e=>{const{projectId:t,dataset:r}=s.config();var o;Yn([Sr,Zr,t,r]),qn((()=>Promise.resolve(e)),[Sr,Zr,t,r],!0,o),n(!1)})).catch((e=>l({type:"error",payload:e.message}))).finally((()=>{b.current=!1}))}}),[s,l,y,n,u]),x=(0,i.useCallback)((e=>{l({type:"change",payload:{name:"token",value:e.currentTarget.value}})}),[l]),C=(0,i.useCallback)((e=>{l({type:"change",payload:{name:"secretKey",value:e.currentTarget.value}})}),[l]),k=(0,i.useCallback)((e=>{l({type:"change",payload:{name:"enableSignedUrls",value:e.currentTarget.checked}})}),[l]);return(0,i.useEffect)((()=>{v.current&&v.current.focus()}),[v]),(0,o.jsx)(Pt.Vq,{id:h,onClose:d,header:(0,o.jsx)(Wo,{}),width:0,children:(0,o.jsx)(Pt.xu,{padding:4,style:{position:"relative"},children:(0,o.jsx)("form",{onSubmit:w,noValidate:!0,children:(0,o.jsxs)(Pt.Kq,{space:4,children:[!c&&(0,o.jsx)(Pt.Zb,{padding:[3,3,3],radius:2,shadow:1,tone:"primary",children:(0,o.jsxs)(Pt.Kq,{space:3,children:[(0,o.jsxs)(Pt.xv,{size:1,children:["To set up a new access token, go to your"," ",(0,o.jsx)("a",{href:"https://dashboard.mux.com/settings/access-tokens",target:"_blank",rel:"noreferrer noopener",children:"account on mux.com"}),"."]}),(0,o.jsxs)(Pt.xv,{size:1,children:["The access token needs permissions: ",(0,o.jsx)("strong",{children:"Mux Video "}),"(Full Access) and ",(0,o.jsx)("strong",{children:"Mux Data"})," (Read)",(0,o.jsx)("br",{}),"The credentials will be stored safely in a hidden document only available to editors."]})]})}),(0,o.jsx)($o,{title:"Access Token",inputId:p,children:(0,o.jsx)(Pt.oi,{id:p,ref:v,onChange:x,type:"text",value:null!=(r=u.token)?r:"",required:!!u.secretKey||u.enableSignedUrls})}),(0,o.jsx)($o,{title:"Secret Key",inputId:g,children:(0,o.jsx)(Pt.oi,{id:g,onChange:C,type:"text",value:null!=(a=u.secretKey)?a:"",required:!!u.token||u.enableSignedUrls})}),(0,o.jsxs)(Pt.Kq,{space:4,children:[(0,o.jsxs)(Pt.kC,{align:"center",children:[(0,o.jsx)(Pt.XZ,{id:m,onChange:k,checked:u.enableSignedUrls,style:{display:"block"}}),(0,o.jsx)(Pt.xu,{flex:1,paddingLeft:3,children:(0,o.jsx)(Pt.xv,{children:(0,o.jsx)("label",{htmlFor:m,children:"Enable Signed Urls"})})})]}),t.signingKeyId&&u.enableSignedUrls?(0,o.jsx)(Pt.Zb,{padding:[3,3,3],radius:2,shadow:1,tone:"caution",children:(0,o.jsxs)(Pt.Kq,{space:3,children:[(0,o.jsx)(Pt.xv,{size:1,children:"The signing key ID that Sanity will use is:"}),(0,o.jsx)(Pt.EK,{size:1,children:t.signingKeyId}),(0,o.jsxs)(Pt.xv,{size:1,children:["This key is only used for previewing content in the Sanity UI.",(0,o.jsx)("br",{}),"You should generate a different key to use in your application server."]})]})}):null]}),(0,o.jsxs)(Pt.gF,{space:2,children:[(0,o.jsx)(Pt.zx,{text:"Save",disabled:!f,loading:u.submitting,tone:"primary",mode:"default",type:"submit"}),(0,o.jsx)(Pt.zx,{disabled:u.submitting,text:"Cancel",mode:"bleed",onClick:d})]}),u.error&&(0,o.jsx)(Pt.Zb,{padding:[3,3,3],radius:2,shadow:1,tone:"critical",children:(0,o.jsx)(Pt.xv,{children:u.error})})]})})})})}));var Yo=(0,i.memo)((function(e){const{children:t,schemaType:n}=e,{push:r}=(0,Pt.pm)(),a=(0,i.useRef)(null),{ErrorBoundary:s,didCatch:u,error:l,reset:c}=Jn({onDidCatch:(e,t)=>{console.group(e.toString()),console.groupCollapsed("console.error"),console.error(e),console.groupEnd(),e.stack&&(console.groupCollapsed("error.stack"),console.log(e.stack),console.groupEnd()),(null==t?void 0:t.componentStack)&&(console.groupCollapsed("errorInfo.componentStack"),console.log(t.componentStack),console.groupEnd()),c
1onsole.groupEnd(),r({status:"error",title:"Plugin crashed",description:(0,o.jsx)(Pt.kC,{align:"center",children:(0,o.jsxs)(Pt.gF,{space:1,children:["An error happened while rendering",(0,o.jsx)(Pt.zx,{padding:1,fontSize:1,style:{transform:"translateY(1px)"},mode:"ghost",text:n.title,onClick:()=>{a.current&&(0,xr.Z)(a.current,{behavior:"smooth",scrollMode:"if-needed",block:"center"})}})]})})})}}),d=(0,i.useCallback)((()=>{Yn([_r]),c()}),[c]);return u?(0,o.jsx)(Pt.Zb,{ref:a,paddingX:[2,3,4,4],height:"fill",shadow:1,overflow:"auto",children:(0,o.jsx)(Pt.kC,{justify:"flex-start",align:"center",height:"fill",children:(0,o.jsxs)(Pt.rj,{columns:1,gap:[2,3,4,4],children:[(0,o.jsxs)(Pt.X6,{as:"h1",children:["The ",(0,o.jsx)("code",{children:_r})," plugin crashed"]}),(null==l?void 0:l.message)&&(0,o.jsx)(Pt.Zb,{padding:3,tone:"critical",shadow:1,radius:2,children:(0,o.jsx)(Pt.xv,{children:l.message})}),(0,o.jsx)(Pt.gF,{children:(0,o.jsx)(Pt.zx,{onClick:d,text:"Retry"})})]})})}):(0,o.jsx)(s,{children:t})}));const Ko=(0,zn.ZP)(Pt.Zb)(wr||(wr=Cr(["\n aspect-ratio: 16 / 9;\n position: relative;\n width: 100%;\n"]))),Xo=()=>(0,o.jsx)("div",{style:{padding:1},children:(0,o.jsx)(Pt.Zb,{shadow:1,sizing:"border",style:{aspectRatio:"16/9",width:"100%",borderRadius:"1px"},children:(0,o.jsxs)(Pt.kC,{align:"center",direction:"column",height:"fill",justify:"center",children:[(0,o.jsx)(Pt.$j,{muted:!0}),(0,o.jsx)(Pt.xu,{marginTop:3,children:(0,o.jsx)(Pt.xv,{align:"center",muted:!0,size:1,children:"Loading\u2026"})})]})})});function Jo(e){const{setDialogState:t}=e,n=(0,i.useCallback)((()=>t("secrets")),[t]);return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{style:{padding:2},children:(0,o.jsx)(Pt.Zb,{display:"flex",sizing:"border",style:{aspectRatio:"16/9",width:"100%",boxShadow:"var(--card-bg-color) 0 0 0 2px"},paddingX:[2,3,4,4],radius:1,tone:"transparent",children:(0,o.jsx)(Pt.kC,{justify:"flex-start",align:"center",children:(0,o.jsxs)(Pt.rj,{columns:1,gap:[2,3,4,4],children:[(0,o.jsx)(Pt.gF,{paddingY:1,children:(0,o.jsx)("div",{style:{height:"32px"},children:(0,o.jsx)(zo,{})})}),(0,o.jsx)(Pt.gF,{paddingY:1,children:(0,o.jsx)(Pt.X6,{size:[0,1,2,2],children:"Upload and preview videos directly from your studio."})}),(0,o.jsx)(Pt.gF,{paddingY:1,children:(0,o.jsx)(Pt.zx,{mode:"ghost",icon:It.BWR,text:"Configure API",onClick:n})})]})})})})})}var Qo=(0,i.memo)((e=>{var t;const n=Er(),a=(()=>{const{error:e,isLoading:t,value:n}=(0,r.Dtv)("secrets.mux",jr);return{error:e,isLoading:t,value:(0,i.useMemo)((()=>{const e=Boolean(n),t={token:(null==n?void 0:n.token)||null,secretKey:(null==n?void 0:n.secretKey)||null,enableSignedUrls:(null==n?void 0:n.enableSignedUrls)||!1,signingKeyId:(null==n?void 0:n.signingKeyId)||null,signingKeyPrivate:(null==n?void 0:n.signingKeyPrivate)||null};return{isInitialSetup:!e,needsSetup:!(null==t?void 0:t.token)||!(null==t?void 0:t.secretKey),secrets:t}}),[n])}})(),s=(u=null==(t=e.value)?void 0:t.asset,(0,r.Dtv)((0,r.YkG)(u)?u._ref:"",kr));var u;const l=(e=>{var t,n;const o=Er(),a=(0,r.vpR)(),s=(0,r.p9V)(),u=(0,i.useMemo)((()=>{var t,n;return!!(null==e?void 0:e.assetId)&&("preparing"===(null==e?void 0:e.status)||"preparing"===(null==(n=null==(t=null==e?void 0:e.data)?void 0:t.static_renditions)?void 0:n.status))}),[null==e?void 0:e.assetId,null==(n=null==(t=null==e?void 0:e.data)?void 0:t.static_renditions)?void 0:n.status,null==e?void 0:e.status]);return te(u?"/".concat(a,"/addons/mux/assets/").concat(s,"/data/").concat(null==e?void 0:e.assetId):null,(async()=>{const{data:t}=await o.request({url:"/addons/mux/assets/".concat(s,"/data/").concat(e.assetId),withCredentials:!0,method:"GET"});o.patch(e._id).set({status:t.status,data:t}).commit({returnDocuments:!1})}),{refreshInterval:2e3,refreshWhenHidden:!0,dedupingInterval:1e3})})(e.readOnly?void 0:(null==s?void 0:s.value)||void 0),[c,d]=(0,i.useState)(!1),f=a.error||s.error||l.error;if(f)throw f;const h=a.isLoading||s.isLoading;return(0,o.jsx)(Ko,{children:(0,o.jsx)(Yo,{schemaType:e.schemaType,children:(0,o.jsx)(i.Suspense,{fallback:(0,o.jsx)(Xo,{}),children:h?(0,o.jsx)(Xo,{}):(0,o.jsxs)(o.Fragment,{children:[a.value.needsSetup&&!s.value?(0,o.jsx)(Jo,{setDialogState:d}):(0,o.jsx)(Zo,{...e,config:e.config,onChange:e.onChange,client:n,secrets:a.value.secrets,asset:s.value,dialogState:c,setDialogState:d,needsSetup:a.value.needsSetup}),"secrets"===c&&(0,o.jsx)(Go,{setDialogState:d,secrets:a.value.secrets})]})})})})}));function ei(e){return{components:{input:t=>(0,o.jsx)(Qo,{config:e,...t})},preview:{select:{filename:"asset.filename",playbackId:"asset.playbackId",status:"asset.status",assetId:"asset.assetId",thumbTime:"asset.thumbTime",data:"asset.data"},prepare:e=>{const{filename:t,playbackId:n,status:r}=e;return{title:t||n||"",subtitle:r?"status: ".concat(r):null,media:e.playbackId?(0,o.jsx)(Gr,{asset:e,width:64}):null}}}}}const ti={name:"mux.video",type:"object",title:"Video asset reference",fields:[{title:"Video",name:"asset",type:"reference",weak:!0,to:[{type:"mux.videoAsset"}]}]},ni={name:"mux.videoAsset",type:"object",title:"Video asset",fields:[{type:"string",name:"status"},{type:"string",name:"assetId"},{type:"string",name:"playbackId"},{type:"string",name:"filename"},{type:"number",name:"thumbTime"}]},ri={mp4_support:"none"},oi=(0,r.Cw0)((e=>{const t={...ri,...e};return{name:"mux-input",schema:{types:[ni,{...ti,...ei(t)}]}}}))},17423:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});const r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>
1(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},a=(e,t,n,r,o,i,a,s)=>i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0,s=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},u=(e,t)=>{var n,o,u,l;if("undefined"==typeof document)return[];const{scrollMode:c,block:d,inline:f,boundary:h,skipOverflowHiddenElements:p}=t,g="function"==typeof h?h:e=>e!==h;if(!r(e))throw new TypeError("Invalid target");const m=document.scrollingElement||document.documentElement,v=[];let y=e;for(;r(y)&&g(y);){if(y=s(y),y===m){v.push(y);break}null!=y&&y===document.body&&i(y)&&!i(document.documentElement)||null!=y&&i(y,p)&&v.push(y)}const b=null!=(o=null==(n=window.visualViewport)?void 0:n.width)?o:innerWidth,w=null!=(l=null==(u=window.visualViewport)?void 0:u.height)?l:innerHeight,{scrollX:x,scrollY:C}=window,{height:k,width:E,top:_,right:S,bottom:j,left:M}=e.getBoundingClientRect();let O="start"===d||"nearest"===d?_:"end"===d?j:_+k/2,A="center"===f?M+E/2:"end"===f?S:M;const T=[];for(let r=0;r<v.length;r++){const e=v[r],{height:t,width:n,top:o,right:i,bottom:s,left:u}=e.getBoundingClientRect();if("if-needed"===c&&_>=0&&M>=0&&j<=w&&S<=b&&_>=o&&j<=s&&M>=u&&S<=i)return T;const l=getComputedStyle(e),h=parseInt(l.borderLeftWidth,10),p=parseInt(l.borderTopWidth,10),g=parseInt(l.borderRightWidth,10),y=parseInt(l.borderBottomWidth,10);let R=0,L=0;const D="offsetWidth"in e?e.offsetWidth-e.clientWidth-h-g:0,P="offsetHeight"in e?e.offsetHeight-e.clientHeight-p-y:0,I="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,F="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(m===e)R="start"===d?O:"end"===d?O-w:"nearest"===d?a(C,C+w,w,p,y,C+O,C+O+k,k):O-w/2,L="start"===f?A:"center"===f?A-b/2:"end"===f?A-b:a(x,x+b,b,h,g,x+A,x+A+E,E),R=Math.max(0,R+C),L=Math.max(0,L+x);else{R="start"===d?O-o-p:"end"===d?O-s+y+P:"nearest"===d?a(o,s,t,p,y+P,O,O+k,k):O-(o+t/2)+P/2,L="start"===f?A-u-h:"center"===f?A-(u+n/2)+D/2:"end"===f?A-i+g+D:a(u,i,n,h,g+D,A,A+E,E);const{scrollLeft:r,scrollTop:l}=e;R=Math.max(0,Math.min(l+R/F,e.scrollHeight-t/F+P)),L=Math.max(0,Math.min(r+L/I,e.scrollWidth-n/I+D)),O+=l-R,A+=r-L}T.push({el:e,top:R,left:L})}return T};function l(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(u(e,t));const n="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:r,top:o,left:i}of u(e,(e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"})(t)))r.scroll({top:o,left:i,behavior:n})}},9095:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(67294),o=(()=>{try{return!0}catch(e){return!1}})(),i=()=>{try{return Boolean(o&&void 0)}catch(e){return!1}};function a(e){if(i)return function(e){(0,r.useEffect)((()=>{0}),[e])}(e)}},1604:function(e,t,n){"use strict";var r,o;n.d(t,{IX:function(){return be},Ry:function(){return we},Z_:function(){return ye}}),function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter((e=>"number"!==typeof t[t[e]])),r={};for(const e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]})),e.objectKeys="function"===typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const n of e)if(t(n))return n},e.isInteger="function"===typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"===typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map((e=>"string"===typeof e?`'${e}'`:e)).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"===typeof t?t.toString():t}(r||(r={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(o||(o={}));const i=r.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),a=e=>{switch(typeof e){case"undefined":return i.undefined;case"string":return i.string;case"number":return isNaN(e)?i.nan:i.number;case"boolean":return i.boolean;case"function":return i.function;case"bigint":return i.bigint;case"symbol":return i.symbol;case"object":return Array.isArray(e)?i.array:null===e?i.null:e.then&&"function"===typeof e.then&&e.catch&&"function"===typeof e.catch?i.promise:"undefined"!==typeof Map&&e instanceof Map?i.map:"undefined"!==typeof Set&&e instanceof Set?i.set
vendor: 4,522 bytes, line 1
1:"undefined"!==typeof Date&&e instanceof Date?i.date:i.object;default:return i.unknown}},s=r.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class u extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(const o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(r);else if("invalid_return_type"===o.code)r(o.returnTypeError);else if("invalid_arguments"===o.code)r(o.argumentsError);else if(0===o.path.length)n._errors.push(t(o));else{let e=n,r=0;for(;r<o.path.length;){const n=o.path[r];r===o.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(o))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}toString(){return this.message}get message(){return JSON.stringify(this.issues,r.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=(e=>e.message)){const t={},n=[];for(const r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}u.create=e=>new u(e);const l=(e,t)=>{let n;switch(e.code){case s.invalid_type:n=e.received===i.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case s.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,r.jsonStringifyReplacer)}`;break;case s.unrecognized_keys:n=`Unrecognized key(s) in object: ${r.joinValues(e.keys,", ")}`;break;case s.invalid_union:n="Invalid input";break;case s.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${r.joinValues(e.options)}`;break;case s.invalid_enum_value:n=`Invalid enum value. Expected ${r.joinValues(e.options)}, received '${e.received}'`;break;case s.invalid_arguments:n="Invalid function arguments";break;case s.invalid_return_type:n="Invalid function return type";break;case s.invalid_date:n="Invalid date";break;case s.invalid_string:"object"===typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"===typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:r.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case s.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case s.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case s.custom:n="Invalid input";break;case s.invalid_intersection_types:n="Intersection results could not be merged";break;case s.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case s.not_finite:n="Number must be finite";break;default:n=t.defaultError,r.assertNever(e)}return{message:n}};let c=l;function d(){return c}const f=e=>
1{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],a={...o,path:i};let s="";const u=r.filter((e=>!!e)).slice().reverse();for(const l of u)s=l(a,{data:t,defaultError:s}).message;return{...o,path:i,message:o.message||s}};function h(e,t){const n=f({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,d(),l].filter((e=>!!e))});e.common.issues.push(n)}class p{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const r of t){if("aborted"===r.status)return g;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const r of t)n.push({key:await r.key,value:await r.value});return p.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const r of t){const{key:t,value:o}=r;if("aborted"===t.status)return g;if("aborted"===o.status)return g;"dirty"===t.status&&e.dirty(),"dirty"===o.status&&e.dirty(),("undefined"!==typeof o.value||r.alwaysSet)&&(n[t.value]=o.value)}return{status:e.value,value:n}}}const g=Object.freeze({status:"aborted"}),m=e=>({status:"dirty",value:e}),v=e=>({status:"valid",value:e}),y=e=>"aborted"===e.status,b=e=>"dirty"===e.status,w=e=>"valid"===e.status,x=e=>"undefined"!==typeof Promise&&e instanceof Promise;var C;!function(e){e.errToObj=e=>"string"===typeof e?{message:e}:e||{},e.toString=e=>"string"===typeof e?e:null===e||void 0===e?void 0:e.message}(C||(C={}));class k{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const E=(e,t)=>{if(w(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new u(e.common.issues);return this._error=t,this._error}}};function _(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(t)return{errorMap:t,description:o};return{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:"undefined"===typeof t.data?{message:null!==r&&void 0!==r?r:t.defaultError}:{message:null!==n&&void 0!==n?n:t.defaultError},description:o}}class S{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return a(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new p,ctx:{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(x(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;const r={common:{issues:[],async:null!==(n=null===t||void 0===t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null===t||void 0===t?void 0:t.errorMap},path:(null===t||void 0===t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},o=this._parseSync({data:e,path:r.path,parent:r});return E(r,o)}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:null===t||void 0===t?void 0:t.errorMap,async:!0},path:(null===t||void 0===t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},r=this._parse({data:e,path:n.path,parent:n}),o=await(x(r)?r:Promise.resolve(r));return E(n,o)}refine(e,t){const n=e=>"string"===typeof t||"undefined"===typeof t?{message:t}:"function"===typeof t?t(e):t;return this._refinement(((t,r)=>{const o=e(t),i=()=>r.addIssue({code:s.custom,...n(t)});return"undefined"!==typeof Promise&&o instanceof Promise?o.then((e=>!!e||(i(),!1))):!!o||(i(),!1)}))}refinement(e,t){return this._refinement(((n,r)=>!!e(n)||(r.addIssue("function"===typeof t?t(n,r):t),!1)))}_refinement(e){return new le({schema:this,typeName:ve.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ce.create(this,this._def)}nullable(){return de.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return G.create(this,this._def)}promise(){return ue.create(this,this._def)}or(e){return X.create([this,e],this._def)}and(e){return Q.create(this,e,this._def)}transform(e){return new le({..._(this._def),schema:this,typeName:ve.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"===typeof e?e:()=>e;return new fe({..._(this._def),innerType:this,defaultValue:t,typeName:ve.ZodDefault})}brand(){return new ge({typeName:ve.ZodBranded,type:this,..._(this._def)})}catch(e){const t="function"===typeof e?e:()=>e;return new he({..._(this._def),innerType:this,catchValue:t,typeName:ve.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return me.create(this,e)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const j=/^c[^\s-]{8,}$/i,M=/^[a-z][a-z0-9]*$/,O=/[0-9A-HJKMNP-TV-Z]{26}/,A=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,T=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\])|(\[IPv6:(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))\])|([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\.[A-Za-z]{2,})+))$/,R=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,L=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,D=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;class P extends S{constructor(){super(...arguments),this._regex=(e,t,n)=>this.refinement((t=>e.test(t)),{validation:t,code:s.invalid_string,...C.errToObj(n)}),this.nonempty=e=>this.min(1,C.errToObj(e)),this.trim=()=>new P({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new P({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new P({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==i.string){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.string,received:t.parsedType}),g}const t=new p;let n;for(const i of this._def.checks)if("min"===i.kind)e.data.length<i.value&&(n=this._getOrReturnCtx(e,n),h(n,{code:s.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),t.dirty());else if("max"===i.kind)e.data.length>i.value&&(n=this._getOrReturnCtx(e,n),h(n,{code:s.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),t.dirty());else if("length"===i.kind){const r=e.data.length>i.value,o=e.data.length<i.value;(r||o)&&(n=this._getOrReturnCtx(e,n),r?h(n,{code:s.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):o&&h(n,{code:s.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),t.dirty())}else if("email"===i.kind)T.test(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{validation:"email",code:s.invalid_string,message:i.message}),t.dirty());else if("emoji"===i.kind)R.test(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{validation:"emoji",code:s.invalid_string,message:i.message}),t.dirty());else if("uuid"===i.kind)A.test(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{validation:"uuid",code:s.invalid_string,message:i.message}),t.dirty());else if("cuid"===i.kind)j.test(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{validation:"cuid",code:s.invalid_string,message:i.message}),t.dirty());else if("cuid2"===i.kind)M.test(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{validation:"cuid2",code:s.invalid_string,message:i.message}),t.dirty());else if("ulid"===i.kind)O.test(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{validation:"ulid",code:s.invalid_string,message:i.message}),t.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(l){n=this._getOrReturnCtx(e,n),h(n,{validation:"url",code:s.invalid_string,message:i.message}),t.dirty()}else if("regex"===i.kind){i.regex.lastIndex=0;i.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{validation:"regex",code:s.invalid_string,message:i.message}),t.dirty())}else if("trim"===i.kind)e.data=e.data.trim();else if("includes"===i.kind)e.data.includes(i.value,i.position)||(n=this._getOrReturnCtx(e,n),h(n,{code:s.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),t.dirty());else if("toLowerCase"===i.kind)e.data=e.data.toLowerCase();else if("toUpperCase"===i.kind)e.data=e.data.toUpperCase();else if("startsWith"===i.kind)e.data.startsWith(i.value)||(n=this._getOrReturnCtx(e,n),h(n,{code:s.invalid_string,validation:{startsWith:i.value},message:i.message}),t.dirty());else if("endsWith"===i.kind)e.data.endsWith(i.value)||(n=this._getOrReturnCtx(e,n),h(n,{code:s.invalid_string,validation:{endsWith:i.value},message:i.message}),t.dirty());else if("datetime"===i.kind){((u=i).precision?u.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${u.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${u.precision}}Z$`):0===u.precision?u.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):u.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$")).test(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{code:s.invalid_string,validation:"datetime",message:i.message}),t.dirty())}else"ip"===i.kind?(o=e.data,("v4"!==(a=i.version)&&a||!L.test(o))&&("v6"!==a&&a||!D.test(o))&&(n=this._getOrReturnCtx(e,n),h(n,{validation:"ip",code:s.invalid_string,message:i.message}),t.dirty())):r.assertNever(i);var o,a,u;return{status:t.value,value:e.data}}_addCheck(e){return new P({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...C.errToObj(e)})}url(e){return this._addCheck({kind:"url",...C.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...C.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...C.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...C.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...C.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...C.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...C.errToObj(e)})}datetime(e){var t;return"string"===typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:"undefined"===typeof(null===e||void 0===e?void 0:e.precision)?null:null===e||void 0===e?void 0:e.precision,offset:null!==(t=null===e||void 0===e?void 0:e.offset)&&void 0!==t&&t,...C.errToObj(null===e||void 0===e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...C.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null===t||void 0===t?void 0:t.position,...C.errToObj(null===t||void 0===t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...C.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...C.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...C.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...C.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...C.errToObj(t)})}get isDatetime(){return!!this._def.checks.find((e=>"datetime"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>"emoji"===e.kind))}
vendor: 11,296 bytes, line 1
1get isUUID(){return!!this._def.checks.find((e=>"uuid"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){return!!this._def.checks.find((e=>"ip"===e.kind))}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function I(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r;return parseInt(e.toFixed(o).replace(".",""))%parseInt(t.toFixed(o).replace(".",""))/Math.pow(10,o)}P.create=e=>{var t;return new P({checks:[],typeName:ve.ZodString,coerce:null!==(t=null===e||void 0===e?void 0:e.coerce)&&void 0!==t&&t,..._(e)})};class F extends S{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e)!==i.number){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.number,received:t.parsedType}),g}let t;const n=new p;for(const o of this._def.checks)if("int"===o.kind)r.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),h(t,{code:s.invalid_type,expected:"integer",received:"float",message:o.message}),n.dirty());else if("min"===o.kind){(o.inclusive?e.data<o.value:e.data<=o.value)&&(t=this._getOrReturnCtx(e,t),h(t,{code:s.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),n.dirty())}else if("max"===o.kind){(o.inclusive?e.data>o.value:e.data>=o.value)&&(t=this._getOrReturnCtx(e,t),h(t,{code:s.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),n.dirty())}else"multipleOf"===o.kind?0!==I(e.data,o.value)&&(t=this._getOrReturnCtx(e,t),h(t,{code:s.not_multiple_of,multipleOf:o.value,message:o.message}),n.dirty()):"finite"===o.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),h(t,{code:s.not_finite,message:o.message}),n.dirty()):r.assertNever(o);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,C.toString(t))}gt(e,t){return this.setLimit("min",e,!1,C.toString(t))}lte(e,t){return this.setLimit("max",e,!0,C.toString(t))}lt(e,t){return this.setLimit("max",e,!1,C.toString(t))}setLimit(e,t,n,r){return new F({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:C.toString(r)}]})}_addCheck(e){return new F({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:C.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:C.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:C.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:C.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:C.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:C.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:C.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:C.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:C.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find((e=>"int"===e.kind||"multipleOf"===e.kind&&r.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}F.create=e=>new F({checks:[],typeName:ve.ZodNumber,coerce:(null===e||void 0===e?void 0:e.coerce)||!1,..._(e)});class Z extends S{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){this._def.coerce&&(e.data=BigInt(e.data));if(this._getType(e)!==i.bigint){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.bigint,received:t.parsedType}),g}let t;const n=new p;for(const o of this._def.checks)if("min"===o.kind){(o.inclusive?e.data<o.value:e.data<=o.value)&&(t=this._getOrReturnCtx(e,t),h(t,{code:s.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),n.dirty())}else if("max"===o.kind){(o.inclusive?e.data>o.value:e.data>=o.value)&&(t=this._getOrReturnCtx(e,t),h(t,{code:s.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),n.dirty())}else"multipleOf"===o.kind?e.data%o.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),h(t,{code:s.not_multiple_of,multipleOf:o.value,message:o.message}),n.dirty()):r.assertNever(o);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,C.toString(t))}gt(e,t){return this.setLimit("min",e,!1,C.toString(t))}lte(e,t){return this.setLimit("max",e,!0,C.toString(t))}lt(e,t){return this.setLimit("max",e,!1,C.toString(t))}setLimit(e,t,n,r){return new Z({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:C.toString(r)}]})}_addCheck(e){return new Z({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:C.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:C.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:C.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:C.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:C.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}Z.create=e=>{var t;return new Z({checks:[],typeName:ve.ZodBigInt,coerce:null!==(t=null===e||void 0===e?void 0:e.coerce)&&void 0!==t&&t,..._(e)})};class N extends S{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(e)!==i.boolean){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.boolean,received:t.parsedType}),g}return v(e.data)}}N.create=e=>new N({typeName:ve.ZodBoolean,coerce:(null===e||void 0===e?void 0:e.coerce)||!1,..._(e)});class H extends S{_parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==i.date){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.date,received:t.parsedType}),g}if(isNaN(e.data.getTime())){return h(this._getOrReturnCtx(e),{code:s.invalid_date}),g}const t=new p;let n;for(const o of this._def.checks)"min"===o.kind?e.data.getTime()<o.value&&(n=this._getOrReturnCtx(e,n),h(n,{code:s.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),t.dirty()):"max"===o.kind?e.data.getTime()>o.value&&(n=this._getOrReturnCtx(e,n),h(n,{code:s.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),t.dirty()):r.assertNever(o);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new H({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:C.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:C.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}H.create=e=>new H({checks:[],coerce:(null===e||void 0===e?void 0:e.coerce)||!1,typeName:ve.ZodDate,..._(e)});class B extends S{_parse(e){if(this._getType(e)!==i.symbol){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.symbol,received:t.parsedType}),g}return v(e.data)}}B.create=e=>new B({typeName:ve.ZodSymbol,..._(e)});class V extends S{_parse(e){if(this._getType(e)!==i.undefined){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.undefined,received:t.parsedType}),g}return v(e.data)}}V.create=e=>new V({typeName:ve.ZodUndefined,..._(e)});class z extends S{_parse(e){if(this._getType(e)!==i.null){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.null,received:t.parsedType}),g}return v(e.data)}}z.create=e=>new z({typeName:ve.ZodNull,..._(e)});class U extends S{constructor(){super(...arguments),this._any=!0}_parse(e){return v(e.data)}}U.create=e=>new U({typeName:ve.ZodAny,..._(e)});class W extends S{constructor(){super(...arguments),this._unknown=!0}_parse(e){return v(e.data)}}W.create=e=>new W({typeName:ve.ZodUnknown,..._(e)});class $ extends S{_parse(e){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.never,received:t.parsedType}),g}}$.create=e=>new $({typeName:ve.ZodNever,..._(e)});class q extends S{_parse(e){if(this._getType(e)!==i.undefined){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.void,received:t.parsedType}),g}return v(e.data)}}q.create=e=>new q({typeName:ve.ZodVoid,..._(e)});class G extends S{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==i.array)return h(t,{code:s.invalid_type,expected:i.array,received:t.parsedType}),g;if(null!==r.exactLength){const e=t.data.length>r.exactLength.value,o=t.data.length<r.exactLength.value;(e||o)&&(h(t,{code:e?s.too_big:s.too_small,minimum:o?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(h(t,{code:s.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(h(t,{code:s.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map(((e,n)=>r.type._parseAsync(new k(t,e,t.path,n))))).then((e=>p.mergeArray(n,e)));const o=[...t.data].map(((e,n)=>r.type._parseSync(new k(t,e,t.path,n))));return p.mergeArray(n,o)}get element(){return this._def.type}min(e,t){return new G({...this._def,minLength:{value:e,message:C.toString(t)}})}max(e,t){return new G({...this._def,maxLength:{value:e,message:C.toString(t)}})}length(e,t){return new G({...this._def,exactLength:{value:e,message:C.toString(t)}})}nonempty(e){return this.min(1,e)}}function Y(e){if(e instanceof K){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ce.create(Y(r))}return new K({...e._def,shape:()=>t})}return e instanceof G?new G({...e._def,type:Y(e.element)}):e instanceof ce?ce.create(Y(e.unwrap())):e instanceof de?de.create(Y(e.unwrap())):e instanceof ee?ee.create(e.items.map((e=>Y(e)))):e}G.create=(e,t)=>
1new G({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ve.ZodArray,..._(t)});class K extends S{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=r.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==i.object){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.object,received:t.parsedType}),g}const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof $&&"strip"===this._def.unknownKeys))for(const i in n.data)o.includes(i)||a.push(i);const u=[];for(const i of o){const e=r[i],t=n.data[i];u.push({key:{status:"valid",value:i},value:e._parse(new k(n,t,n.path,i)),alwaysSet:i in n.data})}if(this._def.catchall instanceof $){const e=this._def.unknownKeys;if("passthrough"===e)for(const t of a)u.push({key:{status:"valid",value:t},value:{status:"valid",value:n.data[t]}});else if("strict"===e)a.length>0&&(h(n,{code:s.unrecognized_keys,keys:a}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of a){const r=n.data[t];u.push({key:{status:"valid",value:t},value:e._parse(new k(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then((async()=>{const e=[];for(const t of u){const n=await t.key;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e})).then((e=>p.mergeObjectSync(t,e))):p.mergeObjectSync(t,u)}get shape(){return this._def.shape()}strict(e){return C.errToObj,new K({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,o,i,a;const s=null!==(i=null===(o=(r=this._def).errorMap)||void 0===o?void 0:o.call(r,t,n).message)&&void 0!==i?i:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(a=C.errToObj(e).message)&&void 0!==a?a:s}:{message:s}}}:{}})}strip(){return new K({...this._def,unknownKeys:"strip"})}passthrough(){return new K({...this._def,unknownKeys:"passthrough"})}extend(e){return new K({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new K({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ve.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new K({...this._def,catchall:e})}pick(e){const t={};return r.objectKeys(e).forEach((n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])})),new K({...this._def,shape:()=>t})}omit(e){const t={};return r.objectKeys(this.shape).forEach((n=>{e[n]||(t[n]=this.shape[n])})),new K({...this._def,shape:()=>t})}deepPartial(){return Y(this)}partial(e){const t={};return r.objectKeys(this.shape).forEach((n=>{const r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()})),new K({...this._def,shape:()=>t})}required(e){const t={};return r.objectKeys(this.shape).forEach((n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof ce;)e=e._def.innerType;t[n]=e}})),new K({...this._def,shape:()=>t})}keyof(){return ie(r.objectKeys(this.shape))}}K.create=(e,t)=>new K({shape:()=>e,unknownKeys:"strip",catchall:$.create(),typeName:ve.ZodObject,..._(t)}),K.strictCreate=(e,t)=>new K({shape:()=>e,unknownKeys:"strict",catchall:$.create(),typeName:ve.ZodObject,..._(t)}),K.lazycreate=(e,t)=>new K({shape:e,unknownKeys:"strip",catchall:$.create(),typeName:ve.ZodObject,..._(t)});class X extends S{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map((async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}}))).then((function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;const n=e.map((e=>new u(e.ctx.common.issues)));return h(t,{code:s.invalid_union,unionErrors:n}),g}));{let e;const r=[];for(const i of n){const n={...t,common:{...t.common,issues:[]},parent:null},o=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===o.status)return o;"dirty"!==o.status||e||(e={result:o,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const o=r.map((e=>new u(e)));return h(t,{code:s.invalid_union,unionErrors:o}),g}}get options(){return this._def.options}}X.create=(e,t)=>
vendor: 4,247 bytes, line 1
1new X({options:e,typeName:ve.ZodUnion,..._(t)});function J(e,t){const n=a(e),o=a(t);if(e===t)return{valid:!0,data:e};if(n===i.object&&o===i.object){const n=r.objectKeys(t),o=r.objectKeys(e).filter((e=>-1!==n.indexOf(e))),i={...e,...t};for(const r of o){const n=J(e[r],t[r]);if(!n.valid)return{valid:!1};i[r]=n.data}return{valid:!0,data:i}}if(n===i.array&&o===i.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){const o=J(e[r],t[r]);if(!o.valid)return{valid:!1};n.push(o.data)}return{valid:!0,data:n}}return n===i.date&&o===i.date&&+e===+t?{valid:!0,data:e}:{valid:!1}}class Q extends S{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(y(e)||y(r))return g;const o=J(e.value,r.value);return o.valid?((b(e)||b(r))&&t.dirty(),{status:t.value,value:o.data}):(h(n,{code:s.invalid_intersection_types}),g)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then((([e,t])=>r(e,t))):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}Q.create=(e,t,n)=>new Q({left:e,right:t,typeName:ve.ZodIntersection,..._(n)});class ee extends S{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.array)return h(n,{code:s.invalid_type,expected:i.array,received:n.parsedType}),g;if(n.data.length<this._def.items.length)return h(n,{code:s.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),g;!this._def.rest&&n.data.length>this._def.items.length&&(h(n,{code:s.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...n.data].map(((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new k(n,e,n.path,t)):null})).filter((e=>!!e));return n.common.async?Promise.all(r).then((e=>p.mergeArray(t,e))):p.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new ee({...this._def,rest:e})}}ee.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ee({items:e,typeName:ve.ZodTuple,rest:null,..._(t)})};class te extends S{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.map)return h(n,{code:s.invalid_type,expected:i.map,received:n.parsedType}),g;const r=this._def.keyType,o=this._def.valueType,a=[...n.data.entries()].map((([e,t],i)=>({key:r._parse(new k(n,e,n.path,[i,"key"])),value:o._parse(new k(n,t,n.path,[i,"value"]))})));if(n.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const n of a){const r=await n.key,o=await n.value;if("aborted"===r.status||"aborted"===o.status)return g;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}))}{const e=new Map;for(const n of a){const r=n.key,o=n.value;if("aborted"===r.status||"aborted"===o.status)return g;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}}}te.create=(e,t,n)=>new te({valueType:t,keyType:e,typeName:ve.ZodMap,..._(n)});class ne extends S{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.set)return h(n,{code:s.invalid_type,expected:i.set,received:n.parsedType}),g;const r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(h(n,{code:s.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(h(n,{code:s.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());const o=this._def.valueType;function a(e){const n=new Set;for(const r of e){if("aborted"===r.status)return g;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}const u=[...n.data.values()].map(((e,t)=>o._parse(new k(n,e,n.path,t))));return n.common.async?Promise.all(u).then((e=>a(e))):a(u)}min(e,t){return new ne({...this._def,minSize:{value:e,message:C.toString(t)}})}max(e,t){return new ne({...this._def,maxSize:{value:e,message:C.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ne.create=(e,t)=>
1new ne({valueType:e,minSize:null,maxSize:null,typeName:ve.ZodSet,..._(t)});class re extends S{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}re.create=(e,t)=>new re({getter:e,typeName:ve.ZodLazy,..._(t)});class oe extends S{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return h(t,{received:t.data,code:s.invalid_literal,expected:this._def.value}),g}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ie(e,t){return new ae({values:e,typeName:ve.ZodEnum,..._(t)})}oe.create=(e,t)=>new oe({value:e,typeName:ve.ZodLiteral,..._(t)});class ae extends S{_parse(e){if("string"!==typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{expected:r.joinValues(n),received:t.parsedType,code:s.invalid_type}),g}if(-1===this._def.values.indexOf(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{received:t.data,code:s.invalid_enum_value,options:n}),g}return v(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e){return ae.create(e)}exclude(e){return ae.create(this.options.filter((t=>!e.includes(t))))}}ae.create=ie;class se extends S{_parse(e){const t=r.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==i.string&&n.parsedType!==i.number){const e=r.objectValues(t);return h(n,{expected:r.joinValues(e),received:n.parsedType,code:s.invalid_type}),g}if(-1===t.indexOf(e.data)){const e=r.objectValues(t);return h(n,{received:n.data,code:s.invalid_enum_value,options:e}),g}return v(e.data)}get enum(){return this._def.values}}se.create=(e,t)=>new se({values:e,typeName:ve.ZodNativeEnum,..._(t)});class ue extends S{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.promise&&!1===t.common.async)return h(t,{code:s.invalid_type,expected:i.promise,received:t.parsedType}),g;const n=t.parsedType===i.promise?t.data:Promise.resolve(t.data);return v(n.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}ue.create=(e,t)=>new ue({type:e,typeName:ve.ZodPromise,..._(t)});class le extends S{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ve.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),o=this._def.effect||null;if("preprocess"===o.type){const e=o.transform(n.data);return n.common.async?Promise.resolve(e).then((e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n}))):this._def.schema._parseSync({data:e,path:n.path,parent:n})}const i={addIssue:e=>{h(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"refinement"===o.type){const e=e=>{const t=o.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?g:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((n=>"aborted"===n.status?g:("dirty"===n.status&&t.dirty(),e(n.value).then((()=>({status:t.value,value:n.value}))))))}if("transform"===o.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!w(e))return e;const r=o.transform(e.value,i);if(r instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:r}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((e=>w(e)?Promise.resolve(o.transform(e.value,i)).then((e=>({status:t.value,value:e}))):e))}r.assertNever(o)}}
1le.create=(e,t,n)=>new le({schema:e,typeName:ve.ZodEffects,effect:t,..._(n)}),le.createWithPreprocess=(e,t,n)=>new le({schema:t,effect:{type:"preprocess",transform:e},typeName:ve.ZodEffects,..._(n)});class ce extends S{_parse(e){return this._getType(e)===i.undefined?v(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ce.create=(e,t)=>new ce({innerType:e,typeName:ve.ZodOptional,..._(t)});class de extends S{_parse(e){return this._getType(e)===i.null?v(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}de.create=(e,t)=>new de({innerType:e,typeName:ve.ZodNullable,..._(t)});class fe extends S{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===i.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}fe.create=(e,t)=>new fe({innerType:e,typeName:ve.ZodDefault,defaultValue:"function"===typeof t.default?t.default:()=>t.default,..._(t)});class he extends S{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return x(r)?r.then((e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new u(n.common.issues)},input:n.data})}))):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new u(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}he.create=(e,t)=>new he({innerType:e,typeName:ve.ZodCatch,catchValue:"function"===typeof t.catch?t.catch:()=>t.catch,..._(t)});class pe extends S{_parse(e){if(this._getType(e)!==i.nan){const t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:i.nan,received:t.parsedType}),g}return{status:"valid",value:e.data}}}pe.create=e=>new pe({typeName:ve.ZodNaN,..._(e)});Symbol("zod_brand");class ge extends S{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class me extends S{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async){return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),m(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})()}{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new me({in:e,out:t,typeName:ve.ZodPipeline})}}K.lazycreate;var ve;!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline"}(ve||(ve={}));const ye=P.create,be=(F.create,pe.create,Z.create,N.create,H.create,B.create,V.create,z.create,U.create,W.create,$.create,q.create,G.create),we=K.create;K.strictCreate,X.create,Q.create,ee.create,te.create,ne.create,re.create,oe.create,ae.create,se.create,ue.create,le.create,ce.create,de.create,le.createWithPreprocess,me.create},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
1imes":"\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":"\ufffd","128":"\u20ac","130":"\u201a","131":"\u0192","132":"\u201e","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02c6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017d","145":"\u2018","146":"\u2019","147":"\u201c","148":"\u201d","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02dc","153":"\u2122","154":"\u0161","155":"\u203a","156":"\u0153","158":"\u017e","159":"\u0178"}')}}]);
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.